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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a7577
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x98]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x5a717d
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5a7236
nop
nop
call fcn.00410750
mov eax, dword [esp]
mov dword [esp + 0x54], eax
lea ecx, [0x647ec0]
mov dword [esp], ecx
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov dword [eax + 0x10], 9
mov dword [eax + 0x14], 9
mov dword [eax + 0x18], 9
mov dword [eax + 0x1c], 9
mov dword [eax + 0x30], 6
mov byte [eax + 0x40], 1
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x5a71d4
mov ecx, dword [esp + 0x54]
jmp 0x5a71df
call fcn.0046beb0
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [eax + 0x44], ecx
lea ecx, [0x70259c]
mov dword [eax], ecx
mov ecx, dword [0x8cc0e0]
test ecx, ecx
je 0x5a71fb
call fcn.0046beb0
mov dword [edi], eax
mov dword [esp + 0x38], eax
mov dword [eax + 4], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.005e25c0
lea eax, [0x70259c]
mov ecx, dword [esp + 0x38]
jmp 0x5a723e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
lea edx, [0x666100]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 8], ebp
call fcn.0040d750
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5a72a8
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
lea edx, [0x657920]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d6a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x50]
jmp 0x5a72c8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], eax
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
test byte [eax], al
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x5a72ee
mov ecx, dword [esp + 0x64]
jmp 0x5a72fe
call fcn.0046bec0
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [esp + 0x44], eax
mov dword [eax], ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0x78]
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 0x12d]
mov edx, dword [esp + 0x44]
mov byte [edx + 0x40], cl
lea edi, [edx + 8]
lea esi, [eax + 0x134]
call fcn.0046c558
movzx eax, byte [eax + 0x188]
mov byte [edx + 0x34], al
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5a739b
mov ecx, dword [eax + 0x38]
mov edx, dword [esp + 0x44]
mov dword [edx + 0x64], ecx
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov esi, dword [eax + 0x10]
mov dword [edx + 0x50], esi
mov dword [edx + 0x54], ecx
mov dword [edx + 0x58], ebx
mov dword [edx + 0x5c], ebp
mov eax, dword [eax + 0x30]
mov dword [edx + 0x60], eax
jmp 0x5a739f
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x48]
test eax, eax
jne 0x5a73ca
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x34]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
nop
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
xor edx, edx
jmp 0x5a73ed
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], eax
add esp, 0x58
ret
mov esi, dword [esp + 0x24]
inc esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov edx, esi
cmp edx, ecx
jge 0x5a73ca
mov ebx, dword [eax + 4]
cmp edx, ebx
jae 0x5a756d
mov dword [esp + 0x24], edx
mov ecx, dword [eax]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
lea ebp, [0x666100]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040d6a0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.005a6e40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5a7457
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
jmp 0x5a73de
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test byte [eax], al
mov ecx, dword [0x8cc0e0]
test ecx, ecx
jne 0x5a7481
mov edx, dword [esp + 0x64]
jmp 0x5a7491
call fcn.0046bec0
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], edx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0x38], ebx
mov ebp, dword [0x8cc0e0]
test ebp, ebp
jne 0x5a74aa
mov ebp, dword [esp + 0x40]
jmp 0x5a74bb
call fcn.0046bec0
mov ebp, dword [esp + 0x40]
mov dword [edi], ebp
mov esi, dword [eax + 0x3c]
mov dword [edi + 4], esi
mov dword [eax + 0x3c], ebp
mov esi, dword [esp + 0x44]
mov edi, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
inc eax
mov ecx, dword [esi + 0x44]
cmp edi, eax
jae 0x5a7531
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x64e680]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x44]
mov dword [ebx + 0x4c], eax
mov eax, dword [0x8cc0e0]
test eax, eax
je 0x5a751c
call fcn.0046bec0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x44]
mov dword [edi + 4], ebp
mov dword [ebx + 0x44], ecx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov eax, edx
mov edx, dword [esp + 0x64]
mov dword [esi + 0x48], eax
lea edi, [ecx + eax*8 - 8]
mov esi, dword [esp + 0x4c]
mov dword [edi], esi
mov esi, dword [0x8cc0e0]
lea edi, [ecx + eax*8 - 4]
test esi, esi
jne 0x5a7554
mov eax, edi
mov esi, dword [esp + 0x3c]
jmp 0x5a7566
mov eax, edi
call fcn.0046bec0
mov esi, dword [esp + 0x3c]
mov dword [edi], esi
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [eax], esi
jmp 0x5a73de
mov eax, edx
mov ecx, ebx
call fcn.0046bf30
nop
call fcn.0046aab0
jmp fcn.005a7120