Function at 0x58ee10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6248d9
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x204], eax
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov edi, dword [esp + 0x22c]
mov eax, dword [esp + 0x234]
mov esi, dword [esp + 0x228]
mov ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
call fcn.00550a30
cmp eax, 3
jne 0x58ef32
mov ecx, dword [edi + 0x10]
test byte [ecx + 2], 1
je 0x58ef32
lea ecx, [esp + 0x54]
call fcn.00517e90
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x224], 0
call fcn.00580b30
test eax, eax
je 0x58ef1d
mov ax, word [esp + 0x74]
test al, 2
jne 0x58eebc
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x58ef1d
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0051c7b0
push eax
lea ecx, [esp + 0x34]
call fcn.005165c0
lea edx, [esp + 0x2c]
push edx
push esi
mov byte [esp + 0x228], 1
call fcn.00589cf0
add esp, 8
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x220], 0
call fcn.005166b0
lea ecx, [esp + 0x54]
mov dword [esp + 0x220], 0xffffffff
call fcn.00518980
mov eax, esi
jmp 0x58f28d
or ebp, 0xffffffff
lea ecx, [esp + 0x54]
mov dword [esp + 0x220], ebp
call fcn.00518980
jmp 0x58ef35
or ebp, 0xffffffff
mov ecx, esi
call fcn.00550a30
cmp eax, 3
jne 0x58f000
mov eax, dword [esi + 0x10]
test byte [eax + 2], 1
je 0x58f000
lea ecx, [esp + 0x78]
call fcn.00517e90
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x224], 2
call fcn.00580b30
test eax, eax
je 0x58eff0
mov ax, word [esp + 0x98]
test al, 2
jne 0x58ef8d
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x58eff0
mov eax, dword [esp + 0x94]
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x80]
call fcn.0051c7b0
push eax
lea ecx, [esp + 0x44]
call fcn.005165c0
lea edx, [esp + 0x3c]
push edi
push edx
mov byte [esp + 0x228], 3
call fcn.00588290
add esp, 8
lea ecx, [esp + 0x3c]
mov esi, eax
mov byte [esp + 0x220], 2
call fcn.005166b0
lea ecx, [esp + 0x78]
mov dword [esp + 0x220], ebp
call fcn.00518980
mov eax, esi
jmp 0x58f28d
lea ecx, [esp + 0x78]
mov dword [esp + 0x220], ebp
call fcn.00518980
push esi
lea ecx, [esp + 0xa0]
call fcn.0056df50
lea ecx, [esp + 0x10]
mov dword [esp + 0x220], 4
call fcn.00513f30
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x220], 5
cmp eax, dword [esp + 0xac]
ja 0x58f138
lea ecx, [ecx]
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 6
mov eax, dword [esp + 0xbc]
jne 0x58f0bf
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 4]
jne 0x58f06e
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 8]
je 0x58f118
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0052b100
add esp, 8
test eax, eax
je 0x58f118
push 0x14
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x220], 6
test eax, eax
je 0x58f0b6
mov ecx, dword [esp + 0xbc]
push ecx
mov ecx, eax
call fcn.0051d290
mov edx, dword [esp + 0x10]
mov esi, eax
push edx
jmp 0x58f105
mov edx, dword [esp + 0x10]
xor esi, esi
push edx
jmp 0x58f105
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.0052af80
add esp, 8
test eax, eax
je 0x58f118
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x220], 7
test eax, eax
je 0x58f0fe
mov edx, dword [esp + 0xbc]
push edx
mov ecx, eax
call fcn.0051afc0
mov esi, eax
jmp 0x58f100
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x224], 5
call fcn.005ee1f0
mov dword [eax], esi
lea ecx, [esp + 0x9c]
call fcn.0056dbf0
mov ecx, dword [esp + 0xa8]
cmp ecx, dword [esp + 0xac]
jbe 0x58f040
cmp dword [esp + 0x10], 0
je 0x58f264
push edi
lea ecx, [esp + 0x15c]
call fcn.0056df50
mov edx, dword [esp + 0x164]
mov byte [esp + 0x220], 8
cmp edx, dword [esp + 0x168]
ja 0x58f247
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jle 0x58f224
mov ecx, dword [esp + 0x178]
nop
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
mov ecx, dword [esp + 0x178]
cmp eax, 6
jne 0x58f1a3
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
jne 0x58f1a3
mov edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 8]
je 0x58f1f5
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov esi, dword [eax + ebp*4]
mov eax, dword [edx + 0x5c]
mov edi, ecx
call eax
mov edx, dword [esi]
cmp eax, 6
mov eax, dword [edx + 0x5c]
mov ecx, esi
jne 0x58f1cf
call eax
push esi
push edi
cmp eax, 6
jne 0x58f1d8
call fcn.0058cc20
jmp 0x58f1e6
call eax
cmp eax, 6
jne 0x58f1df
push edi
push esi
call fcn.00589380
jmp 0x58f1e6
push esi
push edi
call fcn.00589510
add esp, 8
cmp eax, 1
jne 0x58f1fe
mov ecx, dword [esp + 0x178]
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x58f180
jmp 0x58f224
cmp eax, 2
jne 0x58f2b4
mov ecx, dword [esp + 0x178]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.0058ead0
add esp, 8
test eax, eax
je 0x58f2b4
lea ecx, [esp + 0x158]
call fcn.0056dbf0
mov eax, dword [esp + 0x164]
cmp eax, dword [esp + 0x168]
jbe 0x58f16c
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00513f80
lea ecx, [esp + 0x158]
mov byte [esp + 0x220], 5
call fcn.0056db30
lea ecx, [esp + 0x10]
mov byte [esp + 0x220], 4
call fcn.0048f310
lea ecx, [esp + 0x9c]
mov dword [esp + 0x220], ebp
call fcn.0056db30
mov eax, 1
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.005f617e
add esp, 0x214
ret
lea ecx, [esp + 0x10]
call fcn.00513f80
lea ecx, [esp + 0x158]
mov byte [esp + 0x220], 5
call fcn.0056db30
lea ecx, [esp + 0x10]
mov byte [esp + 0x220], 4
call fcn.0048f310
lea ecx, [esp + 0x9c]
mov dword [esp + 0x220], 0xffffffff
call fcn.0056db30
xor eax, eax
jmp 0x58f28d