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

Disassembly:
push 0xffffffffffffffff
push 0x100fccc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
lea ecx, [esp + 0xc]
call fcn.10066d70
mov al, byte [esp + 0xb]
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x118], 0
mov byte [esp + 0x54], al
call fcn.10001fd0
mov cl, byte [esp + 0xb]
mov byte [esp + 0x40], cl
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x118], 1
call fcn.10001fd0
mov edx, dword [0x1012be78]
push 0x1012be80
push edx
mov ecx, 0x1012be70
mov byte [esp + 0x11c], 2
call fcn.10063640
push 3
push 1
push 0
lea eax, [esp + 0x6c]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov dword [0x1012be80], ecx
mov ecx, dword [0x1012be80]
push 3
push 0
push ecx
lea edx, [esp + 0xa0]
push edx
mov ecx, 0x1012be88
call fcn.1005c3f0
mov ecx, dword [0x1012be78]
mov eax, dword [0x1012be80]
cmp eax, dword [ecx - 4]
je 0x1005b691
mov eax, dword [0x1012be88]
push 2
lea edx, [esp + 0x40]
push edx
mov ecx, 0x1012be88
call dword [eax + 0x18]
mov edx, dword [0x1012be88]
push 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x1012be88
call dword [edx + 0x18]
push 3
push 1
push 0
lea eax, [esp + 0xe8]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
mov edx, dword [eax]
mov ecx, dword [eax + 8]
add ecx, edx
mov edx, dword [esp + 0x30]
lea eax, [ecx + edx - 6]
mov dword [0x1012be80], eax
mov eax, dword [esp + 0x3c]
and eax, 0xffff
je 0x1005b691
sub eax, 0xa000
je 0x1005b654
sub eax, 0x20
je 0x1005b537
sub eax, 0x1e0
jne 0x1005b34c
mov ecx, dword [0x1012be78]
push 0x1012be80
push ecx
mov ecx, 0x1012be70
call fcn.10063640
push 3
push 1
push 0
lea edx, [esp + 0xb8]
push edx
mov ecx, 0x1012be88
call fcn.1005c3f0
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov dword [0x1012be80], ecx
push 3
push 0
push ecx
lea eax, [esp + 0xd0]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
mov edx, dword [0x1012be78]
mov ecx, dword [0x1012be80]
cmp ecx, dword [edx - 4]
je 0x1005b515
mov edx, dword [0x1012be88]
push 2
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov edx, dword [0x1012be88]
push 4
lea eax, [esp + 0x38]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
push 3
push 1
push 0
lea eax, [esp + 0x100]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
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 [0x1012be80], ecx
je 0x1005b515
cmp eax, 0xa300
jne 0x1005b439
lea eax, [esp + 0x78]
push eax
call fcn.1005a680
mov ecx, dword [0x10100440]
push ecx
push 0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x120], 4
call fcn.10001e54
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x118], 2
call fcn.10001fd0
mov ecx, dword [0x1012be80]
jmp 0x1005b439
mov edx, dword [0x1012be78]
mov ecx, dword [edx - 4]
lea eax, [edx - 4]
mov dword [0x1012be80], ecx
push eax
mov ecx, 0x1012be70
call fcn.1003a410
jmp 0x1005b34c
lea ecx, [esp + 0x1c]
call fcn.1000c180
call fcn.1005ad90
call fcn.1005a5e0
test eax, eax
je 0x1005b60d
sub eax, 0x10
je 0x1005b5eb
dec eax
jne 0x1005b600
mov eax, dword [0x1012be88]
push 3
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x1012be88
call dword [eax + 0x18]
mov ecx, dword [esp + 0x2a]
mov edx, dword [esp + 0x29]
mov eax, dword [esp + 0x28]
and ecx, 0xff
mov dword [esp + 4], ecx
fild dword [esp + 4]
push ecx
and edx, 0xff
fmul dword [0x101004cc]
mov dword [esp + 8], edx
and eax, 0xff
fstp dword [esp]
push ecx
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fmul dword [0x101004cc]
fstp dword [esp]
push ecx
fild dword [esp + 0x10]
lea ecx, [esp + 0x94]
fmul dword [0x101004cc]
fstp dword [esp]
call fcn.1000d0e0
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 0x1005b600
mov edx, dword [0x1012be88]
push 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1012be88
call dword [edx + 0x18]
call fcn.1005a5e0
test eax, eax
jne 0x1005b552
mov eax, dword [0x1012be78]
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
mov dword [0x1012be80], ecx
push eax
mov ecx, 0x1012be70
call fcn.1003a410
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.10067350
jmp 0x1005b34c
lea eax, [esp + 0x60]
push eax
call fcn.1005a680
mov ecx, dword [0x10100440]
push ecx
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x120], 3
call fcn.10001e54
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x118], 2
call fcn.10001fd0
jmp 0x1005b34c
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1005b6f6
push 0
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0xc]
call fcn.10063bb0
push 0
push eax
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 5
call fcn.10067420
lea ecx, [esp + 4]
mov byte [esp + 0x114], 2
call fcn.10064180
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x1c], 0x3f800000
call fcn.10067350
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1005b767
lea ecx, [esp + 4]
call fcn.10066d70
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x11c], 6
call fcn.1005ca80
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x1012be10
mov byte [esp + 0x11c], 7
call fcn.1005c8a0
mov esi, dword [eax]
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 6
call fcn.1005c830
lea ecx, [esp + 4]
mov byte [esp + 0x114], 2
call fcn.10067150
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x1c]
call fcn.10067180
mov ecx, dword [0x1012be78]
mov edx, dword [ecx - 4]
lea eax, [ecx - 4]
push eax
mov ecx, 0x1012be70
mov dword [0x1012be80], edx
call fcn.1003a410
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x118], 1
call fcn.10001fd0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x118], 0
call fcn.10001fd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x114], 0xffffffff
call fcn.10067150
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret