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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x59e8e6
sub esp, 0xbc
lea eax, [0x7b2320]
mov dword [esp], eax
call fcn.0040b5d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xc4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [edi + 8], eax
mov eax, dword [0xa976a0]
test eax, eax
jne 0x59e8d5
mov ecx, dword [esp + 0xc0]
mov dword [edi], ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 2
mov ecx, dword [0xa976a0]
lea eax, [edi + 0x18]
test ecx, ecx
jne 0x59e8c2
mov dword [edi + 0xc], eax
mov dword [esp + 0x4c], edi
lea ecx, [esp + 4]
mov dword [esp + 0x54], ecx
xor eax, eax
xor edx, edx
lea ebx, [0xa97428]
jmp 0x59e6ff
mov edi, dword [esp + 0x4c]
mov ebx, edx
mov edx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0045c676
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call fcn.004475a0
lea edi, [esp + 0x94]
mov esi, dword [esp + 0x54]
call fcn.0045cb2c
movzx ecx, byte [esp + 0x2c]
mov byte [esp + 0x33], cl
lea edi, [esp + 0x6c]
lea esi, [esp + 0x94]
call fcn.0045cb2c
movzx ecx, byte [esp + 0x33]
test cl, cl
je 0x59e89a
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0059e8f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
cmp dword [esp + 0xc], 7
jne 0x59e7ba
cmp dword [edx], 0x746e7572
jne 0x59e7ba
cmp word [edx + 4], 0x6d69
jne 0x59e7ba
cmp byte [edx + 6], 0x65
jne 0x59e7ba
cmp ecx, 5
jne 0x59e7ba
cmp dword [eax], 0x696e6170
jne 0x59e7ba
cmp byte [eax + 4], 0x63
jne 0x59e7ba
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, dword [esp + 0x48]
jmp 0x59e6f7
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x58]
mov edx, eax
xor eax, eax
call fcn.0045c67b
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x3c]
cmp ebx, edx
jb 0x59e860
mov eax, dword [esp + 0x48]
mov ebp, dword [0xa976a0]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x59e82c
lea esi, [esp + 0x58]
call fcn.0045cb5e
mov ecx, edx
mov edx, eax
mov eax, ebx
jmp 0x59e6f7
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebx
lea eax, [0x7b9e00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.00410e20
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
jmp 0x59e821
lea eax, [0x7b9e00]
mov dword [esp], eax
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00443250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x38]
jmp 0x59e808
mov eax, dword [esp + 0x48]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd4], eax
add esp, 0xbc
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.0045c3e0
mov edi, edx
jmp 0x59e6df
mov eax, dword [esp + 0xc0]
call fcn.0045c3e0
jmp 0x59e6bd
call fcn.0045ae90
jmp fcn.0059e660