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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59e0da
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x254]
lea edx, [0x5e6260]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xb
call fcn.0040ddd0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x5f8800]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
xor ebp, ebp
xor esi, esi
jmp 0x59ddc7
mov edi, dword [esp + 0x34]
lea ebp, [edi + 1]
lea edi, [edx + ecx + 2]
lea esi, [edx + ebx + 2]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov ebx, edi
cmp ebp, edx
jge 0x59e085
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], esi
lea edi, [ebx + 1]
cmp dword [ecx + 0x2ac], edi
jae 0x59de0d
mov dword [esp + 0x40], edi
mov esi, dword [0x7bb130]
mov edi, dword [0x7bb134]
cmp ebp, edx
mov dword [esp + 0x38], esi
mov ebp, 0
mov dword [esp + 0x58], edi
mov esi, ebx
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
jmp 0x59de5c
mov esi, dword [ecx + 0x290]
mov ebp, dword [ecx + 0x288]
cmp esi, edi
jb 0x59e0d0
cmp ebx, edi
ja 0x59e0c7
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
movzx ebp, byte [esi + ebp]
mov esi, ebx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
mov dword [esp + 0x50], eax
mov eax, 0
mov dword [esp + 0x38], eax
mov eax, 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
jae 0x59e0be
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x3c], ebx
lea ebx, [eax + ebx*4]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x59e05e
mov dword [esp + 0x40], esi
lea ebx, [esi + 2]
cmp dword [ecx + 0x2ac], ebx
jae 0x59dea7
mov ebp, dword [0x7bb130]
mov edi, dword [0x7bb134]
mov dword [esp + 0x48], eax
xor eax, eax
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x48]
jmp 0x59dee7
mov ebp, dword [ecx + 0x290]
mov esi, dword [ecx + 0x288]
cmp ebp, ebx
jb 0x59e0b5
cmp ebx, edi
jb 0x59e0ac
mov edx, dword [esp + 0x40]
sub ebp, edx
lea edx, [ebp - 1]
neg edx
sar edx, 0x1f
and edi, edx
movzx edx, byte [edi + esi]
mov esi, dword [esp + 0x40]
xor ebp, ebp
mov byte [esp + 0x2b], dl
xor edi, edi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x3c]
lea edi, [eax + esi*4 + 1]
movzx edx, byte [esp + 0x2b]
mov byte [edi], dl
test ebp, ebp
jne 0x59e032
movzx edx, byte [0x7b6630]
mov ebp, dword [0x7b6634]
mov edi, dword [0x7b6638]
mov eax, dword [0x7b663c]
mov dword [esp], ecx
mov byte [esp + 4], dl
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x5c]
lea edx, [eax + esi*4 + 4]
mov dword [esp + 0x18], edx
call fcn.0059c000
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x59e004
mov dword [esp + 0x30], eax
movzx ecx, byte [0x7b65d0]
mov edx, dword [0x7b65d4]
mov ebx, dword [0x7b65d8]
mov ebp, dword [0x7b65dc]
mov esi, dword [esp + 0x64]
mov dword [esp], esi
mov byte [esp + 4], cl
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
lea edx, [ebx + edx*4 + 8]
mov dword [esp + 0x18], edx
call fcn.0059c000
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
add ecx, eax
mov edx, dword [esp + 0x2c]
lea ebx, [edx + eax]
lea eax, [edx + eax + 2]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
je 0x59ddaa
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
add esp, 0x60
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
add eax, 2
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov eax, edi
mov ecx, ebx
call fcn.004611c0
mov ecx, ebx
mov edx, ebp
call fcn.004611a0
mov eax, ebx
mov ecx, edx
call fcn.00461150
mov eax, ebx
mov ecx, edi
call fcn.004611c0
mov ecx, edi
mov edx, esi
call fcn.004611a0
nop
call fcn.0045fcc0
jmp fcn.0059dd30