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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62b6ee
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00558280
test eax, eax
je 0x5a7a8a
lea eax, [esp + 0x1c]
xor esi, esi
push eax
mov ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.0055a820
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call fcn.00522d60
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xa8], esi
push edx
lea eax, [esp + 0x30]
push eax
call fcn.005a4160
add esp, 8
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0xa8], 0xffffffff
call fcn.00522dc0
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.00558280
test eax, eax
je 0x5a7aca
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
mov ecx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.0055a820
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.00522d60
mov dword [esp + 0xa8], 1
push edi
jmp 0x5a7a4f
push 0
mov ecx, edi
call fcn.0055f170
mov esi, eax
test esi, esi
jne 0x5a7adb
mov esi, edi
push 0
mov ecx, ebx
call fcn.0055f170
mov edi, eax
test edi, edi
jne 0x5a7aec
mov edi, ebx
mov ebx, dword [esi + 0x10]
mov ecx, esi
call fcn.00555520
push eax
push ebx
lea ecx, [esp + 0x90]
call fcn.005cbb80
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.00517c70
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 5
call fcn.004f2200
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.00517c70
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 8
call fcn.004f2200
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x90]
push edi
push eax
call fcn.005a06f0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x5a7bc3
cmp esi, dword [ebp + 8]
je 0x5a7ba3
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp edi, dword [ebp + 0xc]
je 0x5a7d6a
test edi, edi
je 0x5a7d6a
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
jmp 0x5a7d6a
mov ebx, dword [edi + 0x10]
mov ecx, edi
call fcn.00555520
push eax
push ebx
lea ecx, [esp + 0x7c]
call fcn.005cbb80
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 9
call fcn.0055a820
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.005eff10
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa8], 0xa
test eax, eax
je 0x5a7cba
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x64]
call fcn.00518470
test eax, eax
jne 0x5a7cb6
cmp esi, dword [ebp + 8]
je 0x5a7c34
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
cmp edi, dword [ebp + 0xc]
je 0x5a7c43
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.004f2200
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 8
call fcn.005cbbb0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 5
call fcn.00517ca0
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.00517ca0
lea ecx, [esp + 0x88]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005cbbb0
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 0x5a7d2a
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test eax, eax
je 0x5a7cd9
add eax, 0xffffffec
jmp 0x5a7cdb
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 0x5a7d0a
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx]
jne 0x5a7cfd
xor eax, eax
jmp 0x5a7d00
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x5a7cc0
jmp 0x5a7d2a
test eax, eax
je 0x5a7d13
add eax, 0xffffffec
jmp 0x5a7d15
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.005a0250
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp + 8]
je 0x5a7d39
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp edi, dword [ebp + 0xc]
je 0x5a7d48
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.004f2200
lea ecx, [esp + 0x74]
mov byte [esp + 0xa8], 8
call fcn.005cbbb0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 5
call fcn.00517ca0
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 2
call fcn.00517ca0
lea ecx, [esp + 0x88]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005cbbb0
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