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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a6987
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x254]
lea edx, [0x601320]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 6
call fcn.0040e3e0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x61c400]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00449ec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x60]
xor ebp, ebp
xor esi, esi
jmp 0x5a6517
mov edi, dword [esp + 0x34]
lea ebp, [edi + 1]
lea edi, [edx + ecx + 8]
lea esi, [edx + ebx + 8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov ebx, edi
cmp ebp, edx
jge 0x5a691a
mov dword [esp + 0x2c], esi
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffc
cmp ebx, edi
jbe 0x5a654f
mov edi, dword [0x7f8238]
mov esi, dword [0x7f823c]
cmp ebp, edx
mov edx, 0
mov dword [esp + 0x50], esi
mov esi, ebx
mov ebx, dword [esp + 0x44]
jmp 0x5a659b
mov edi, dword [ecx + 0x28c]
mov esi, dword [ecx + 0x288]
mov edx, dword [ecx + 0x290]
cmp ebx, edi
ja 0x5a697d
sub edi, ebx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
cmp edi, 3
jbe 0x5a6971
mov edx, dword [esi + edx]
mov esi, ebx
mov ebx, dword [esp + 0x44]
cmp ebp, ebx
mov edi, 0
mov edi, 0
mov dword [esp + 0x50], edi
mov edi, 0
jae 0x5a6968
mov dword [esp + 0x34], ebp
lea ebp, [ebp + ebp*4]
mov dword [eax + ebp*4], edx
test edi, edi
jne 0x5a68f6
mov dword [esp + 0x40], ebp
lea edx, [esi + 4]
mov edi, dword [ecx + 0x2ac]
add edi, 0xfffffffe
cmp edi, edx
jae 0x5a65e5
mov edx, dword [0x7f8238]
mov edi, dword [0x7f823c]
mov dword [esp + 0x48], eax
xor eax, eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x48]
jmp 0x5a6633
mov edi, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edi, edx
jb 0x5a695f
sub ebp, esi
sub edi, esi
add ebp, 0xfffffffc
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
lea edx, [edi - 4]
cmp edx, 1
jbe 0x5a6953
movzx ebx, word [ebp + ebx]
mov ebp, dword [esp + 0x40]
xor edx, edx
mov word [esp + 0x2a], bx
xor edi, edi
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x50], edi
lea edi, [eax + ebp*4 + 4]
movzx ebx, word [esp + 0x2a]
mov word [edi], bx
test edx, edx
jne 0x5a68cb
lea edx, [esi + 6]
mov ebx, dword [ecx + 0x2ac]
add ebx, 0xfffffffe
cmp ebx, edx
jae 0x5a666b
mov edx, dword [0x7f8238]
mov ebx, dword [0x7f823c]
xor edi, edi
jmp 0x5a66b2
mov ebx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp ebx, edx
jb 0x5a694a
sub ebp, esi
sub ebx, esi
add ebp, 0xfffffffa
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
lea edx, [ebx - 6]
cmp edx, 1
jbe 0x5a693e
movzx ebp, word [ebp + edi]
xor edx, edx
mov edi, ebp
xor ebx, ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x50], ebx
lea ebx, [eax + ebp*4 + 6]
mov word [ebx], di
test edx, edx
jne 0x5a68a0
mov dword [esp + 0x3c], esi
movzx edx, byte [0x7f37e0]
mov ebx, dword [0x7f37e4]
mov edi, dword [0x7f37e8]
mov eax, dword [0x7f37ec]
mov dword [esp], ecx
mov byte [esp + 4], dl
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
lea eax, [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
lea edx, [eax + ebp*4 + 8]
mov dword [esp + 0x18], edx
call fcn.005a5430
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x5a6875
mov dword [esp + 0x30], eax
movzx ecx, byte [0x7f36a0]
mov edx, dword [0x7f36a4]
mov ebx, dword [0x7f36a8]
mov ebp, dword [0x7f36ac]
mov esi, dword [esp + 0x5c]
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 + 0x3c]
lea edx, [ecx + eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
lea ebp, [ebx + edx*4 + 0xc]
mov dword [esp + 0x18], ebp
call fcn.005a5430
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov edx, dword [esp + 0x2c]
lea ebx, [edx + eax]
lea eax, [edx + eax + 8]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
jne 0x5a6851
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], edx
movzx eax, byte [0x7f37b0]
mov ebx, dword [0x7f37b4]
mov ebp, dword [0x7f37b8]
mov esi, dword [0x7f37bc]
mov edi, dword [esp + 0x5c]
mov dword [esp], edi
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
lea eax, [edx + ecx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
lea eax, [ebx + eax*4 + 0x10]
mov dword [esp + 0x18], eax
call fcn.005a5430
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov edx, dword [esp + 0x38]
lea ebx, [edx + eax]
lea eax, [eax + edx + 8]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
je 0x5a64fa
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
add esp, 0x58
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
add esp, 0x58
ret
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
add eax, 8
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x58
ret
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
add eax, 6
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x58
ret
mov eax, 1
mov ecx, edx
call fcn.00462580
mov eax, edx
mov ecx, ebx
call fcn.004625f0
mov eax, 1
mov ecx, edx
call fcn.00462580
mov eax, edx
mov ecx, edi
call fcn.004625f0
mov eax, ebp
mov ecx, ebx
call fcn.00462580
mov eax, 3
mov ecx, edi
call fcn.00462580
mov eax, ebx
mov ecx, edi
call fcn.004625f0
nop
call fcn.004610f0
jmp fcn.005a6480