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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62977e
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00556bd0
test eax, eax
je 0x5a63ca
lea eax, [esp + 0x1c]
xor esi, esi
push eax
mov ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.00559170
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call fcn.00521c40
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xa8], esi
push edx
lea eax, [esp + 0x30]
push eax
call fcn.005a2aa0
add esp, 8
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0xa8], 0xffffffff
call fcn.00521ca0
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.00556bd0
test eax, eax
je 0x5a640a
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
mov ecx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00559170
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.00521c40
mov dword [esp + 0xa8], 1
push edi
jmp 0x5a638f
push 0
mov ecx, edi
call fcn.0055dac0
mov esi, eax
test esi, esi
jne 0x5a641b
mov esi, edi
push 0
mov ecx, ebx
call fcn.0055dac0
mov edi, eax
test edi, edi
jne 0x5a642c
mov edi, ebx
mov ebx, dword [esi + 0x10]
mov ecx, esi
call fcn.00553e70
push eax
push ebx
lea ecx, [esp + 0x90]
call fcn.005ca4d0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xac], 2
call edx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 3
call fcn.00516b30
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 5
call fcn.0051a4a0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x1c]
push edx
call eax
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 6
call fcn.00516b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 8
call fcn.0051a4a0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x90]
push edi
push eax
call fcn.0059f030
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x5a6503
cmp esi, dword [ebp + 8]
je 0x5a64e3
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp edi, dword [ebp + 0xc]
je 0x5a66aa
test edi, edi
je 0x5a66aa
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
jmp 0x5a66aa
mov ebx, dword [edi + 0x10]
mov ecx, edi
call fcn.00553e70
push eax
push ebx
lea ecx, [esp + 0x7c]
call fcn.005ca4d0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 9
call fcn.00559170
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.005ee7e0
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa8], 0xa
test eax, eax
je 0x5a65fa
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x64]
call fcn.00517370
test eax, eax
jne 0x5a65f6
cmp esi, dword [ebp + 8]
je 0x5a6574
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
cmp edi, dword [ebp + 0xc]
je 0x5a6583
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 9
call fcn.0051a4a0
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 8
call fcn.005ca500
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 5
call fcn.00516b60
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.00516b60
lea ecx, [esp + 0x88]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005ca500
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
je 0x5a666a
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test eax, eax
je 0x5a6619
add eax, 0xffffffec
jmp 0x5a661b
xor eax, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call edx
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x5a664a
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx]
jne 0x5a663d
xor eax, eax
jmp 0x5a6640
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x5a6600
jmp 0x5a666a
test eax, eax
je 0x5a6653
add eax, 0xffffffec
jmp 0x5a6655
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0059eb90
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp + 8]
je 0x5a6679
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp edi, dword [ebp + 0xc]
je 0x5a6688
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 9
call fcn.0051a4a0
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 8
call fcn.005ca500
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 5
call fcn.00516b60
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.00516b60
lea ecx, [esp + 0x88]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005ca500
mov eax, ebx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret