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

Disassembly:
push 0xffffffffffffffff
push 0x100f3868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
lea ecx, [esp + 0xc]
call fcn.10069190
mov al, byte [esp + 0xb]
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x118], 0
mov byte [esp + 0x54], al
call fcn.10002043
mov cl, byte [esp + 0xb]
push 0
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
mov byte [esp + 0x118], 1
call fcn.10002043
mov edx, dword [0x10116f68]
push 0x10116f58
push edx
mov ecx, 0x10116f60
mov byte [esp + 0x11c], 2
call fcn.1003d2f0
push 3
push 1
lea eax, [esp + 0x68]
push 0
push eax
mov ecx, 0x10116ee0
call fcn.1005e7e0
mov ecx, dword [eax + 8]
mov edx, dword [eax]
add ecx, edx
mov dword [0x10116f58], ecx
mov ecx, dword [0x10116f58]
push 3
push 0
lea edx, [esp + 0x9c]
push ecx
push edx
mov ecx, 0x10116ee0
call fcn.1005e7e0
mov ecx, dword [0x10116f68]
mov eax, dword [0x10116f58]
cmp eax, dword [ecx - 4]
je 0x1005da74
mov eax, dword [0x10116ee0]
lea edx, [esp + 0x3c]
push 2
push edx
mov ecx, 0x10116ee0
call dword [eax + 0x18]
mov edx, dword [0x10116ee0]
lea ecx, [esp + 0x30]
push 4
push ecx
mov ecx, 0x10116ee0
call dword [edx + 0x18]
push 3
push 1
lea eax, [esp + 0xe4]
push 0
push eax
mov ecx, 0x10116ee0
call fcn.1005e7e0
mov ecx, dword [eax + 8]
mov edx, dword [eax]
add ecx, edx
mov edx, dword [esp + 0x30]
lea eax, [ecx + edx - 6]
mov dword [0x10116f58], eax
mov eax, dword [esp + 0x3c]
and eax, 0xffff
je 0x1005da74
sub eax, 0xa000
je 0x1005da37
sub eax, 0x20
je 0x1005d91b
sub eax, 0x1e0
jne 0x1005d72e
mov ecx, dword [0x10116f68]
push 0x10116f58
push ecx
mov ecx, 0x10116f60
call fcn.1003d2f0
push 3
push 1
lea edx, [esp + 0xb4]
push 0
push edx
mov ecx, 0x10116ee0
call fcn.1005e7e0
mov ecx, dword [eax + 8]
mov edx, dword [eax]
add ecx, edx
mov dword [0x10116f58], ecx
push 3
push 0
lea eax, [esp + 0xcc]
push ecx
push eax
mov ecx, 0x10116ee0
call fcn.1005e7e0
mov edx, dword [0x10116f68]
mov ecx, dword [0x10116f58]
cmp ecx, dword [edx - 4]
je 0x1005d8f9
mov edx, dword [0x10116ee0]
lea eax, [esp + 0x38]
push 2
push eax
mov ecx, 0x10116ee0
call dword [edx + 0x18]
mov edx, dword [0x10116ee0]
lea eax, [esp + 0x34]
push 4
push eax
mov ecx, 0x10116ee0
call dword [edx + 0x18]
push 3
push 1
lea eax, [esp + 0xfc]
push 0
push eax
mov ecx, 0x10116ee0
call fcn.1005e7e0
mov ecx, dword [eax + 8]
mov esi, dword [eax]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add ecx, esi
and eax, 0xffff
lea ecx, [ecx + edx - 6]
mov dword [0x10116f58], ecx
je 0x1005d8f9
cmp eax, 0xa300
jne 0x1005d81d
lea eax, [esp + 0x78]
push eax
call fcn.1005ca20
mov ecx, dword [0x100f7360]
mov byte [esp + 0x114], 4
push ecx
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.10001ec7
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x118], 2
call fcn.10002043
mov ecx, dword [0x10116f58]
jmp 0x1005d81d
mov edx, dword [0x10116f68]
mov ecx, dword [edx - 4]
lea eax, [edx - 4]
mov dword [0x10116f58], ecx
push eax
mov ecx, 0x10116f60
call fcn.10065bb0
jmp 0x1005d72e
lea ecx, [esp + 0x1c]
call fcn.1000c3b0
call fcn.1005d130
call fcn.1005c970
test eax, eax
je 0x1005d9f1
sub eax, 0x10
je 0x1005d9cf
dec eax
jne 0x1005d9e4
mov eax, dword [0x10116ee0]
lea edx, [esp + 0x28]
push 3
push edx
mov ecx, 0x10116ee0
call dword [eax + 0x18]
mov ecx, dword [esp + 0x2a]
mov edx, dword [esp + 0x29]
and ecx, 0xff
and edx, 0xff
mov dword [esp + 4], ecx
push ecx
fild dword [esp + 8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], edx
and eax, 0xff
fmul dword [0x100f73ec]
fstp dword [esp]
fild dword [esp + 8]
push ecx
mov dword [esp + 0xc], eax
fmul dword [0x100f73ec]
fstp dword [esp]
fild dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x94]
fmul dword [0x100f73ec]
fstp dword [esp]
call fcn.1000d380
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
jmp 0x1005d9e4
mov edx, dword [0x10116ee0]
lea ecx, [esp + 0x1c]
push 0xc
push ecx
mov ecx, 0x10116ee0
call dword [edx + 0x18]
call fcn.1005c970
test eax, eax
jne 0x1005d936
mov eax, dword [0x10116f68]
add eax, 0xfffffffc
push eax
mov ecx, dword [eax]
mov dword [0x10116f58], ecx
mov ecx, 0x10116f60
call fcn.10065bb0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.10069780
jmp 0x1005d72e
lea eax, [esp + 0x60]
push eax
call fcn.1005ca20
mov ecx, dword [0x100f7360]
mov byte [esp + 0x114], 3
push ecx
push 0
push eax
lea ecx, [esp + 0x5c]
call fcn.10001ec7
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x118], 2
call fcn.10002043
jmp 0x1005d72e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1005dad9
lea edx, [esp + 0x40]
push 0
push edx
lea ecx, [esp + 0xc]
call fcn.10066050
push 0
push eax
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 5
call fcn.10069850
lea ecx, [esp + 4]
mov byte [esp + 0x114], 2
call fcn.10066630
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x1c], 0x3f800000
call fcn.10069780
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1005db4a
lea ecx, [esp + 4]
call fcn.10069190
lea ecx, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x11c], 6
call fcn.1005ed80
lea edx, [esp + 0x28]
push eax
push edx
mov ecx, 0x10116f38
mov byte [esp + 0x11c], 7
call fcn.1005ec10
mov esi, dword [eax]
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 6
call fcn.1005eba0
lea ecx, [esp + 4]
mov byte [esp + 0x114], 2
call fcn.10069570
lea eax, [esp + 0xc]
lea ecx, [esi + 0x1c]
push eax
call fcn.100695a0
mov ecx, dword [0x10116f68]
mov edx, dword [ecx - 4]
lea eax, [ecx - 4]
push eax
mov ecx, 0x10116f60
mov dword [0x10116f58], edx
call fcn.10065bb0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x118], 1
call fcn.10002043
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x118], 0
call fcn.10002043
lea ecx, [esp + 0xc]
mov dword [esp + 0x114], 0xffffffff
call fcn.10069570
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret