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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fab34
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x68a01c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x68a01c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.005792b0
xor esi, esi
lea ecx, [esp + 0xac]
mov dword [esp + 0xd8], esi
call fcn.00557600
mov byte [esp + 0xd8], 1
call fcn.00538a60
mov ecx, dword [0x6a2f14]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov edi, eax
cmp edi, esi
jne 0x538c30
mov ecx, dword [0x6a4678]
push esi
push esi
push 0x61ad90
push ecx
call fcn.005623f0
add esp, 0x10
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 0
call fcn.00557620
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00578b20
xor eax, eax
jmp 0x538eff
test edi, edi
jle 0x538c74
mov ecx, dword [0x6a2f14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push esi
call eax
test al, al
je 0x538c6f
mov ecx, dword [0x6a2f14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push esi
call eax
test eax, eax
je 0x538c6f
push eax
push esi
lea ecx, [esp + 0xb4]
push 0x61ad70
push ecx
call fcn.00557f40
add esp, 0x10
inc esi
cmp esi, edi
jl 0x538c34
lea ecx, [esp + 0x90]
mov edi, 0x61ad5c
call fcn.00557600
push 0x61ad40
lea ecx, [esp + 0x94]
mov byte [esp + 0xdc], 2
call fcn.00558d50
push 0x61ad30
lea ecx, [esp + 0x94]
call fcn.00558d50
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x94]
call fcn.00557e40
push 0x61ad24
lea ecx, [esp + 0x94]
call fcn.00558d50
test ebx, ebx
je 0x538dc2
push 0x61ac88
lea ecx, [esp + 0x94]
call fcn.00558d50
cmp dword [ebx + 0x14], 0
je 0x538daf
mov ecx, ebx
call fcn.00557050
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005623c0
add esp, 8
mov esi, eax
push 0x61ac7c
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 3
call fcn.00558ad0
push esi
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov byte [esp + 0xe0], 4
call fcn.00558c50
push 0x61ac78
lea edx, [esp + 0x40]
mov bl, 5
push edx
mov ecx, eax
mov byte [esp + 0xe0], bl
call fcn.00558cd0
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xdc], 6
call fcn.00557e40
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd8], bl
call fcn.00557620
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 4
call fcn.00557620
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 3
call fcn.00557620
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 2
call fcn.00557620
mov ebx, dword [esp + 0x1c]
push 0x61ac74
lea ecx, [esp + 0x94]
call fcn.00558d50
jmp 0x538dc7
mov edi, 0x61ac64
push 0
push 0
push 0x3e9
push 0x61a2b4
push 1
push edi
lea ecx, [esp + 0xa8]
call fcn.00557060
mov ecx, dword [0x6a468c]
push eax
mov eax, dword [0x6a4678]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00578b40
cmp eax, 2
je 0x538ea5
push 0x64
lea ecx, [esp + 0x14]
call fcn.00578b50
push eax
call fcn.005db87b
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [edx], eax
test ebx, ebx
je 0x538ebe
push 0x6e
lea ecx, [esp + 0x14]
call fcn.00578b50
push eax
mov ecx, ebx
call fcn.00558520
mov ecx, ebx
call fcn.00557050
push eax
call fcn.00561d60
add esp, 4
test al, al
jne 0x538ebe
mov eax, dword [0x6a4678]
push 0
push 0x61ac50
push 0x61ac20
push eax
call fcn.005623f0
add esp, 0x10
push 0
push 0
push 0x3e9
push 0x61a2b4
push 1
push edi
lea ecx, [esp + 0xa8]
call fcn.00557060
mov ecx, dword [0x6a4678]
mov edx, dword [0x6a468c]
push eax
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00578b40
cmp eax, 2
jne 0x538e04
lea ecx, [esp + 0x90]
mov byte [esp + 0xd8], 1
call fcn.00557620
jmp 0x538c01
lea ecx, [esp + 0x90]
mov byte [esp + 0xd8], 1
call fcn.00557620
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 0
call fcn.00557620
lea ecx, [esp + 0x10]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00578b20
mov eax, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.005d95f4
mov esp, ebp
pop ebp
ret