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

Disassembly:
push 0xffffffffffffffff
push 0x100f3808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
lea ecx, [esp + 0xc]
call fcn.10069060
mov al, byte [esp + 0xb]
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x118], 0
mov byte [esp + 0x54], al
call fcn.10002040
mov cl, byte [esp + 0xb]
push 0
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
mov byte [esp + 0x118], 1
call fcn.10002040
mov edx, dword [0x10116f98]
push 0x10116f88
push edx
mov ecx, 0x10116f90
mov byte [esp + 0x11c], 2
call fcn.1008c090
push 3
push 1
lea eax, [esp + 0x68]
push 0
push eax
mov ecx, 0x10116f10
call fcn.1005e520
mov ecx, dword [eax + 8]
mov edx, dword [eax]
add ecx, edx
mov dword [0x10116f88], ecx
mov ecx, dword [0x10116f88]
push 3
push 0
lea edx, [esp + 0x9c]
push ecx
push edx
mov ecx, 0x10116f10
call fcn.1005e520
mov ecx, dword [0x10116f98]
mov eax, dword [0x10116f88]
cmp eax, dword [ecx - 4]
je 0x1005d7b4
mov eax, dword [0x10116f10]
lea edx, [esp + 0x3c]
push 2
push edx
mov ecx, 0x10116f10
call dword [eax + 0x18]
mov edx, dword [0x10116f10]
lea ecx, [esp + 0x30]
push 4
push ecx
mov ecx, 0x10116f10
call dword [edx + 0x18]
push 3
push 1
lea eax, [esp + 0xe4]
push 0
push eax
mov ecx, 0x10116f10
call fcn.1005e520
mov ecx, dword [eax + 8]
mov edx, dword [eax]
add ecx, edx
mov edx, dword [esp + 0x30]
lea eax, [ecx + edx - 6]
mov dword [0x10116f88], eax
mov eax, dword [esp + 0x3c]
and eax, 0xffff
je 0x1005d7b4
sub eax, 0xa000
je 0x1005d777
sub eax, 0x20
je 0x1005d65b
sub eax, 0x1e0
jne 0x1005d46e
mov ecx, dword [0x10116f98]
push 0x10116f88
push ecx
mov ecx, 0x10116f90
call fcn.1008c090
push 3
push 1
lea edx, [esp + 0xb4]
push 0
push edx
mov ecx, 0x10116f10
call fcn.1005e520
mov ecx, dword [eax + 8]
mov edx, dword [eax]
add ecx, edx
mov dword [0x10116f88], ecx
push 3
push 0
lea eax, [esp + 0xcc]
push ecx
push eax
mov ecx, 0x10116f10
call fcn.1005e520
mov edx, dword [0x10116f98]
mov ecx, dword [0x10116f88]
cmp ecx, dword [edx - 4]
je 0x1005d639
mov edx, dword [0x10116f10]
lea eax, [esp + 0x38]
push 2
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov edx, dword [0x10116f10]
lea eax, [esp + 0x34]
push 4
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
push 3
push 1
lea eax, [esp + 0xfc]
push 0
push eax
mov ecx, 0x10116f10
call fcn.1005e520
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 [0x10116f88], ecx
je 0x1005d639
cmp eax, 0xa300
jne 0x1005d55d
lea eax, [esp + 0x78]
push eax
call fcn.1005c760
mov ecx, dword [0x100f7360]
mov byte [esp + 0x114], 4
push ecx
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.10001ec4
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x118], 2
call fcn.10002040
mov ecx, dword [0x10116f88]
jmp 0x1005d55d
mov edx, dword [0x10116f98]
mov ecx, dword [edx - 4]
lea eax, [edx - 4]
mov dword [0x10116f88], ecx
push eax
mov ecx, 0x10116f90
call fcn.100658f0
jmp 0x1005d46e
lea ecx, [esp + 0x1c]
call fcn.1000c3a0
call fcn.1005ce70
call fcn.1005c6b0
test eax, eax
je 0x1005d731
sub eax, 0x10
je 0x1005d70f
dec eax
jne 0x1005d724
mov eax, dword [0x10116f10]
lea edx, [esp + 0x28]
push 3
push edx
mov ecx, 0x10116f10
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.1000d370
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 0x1005d724
mov edx, dword [0x10116f10]
lea ecx, [esp + 0x1c]
push 0xc
push ecx
mov ecx, 0x10116f10
call dword [edx + 0x18]
call fcn.1005c6b0
test eax, eax
jne 0x1005d676
mov eax, dword [0x10116f98]
add eax, 0xfffffffc
push eax
mov ecx, dword [eax]
mov dword [0x10116f88], ecx
mov ecx, 0x10116f90
call fcn.100658f0
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.10069660
jmp 0x1005d46e
lea eax, [esp + 0x60]
push eax
call fcn.1005c760
mov ecx, dword [0x100f7360]
mov byte [esp + 0x114], 3
push ecx
push 0
push eax
lea ecx, [esp + 0x5c]
call fcn.10001ec4
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x118], 2
call fcn.10002040
jmp 0x1005d46e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1005d819
lea edx, [esp + 0x40]
push 0
push edx
lea ecx, [esp + 0xc]
call fcn.10065d60
push 0
push eax
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 5
call fcn.10069730
lea ecx, [esp + 4]
mov byte [esp + 0x114], 2
call fcn.10066340
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.10069660
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1005d88a
lea ecx, [esp + 4]
call fcn.10069060
lea ecx, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x11c], 6
call fcn.1005eac0
lea edx, [esp + 0x28]
push eax
push edx
mov ecx, 0x10116f68
mov byte [esp + 0x11c], 7
call fcn.1005e950
mov esi, dword [eax]
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 6
call fcn.1005e8e0
lea ecx, [esp + 4]
mov byte [esp + 0x114], 2
call fcn.10069450
lea eax, [esp + 0xc]
lea ecx, [esi + 0x1c]
push eax
call fcn.10069480
mov ecx, dword [0x10116f98]
mov edx, dword [ecx - 4]
lea eax, [ecx - 4]
push eax
mov ecx, 0x10116f90
mov dword [0x10116f88], edx
call fcn.100658f0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x118], 1
call fcn.10002040
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x118], 0
call fcn.10002040
lea ecx, [esp + 0xc]
mov dword [esp + 0x114], 0xffffffff
call fcn.10069450
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret