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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x59d244
sub esp, 0x88
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x59cb8e
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
jmp 0x59cc1f
mov ecx, dword [esp + 0x94]
cmp byte [ecx], 0x2f
je 0x59cc1f
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
lea edx, [0x6d2517]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004794f0
mov eax, dword [esp + 0x10]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x90]
cmp edx, ecx
jb 0x59d23e
lea eax, [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
call fcn.0044eb50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, ecx
mov ecx, edx
test eax, eax
je 0x59ccd6
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
lea edx, [esp + 0x78]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x80]
inc ebx
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x84]
cmp esi, ebx
jae 0x59ccba
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x34], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x698da0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x78]
mov dword [esp + 0x80], ebx
mov byte [ebx + ebp - 1], 0x2f
mov ebx, 1
mov ebp, 1
xor esi, esi
xor edi, edi
jmp 0x59cd01
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
mov edi, ebp
mov ebp, esi
mov esi, ebx
mov ebx, eax
mov eax, edx
lea edx, [esp + 0x78]
test bl, bl
je 0x59cf2f
xchg ebp, eax
mov byte [esp + 0x27], al
xchg ebp, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x6d2517]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.0047be00
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
cmp ebx, 1
jne 0x59cd51
cmp byte [ebp], 0x2e
jne 0x59cd51
xor esi, esi
jmp 0x59ccf3
mov byte [esp + 0x26], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], edx
cmp ebx, 2
jne 0x59cdb7
cmp word [ebp], 0x2e2e
jne 0x59cdb7
mov esi, dword [esp + 0x7c]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ebx, dword [esp + 0x80]
cmp ebx, esi
ja 0x59d230
cmp ebx, 1
jb 0x59d224
lea esi, [ebx - 1]
mov dword [esp + 0x2c], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, edi
add ebx, 0xfffffffe
mov edi, dword [esp + 0x2c]
jmp 0x59d053
movzx esi, byte [esp + 0x27]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x59ce5e
nop
nop
mov esi, dword [esp + 0x78]
test esi, esi
je 0x59cddd
lea edi, [esp + 0x78]
cmp esi, edi
je 0x59cde9
jmp 0x59d036
lea esi, [esp + 0x78]
mov dword [esp + 0x78], esi
lea edi, [esp + 0x78]
mov esi, dword [esp + 0x80]
inc esi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
cmp ecx, esi
jae 0x59ce49
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x698da0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
lea edi, [esp + 0x78]
mov dword [esp + 0x80], esi
mov byte [esi + eax - 1], 0x2f
movzx eax, byte [esp + 0x26]
mov ecx, dword [esp + 0x68]
nop
nop
mov esi, dword [esp + 0x78]
test esi, esi
je 0x59ce75
lea edi, [esp + 0x78]
cmp esi, edi
je 0x59ce81
jmp 0x59d01e
lea esi, [esp + 0x78]
mov dword [esp + 0x78], esi
lea edi, [esp + 0x78]
mov esi, dword [esp + 0x80]
lea edi, [ebx + esi]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
cmp eax, edi
jae 0x59ced4
mov dword [esp + 0x40], esi
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea eax, [0x698da0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x40], edi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x3c], eax
lea edx, [esi + ecx]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00464c70
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
xor eax, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x70]
mov esi, eax
movzx eax, byte [esp + 0x26]
jmp 0x59ccf3
cmp esi, 1
jne 0x59cf39
cmp byte [edi], 0x2e
je 0x59cf45
cmp esi, 2
jne 0x59cfb8
cmp word [edi], 0x2e2e
jne 0x59cfb8
nop
nop
mov eax, dword [esp + 0x78]
test eax, eax
je 0x59cf58
cmp eax, edx
je 0x59cf5c
jmp 0x59d006
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x80]
inc eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
cmp edx, eax
jae 0x59cfac
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x698da0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov byte [eax + ecx - 1], 0x2f
nop
mov eax, dword [esp + 0x7c]
mov ecx, eax
neg eax
mov edx, dword [esp + 0x80]
cmp edx, eax
ja 0x59cff8
cmp edx, 1
jle 0x59cfe1
cmp byte [ecx + 1], 0x2f
jne 0x59cfdd
lea eax, [ecx + 1]
dec edx
jmp 0x59cfe3
mov eax, ecx
jmp 0x59cfe3
mov eax, ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x88
ret
test ecx, ecx
je 0x59d001
call fcn.0045cd50
call fcn.0045cd90
lea eax, [0x698ba0]
mov dword [esp], eax
lea eax, [0x73b6a0]
mov dword [esp + 4], eax
call fcn.00436320
lea eax, [0x698ba0]
mov dword [esp], eax
lea eax, [0x73b6a0]
mov dword [esp + 4], eax
call fcn.00436320
lea eax, [0x698ba0]
mov dword [esp], eax
lea eax, [0x73b6a0]
mov dword [esp + 4], eax
call fcn.00436320
dec ebx
mov ebp, dword [esp + 0x70]
test ebx, ebx
jl 0x59d06e
cmp ebx, edi
jae 0x59d21b
lea ebp, [ebx + esi]
cmp byte [ebp], 0x2f
jne 0x59d04e
mov ebp, dword [esp + 0x70]
jmp 0x59d073
mov ebx, 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esp + 0x28], ebx
nop
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
nop
lea esi, [esp + 0x78]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x80]
inc esi
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
cmp eax, esi
jae 0x59d10c
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x698da0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], edi
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x80], esi
mov byte [esi + edi - 1], 0x2f
cmp ebx, 0xffffffff
jne 0x59d127
mov eax, 1
jmp 0x59cf13
mov eax, dword [esp + 0x2c]
cmp ebx, eax
ja 0x59d212
nop
mov eax, dword [esp + 0x78]
test eax, eax
je 0x59d149
lea esi, [esp + 0x78]
cmp eax, esi
je 0x59d155
jmp 0x59d1fa
lea eax, [esp + 0x78]
mov dword [esp + 0x78], eax
lea esi, [esp + 0x78]
mov eax, dword [esp + 0x80]
lea edi, [ebx + eax]
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
cmp esi, edi
jae 0x59d1a4
mov dword [esp + 0x40], eax
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
lea eax, [0x698da0]
mov dword [esp + 0x10], eax
call fcn.0044b130
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x74], ecx
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00464c70
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x70]
movzx eax, byte [esp + 0x27]
jmp 0x59cf13
lea eax, [0x698ba0]
mov dword [esp], eax
lea eax, [0x73b6a0]
mov dword [esp + 4], eax
call fcn.00436320
mov ecx, ebx
mov edx, eax
call fcn.00464380
mov eax, ebx
mov ecx, edi
call fcn.00464360
mov eax, 1
xor ecx, ecx
call fcn.004643c0
test edi, edi
je 0x59d239
call fcn.0045cd50
call fcn.0045cd90
call fcn.00464380
nop
call fcn.00462ed0
jmp fcn.0059cb50