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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6257ce
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.005537c0
test eax, eax
je 0x5a2dfa
lea eax, [esp + 0x1c]
xor esi, esi
push eax
mov ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.00555d60
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call fcn.0051f0c0
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xa8], esi
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0059f4d0
add esp, 8
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0xa8], 0xffffffff
call fcn.0051f120
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.005537c0
test eax, eax
je 0x5a2e3a
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
mov ecx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00555d60
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.0051f0c0
mov dword [esp + 0xa8], 1
push edi
jmp 0x5a2dbf
push 0
mov ecx, edi
call fcn.0055a6b0
mov esi, eax
test esi, esi
jne 0x5a2e4b
mov esi, edi
push 0
mov ecx, ebx
call fcn.0055a6b0
mov edi, eax
test edi, edi
jne 0x5a2e5c
mov edi, ebx
mov ebx, dword [esi + 0x10]
mov ecx, esi
call fcn.00550a30
push eax
push ebx
lea ecx, [esp + 0x90]
call fcn.005c6e90
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.00516d30
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 5
call fcn.004ed1b0
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.00516d30
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 8
call fcn.004ed1b0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x90]
push edi
push eax
call fcn.0059ba60
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x5a2f33
cmp esi, dword [ebp + 8]
je 0x5a2f13
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp edi, dword [ebp + 0xc]
je 0x5a30da
test edi, edi
je 0x5a30da
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
jmp 0x5a30da
mov ebx, dword [edi + 0x10]
mov ecx, edi
call fcn.00550a30
push eax
push ebx
lea ecx, [esp + 0x7c]
call fcn.005c6e90
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 9
call fcn.00555d60
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.005eb0e0
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa8], 0xa
test eax, eax
je 0x5a302a
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x64]
call fcn.00517550
test eax, eax
jne 0x5a3026
cmp esi, dword [ebp + 8]
je 0x5a2fa4
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
cmp edi, dword [ebp + 0xc]
je 0x5a2fb3
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.004ed1b0
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 8
call fcn.005c6ec0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 5
call fcn.00516d60
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.00516d60
lea ecx, [esp + 0x88]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005c6ec0
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 0x5a309a
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test eax, eax
je 0x5a3049
add eax, 0xffffffec
jmp 0x5a304b
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 0x5a307a
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx]
jne 0x5a306d
xor eax, eax
jmp 0x5a3070
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x5a3030
jmp 0x5a309a
test eax, eax
je 0x5a3083
add eax, 0xffffffec
jmp 0x5a3085
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0059b5c0
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp + 8]
je 0x5a30a9
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp edi, dword [ebp + 0xc]
je 0x5a30b8
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.004ed1b0
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 8
call fcn.005c6ec0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 5
call fcn.00516d60
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.00516d60
lea ecx, [esp + 0x88]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005c6ec0
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