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

Disassembly:
mov eax, 0x140
call fcn.005fffa0
push ebx
push esi
mov esi, dword [esp + 0x14c]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x59f791
mov edi, dword [esi + 0x1bc]
cmp edi, ebx
jne 0x59f434
cmp dword [esi + 0x1c0], ebx
je 0x59f791
push 0x78
lea eax, [esp + 0x18]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
cmp edi, ebx
jne 0x59f45e
mov eax, dword [esi + 0x1c0]
jmp 0x59f461
mov eax, dword [edi + 0xc]
mov edx, eax
sar edx, 8
mov byte [esp + 0x11], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x10], dl
mov dword [esp + 0x114], eax
mov dword [esp + 0x10c], 2
mov dword [esp + 0x118], ebx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x1b8], ebx
je 0x59f4d0
mov dl, byte [esi + 0x1b8]
lea eax, [esp + 0xf]
lea ecx, [esp + 0x13c]
mov byte [esp + 0xf], dl
mov dword [esp + 0x144], eax
mov dword [esp + 0x13c], 1
mov dword [esp + 0x148], ebx
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x148]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x16c]
lea edx, [esi + 0x48]
mov dword [esp + 0xb4], edx
lea edx, [esi + 0x14c]
mov dword [esp + 0x134], edx
mov dword [esp + 0xcc], eax
mov eax, dword [esi + 0x1b4]
lea edx, [esi + 0x170]
mov dword [esp + 0xd4], edx
cdq
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1b0]
mov dword [esp + 0x38], edx
cdq
lea ecx, [esp + 0xac]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x1a8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x1d0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x19c]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
cmp edx, ebx
je 0x59f5bb
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x59f590
sub eax, edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x50], ecx
jmp 0x59f5bf
mov dword [esp + 0x50], ebx
mov eax, dword [esi + 0x1d4]
cmp eax, ebx
je 0x59f5ef
mov edx, dword [esi + 0x1d8]
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1dc]
cmp eax, ebx
jbe 0x59f601
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov edx, dword [esi + 0x190]
mov ecx, dword [esi + 0x1e0]
mov dword [esp + 0x5c], ecx
cmp edx, ebx
je 0x59f64b
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x59f620
mov dword [esp + 0xa4], edx
sub eax, edi
lea edx, [esp + 0x9c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x64], edx
jmp 0x59f64f
mov dword [esp + 0x64], ebx
mov edx, dword [esi + 0x194]
cmp edx, ebx
je 0x59f68b
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x59f660
sub eax, edi
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x68], eax
jmp 0x59f68f
mov dword [esp + 0x68], ebx
mov edx, dword [esi + 0x1f4]
cmp edx, ebx
je 0x59f6cb
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x59f6a0
sub eax, edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x6c], ecx
jmp 0x59f6cf
mov dword [esp + 0x6c], ebx
mov eax, dword [esi + 0x1e4]
mov edx, dword [esi + 0x200]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
cmp eax, ebx
jne 0x59f6fa
mov dword [esp + 0x80], ebx
jmp 0x59f723
mov ecx, dword [esi + 0x1ec]
lea edx, [esp + 0xfc]
mov dword [esp + 0x104], eax
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x80], edx
movzx eax, byte [esi + 0x1f0]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x1f8]
cmp eax, ebx
jne 0x59f744
mov dword [esp + 0x88], ebx
jmp 0x59f76d
mov ecx, dword [esi + 0x1fc]
lea edx, [esp + 0x11c]
mov dword [esp + 0x124], eax
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x154]
push 0x67ec48
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00496cc0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x140
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x140
ret