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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x5a05be
sub esp, 0xa8
lea eax, [0x5e1e00]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.00409450
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x5a0575
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.0059fe40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test edx, edx
jle 0x5a056e
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x5a04b7
dec ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
mov ecx, ebx
test ecx, ecx
jle 0x5a0231
movzx ebx, byte [eax]
cmp bl, 0x20
je 0x5a0204
cmp bl, 9
je 0x5a0204
cmp bl, 0xa
je 0x5a0204
cmp bl, 0xd
je 0x5a0204
jmp 0x5a0231
dec ecx
test ecx, ecx
jle 0x5a024e
movzx ebx, byte [ecx + eax - 1]
cmp bl, 0x20
je 0x5a0230
cmp bl, 9
je 0x5a0230
cmp bl, 0xa
je 0x5a0230
cmp bl, 0xd
je 0x5a0230
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], eax
lea edi, [esp + 0x88]
mov edx, eax
xor eax, eax
call fcn.0045e0a8
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
lea ecx, [0x60efa2]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 2
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x9c], ebx
lea ebp, [0x60f00c]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], 2
xor eax, eax
jmp 0x5a02db
mov eax, dword [esp + 0x34]
inc eax
lea ecx, [0x60efa2]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
lea ebp, [0x60f00c]
cmp eax, 4
jge 0x5a035d
mov dword [esp + 0x34], eax
lea ecx, [esp + eax*8 + 0x88]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0x24]
mov ebp, dword [ebx + 0x10]
mov esi, dword [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x5a02c2
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
lea eax, [0x77ded0]
mov dword [esp], eax
lea eax, [0x5ef360]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00470e30
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc4], eax
add esp, 0xa8
ret
mov ebp, dword [esp + 0xbc]
test ebp, ebp
je 0x5a046c
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x5a046c
mov ecx, dword [esp + 0x2c]
mov eax, ebp
lea ebp, [ecx + 1]
mov esi, ebx
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
jb 0x5a0423
mov edi, dword [esp + 0x58]
mov dword [esp + 0x34], ebx
lea ebx, [edi + ecx*8 + 4]
mov dword [ebx], esi
mov ebx, dword [0x7a0970]
lea ecx, [edi + ecx*8]
test ebx, ebx
jne 0x5a0410
mov dword [ecx], edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x2c], ebp
mov ebp, ecx
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x64]
mov edi, edx
mov edx, dword [esp + 0x28]
cmp edi, eax
jge 0x5a047f
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ebp
lea eax, [ecx + edi*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [0x782ad0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c0560
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5a0213
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, edx
call fcn.0045de10
mov eax, esi
mov edi, ebx
jmp 0x5a03ab
lea eax, [0x5db180]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00445150
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
jmp 0x5a0392
mov eax, ebp
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
jmp 0x5a03af
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x5a0495
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x5a0527
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x58]
inc ebx
cmp edx, ebx
jle 0x5a04ee
mov esi, dword [esp + 0x68]
add esi, 0x14
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
mov ecx, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], edi
lea edi, [esp + 0x74]
mov esi, ecx
call fcn.0045e58e
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x64], ecx
mov esi, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
xor edi, edi
jmp 0x5a03d4
lea eax, [0x77ded0]
mov dword [esp], eax
lea eax, [0x5ef360]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00470e30
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xa8
ret
mov eax, dword [ecx]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov edx, ecx
call eax
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
xor ebp, ebp
xor ecx, ecx
xor edi, edi
jmp 0x5a049d
mov esi, eax
jmp 0x5a04ee
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x70], eax
lea eax, [0x65ef14]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.004092a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x5a01b9
call fcn.0045c8b0
jmp fcn.005a0160