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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59d249
sub esp, 0x60
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00550660
movzx eax, byte [esp + 0xc]
test al, al
je 0x59cf25
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x59cf9e
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x6d17d7]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7395a8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov ecx, edx
mov edx, ebp
mov ebp, eax
mov eax, ebx
mov ebx, edi
mov edi, dword [esp + 0x68]
test edi, edi
je 0x59d195
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x64]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.0054fe70
movzx eax, byte [esp + 8]
test al, al
je 0x59d126
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [0x8bb444]
mov ebp, dword [0x8bb440]
test ebx, ebx
je 0x59d01e
mov dword [esp + 0x3c], ebx
xor eax, eax
jmp 0x59d1d2
xor eax, eax
xor ecx, ecx
test al, al
je 0x59d091
mov eax, dword [esp + 0x2c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jb 0x59d03b
mov ebp, dword [esp + 0x4c]
jmp 0x59d07c
mov dword [esp + 0x34], ecx
lea ecx, [0x68ccc0]
mov dword [esp], ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044b870
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebp, edx
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [ebp + eax*4], ecx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
jmp 0x59cf94
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jb 0x59d0a6
mov esi, dword [esp + 0x48]
jmp 0x59d0dd
lea eax, [0x69c800]
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.0044b870
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x20]
mov ebx, ebp
lea ecx, [ecx + ecx*2]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov edi, edx
mov edx, dword [esp + 0x5c]
mov dword [esi + ecx*4 + 4], ebp
mov dword [esi + ecx*4 + 8], edx
mov edx, dword [0x8e84e0]
lea ebp, [esi + ecx*4]
test edx, edx
jne 0x59d108
mov dword [esi + ecx*4], eax
jmp 0x59d113
mov ecx, edi
mov edi, ebp
call fcn.00463080
mov edi, ecx
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
mov eax, ebx
mov ebx, dword [esp + 0x30]
jmp 0x59cf94
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x6d17d7]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7395a8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
add ebp, 0x10
mov eax, esi
mov esi, dword [ebp + 4]
mov edi, esi
mov esi, dword [ebp]
nop
cmp dword [ebp + 8], ecx
jne 0x59d200
mov dword [esp + 0x50], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
jmp 0x59d21f
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
lea esi, [eax + 1]
cmp ebx, esi
jg 0x59d1cd
jmp 0x59d01e
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
cmp ebp, ecx
jge 0x59d235
jae 0x59d241
mov esi, dword [edx + ebp*4]
lea ebx, [edi + ebp*4]
cmp dword [ebx], esi
je 0x59d20c
jmp 0x59d1f8
mov eax, 1
mov ecx, esi
jmp 0x59d022
mov eax, ebp
call fcn.00463100
nop
call fcn.00461c70
jmp fcn.0059cee0