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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x609a63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x624d7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x660]
call fcn.004063c0
imul eax, eax, 0x35
mov edx, dword [0x624d7c]
mov edx, dword [edx]
mov edx, dword [edx + 0x660]
push dword [edx + eax*4 + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x624c18]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [0x624d7c]
mov eax, dword [eax]
cmp byte [eax + 0x60], 0
jne 0x609835
mov eax, dword [0x624c18]
cmp byte [eax + 0x2d], 0
jne 0x609835
xor eax, eax
jmp 0x609837
mov al, 1
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x3a]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0053eed8
mov dl, 1
mov eax, dword [0x419dd4]
call fcn.00404078
mov dword [ebp - 0xc], eax
mov edx, 0x609a78
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x1c]
call fcn.004063c0
mov esi, eax
test esi, esi
jl 0x609946
inc esi
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebp - 0x1c]
lea ebx, [edx + eax*4]
lea eax, [ebp - 0x24]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebx + 8]
call fcn.004053a8
push dword [ebp - 0x24]
push 0x609acc
push dword [ebx + 0x40]
push 0x609acc
push dword [ebx + 4]
push 0x609acc
push dword [ebx + 0x10]
push 0x609acc
push dword [ebx + 0x14]
push 0x609acc
push dword [ebx + 0x18]
push 0x609acc
push dword [ebx + 0x1c]
push 0x609acc
push dword [ebx + 0x20]
push 0x609acc
push dword [ebx + 0x24]
push 0x609acc
push dword [ebx + 0x28]
push 0x609acc
push dword [ebx + 0x2c]
push 0x609acc
push dword [ebx + 0x30]
push 0x609acc
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x3c]
call fcn.004099d4
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov edx, 0x19
call fcn.00405210
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 8]
dec esi
jne 0x609890
call fcn.0040b628
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x12]
call fcn.0040b5e0
push 0x609ad8
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80f]
call fcn.004099d4
push dword [ebp - 0x2c]
push 0x609af4
lea eax, [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x12]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
movzx eax, word [ebp - 0x16]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x48]
mov ecx, 2
mov eax, 0x609b04
call fcn.0040a904
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405210
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x813]
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x609b20
mov edx, dword [ebp - 0x10]
call fcn.0040519c
mov edx, dword [ebp - 0x4c]
mov ecx, dword [0x624544]
mov ecx, dword [ecx]
mov eax, dword [0x624460]
call fcn.005c1dac
lea eax, [ebp - 0x50]
mov ecx, 0x609b30
mov edx, dword [ebp - 0x10]
call fcn.0040519c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0xc]
call fcn.004040a8
lea eax, [ebp - 0x1c]
mov edx, dword [0x53ea5c]
call fcn.00406694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x609a6a
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00404ebc
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00404ebc
lea eax, [ebp - 0x1c]
mov edx, dword [0x53ea5c]
call fcn.00406694
lea eax, [ebp - 0x10]
call fcn.00404e98
ret