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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x59bf32
sub esp, 0xc0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.005bb700
mov eax, dword [esp + 4]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x59baa7
inc edx
cmp edx, ecx
jge 0x59bd91
mov ebx, dword [eax + edx*4]
mov ebp, dword [ebx]
test byte [ebx], al
mov esi, dword [ebp + 0x68]
test esi, esi
je 0x59baa6
mov dword [esp + 0x38], edx
mov dword [esp + 0x8c], ebx
mov dword [esp], ebp
lea eax, [0x61b462]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
call fcn.005b46b0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
je 0x59bbdb
cmp edx, 1
jne 0x59bb26
movzx ecx, byte [eax]
cmp cl, 0x46
jg 0x59bb15
cmp byte [eax], 0x30
je 0x59bb7b
cmp byte [eax], 0x31
je 0x59bb43
cmp cl, 0x46
je 0x59bb7b
jmp 0x59bb81
cmp byte [eax], 0x54
je 0x59bb43
cmp byte [eax], 0x66
je 0x59bb7b
cmp byte [eax], 0x74
je 0x59bb43
jmp 0x59bb81
cmp edx, 4
jne 0x59bb4c
cmp dword [eax], 0x45555254
je 0x59bb43
cmp dword [eax], 0x65757254
je 0x59bb43
cmp dword [eax], 0x65757274
jne 0x59bb81
xor eax, eax
mov ecx, 1
jmp 0x59bbbb
cmp edx, 5
jne 0x59bb81
cmp dword [eax], 0x534c4146
jne 0x59bb5f
cmp byte [eax + 4], 0x45
je 0x59bb7b
cmp dword [eax], 0x736c6146
jne 0x59bb6d
cmp byte [eax + 4], 0x65
je 0x59bb7b
cmp dword [eax], 0x736c6166
jne 0x59bb81
cmp byte [eax + 4], 0x65
jne 0x59bb81
xor eax, eax
xor ecx, ecx
jmp 0x59bbbb
nop
nop
lea ecx, [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0044f100
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
lea eax, [0x66e81c]
xor ecx, ecx
test eax, eax
jne 0x59bd49
test cl, cl
jne 0x59bbdb
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x59baa6
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx]
mov dword [esp + 0x84], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x80], ebp
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x20], ecx
mov eax, edx
mov edx, dword [ebx + 0x74]
mov esi, ebx
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x34], ebx
xor edi, edi
xor edi, edi
mov dword [esp + 0x28], edi
xor edi, edi
mov dword [esp + 0x88], edi
xor edi, edi
mov dword [esp + 0x24], edi
xor edi, edi
jmp 0x59bdd4
lea edi, [esp + 0xac]
mov edx, eax
xor eax, eax
call fcn.004645cb
mov dword [esp + 0xac], ebp
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x24]
inc ecx
mov ebx, dword [esp + 0x28]
cmp ebx, ecx
jb 0x59bc69
mov eax, dword [esp + 0x88]
jmp 0x59bcae
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5fcfa0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x84]
mov ebx, edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x24], ecx
lea ebp, [ecx + ecx*4]
lea edi, [eax + ebp*4 - 0x14]
mov ebp, dword [0x7f8db0]
test ebp, ebp
jne 0x59bcd3
mov ebp, esi
lea esi, [esp + 0xac]
call fcn.00464aae
jmp 0x59bd14
mov dword [esp + 0x88], eax
mov dword [esp + 0x28], ebx
lea eax, [0x5fcfa0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
call fcn.004116d0
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x78], ecx
mov dword [ebp + 0x7c], ebx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x59bd2d
mov dword [ebp + 0x74], eax
jmp 0x59bd35
lea edi, [ebp + 0x74]
call fcn.00464380
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x59baa6
lea eax, [0x5f96c0]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x621404]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc4]
mov ecx, dword [ecx + 0x20]
mov dword [esp], ecx
lea ecx, [0x66e664]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b3720
add esp, 0xc0
ret
add esp, 0xc0
ret
mov ebx, dword [esp + 0x90]
add ebx, 0x14
mov esi, dword [esp + 0x30]
lea edi, [esi + 1]
mov esi, dword [esp + 0x34]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x80]
mov edx, ebx
mov ebx, dword [esp + 0x34]
cmp edi, ebx
jge 0x59bc31
mov dword [esp + 0x30], edi
mov dword [esp + 0x90], edx
lea edi, [esp + 0x98]
mov esi, edx
call fcn.00464aae
mov ecx, dword [esp + 0x9c]
mov esi, ebp
mov ebp, dword [esp + 0x98]
mov edi, ebp
mov ebp, dword [esp + 0x20]
cmp ecx, ebp
jne 0x59be60
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.00402f60
movzx eax, byte [esp + 0xc]
test al, al
je 0x59be43
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x88]
jmp 0x59bd98
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
inc ecx
mov edi, ebp
mov ebp, dword [esp + 0x28]
cmp ebp, ecx
jae 0x59beca
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5fcfa0]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov ebp, edx
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x24], ecx
lea ebx, [ecx + ecx*4]
mov edx, dword [esp + 0x88]
lea ebx, [edx + ebx*4 - 0x14]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x59bef6
mov edi, ebx
lea esi, [esp + 0x98]
call fcn.00464aae
jmp 0x59bf29
mov dword [esp + 0x2c], ebp
lea eax, [0x5fcfa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004116d0
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
jmp 0x59bd98
call fcn.00462f70
jmp fcn.0059ba60