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

Disassembly:
push 0xffffffffffffffff
push 0x100fcd25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [0x1012be78]
push ebx
push ebp
push esi
push edi
push 0x1012be80
push eax
mov ecx, 0x1012be70
call fcn.10063640
push 3
push 1
xor ebp, ebp
push ebp
lea ecx, [esp + 0x190]
push ecx
mov ecx, 0x1012be88
call fcn.1005c3f0
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov al, byte [esp + 0x12]
add edx, esi
push ebp
lea ecx, [esp + 0xa8]
mov dword [0x1012be80], edx
mov byte [esp + 0xa8], al
call fcn.10001fd0
mov cl, byte [esp + 0x12]
mov byte [esp + 0xd8], cl
push ebp
lea ecx, [esp + 0xdc]
mov dword [esp + 0x248], ebp
call fcn.10001fd0
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 1
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.10077b60
mov eax, 0xffff
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov edx, ebp
mov eax, ebp
mov ecx, ebp
mov byte [esp + 0x244], 2
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov ebx, 4
mov edx, dword [0x1012be80]
push 3
push ebp
push edx
lea eax, [esp + 0x230]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
mov edx, dword [0x1012be78]
mov ecx, dword [0x1012be80]
cmp ecx, dword [edx - 4]
je 0x1005c046
mov edx, dword [0x1012be88]
push 2
lea eax, [esp + 0xcc]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov edx, dword [0x1012be88]
push ebx
lea eax, [esp + 0xc4]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
push 3
push 1
push ebp
lea eax, [esp + 0x218]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov esi, dword [esp + 0xc8]
add ecx, edx
and esi, 0xffff
mov edx, dword [esp + 0xc0]
lea eax, [ecx + edx - 6]
mov dword [0x1012be80], eax
je 0x1005c046
lea eax, [esi - 0xb010]
cmp eax, 0x20
ja case.0x1005b9b4.45078
xor ecx, ecx
mov cl, byte [eax + 0x1005c288]
jmp dword [ecx*4 + 0x1005c26c]
mov eax, dword [0x1012be88]
push 2
lea edx, [esp + 0x7c]
push edx
mov ecx, 0x1012be88
call dword [eax + 0x18]
jmp case.0x1005b9b4.45078
lea ecx, [esp + 0x110]
push ecx
call fcn.1005a680
mov edx, dword [0x10100440]
push edx
push ebp
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x250], 3
call fcn.10001e54
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x248], 2
call fcn.10001fd0
mov edx, dword [0x1012be88]
push 2
lea eax, [esp + 0xbe]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov edx, dword [0x1012be88]
push 2
lea eax, [esp + 0xd6]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov edx, dword [0x1012be88]
push 2
lea eax, [esp + 0x80]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
jmp case.0x1005b9b4.45078
lea eax, [esp + 0x120]
push eax
call fcn.1005a680
mov ecx, dword [0x10100440]
push ecx
push ebp
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x250], bl
call fcn.10001e54
push 1
lea ecx, [esp + 0x124]
mov byte [esp + 0x248], 2
call fcn.10001fd0
jmp case.0x1005b9b4.45078
mov eax, dword [0x1012be88]
push 0xc
lea edx, [esp + 0x48]
push edx
mov ecx, 0x1012be88
call dword [eax + 0x18]
mov al, byte [0x1012be69]
test al, al
je case.0x1005b9b4.45078
push 0x1012be5c
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x154]
push eax
mov ecx, 0x1012be38
call fcn.10010520
mov ecx, eax
call fcn.10010960
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp case.0x1005b9b4.45078
mov edx, dword [0x1012be88]
push 0xc
lea ecx, [esp + 0x90]
push ecx
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov edx, dword [0x1012be88]
push 0xc
lea eax, [esp + 0x9c]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
fld dword [esp + 0x94]
fadd dword [esp + 0xa0]
push ecx
fmul dword [0x101004b0]
fstp dword [esp]
push ecx
fld dword [esp + 0x98]
fadd dword [esp + 0xa4]
fmul dword [0x101004b0]
fstp dword [esp]
push ecx
fld dword [esp + 0xa4]
lea ecx, [esp + 0xf4]
fadd dword [esp + 0x98]
fmul dword [0x101004b0]
fstp dword [esp]
call fcn.1000d0e0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x60], eax
mov al, byte [0x1012be69]
test al, al
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
je case.0x1005b9b4.45078
push 0x1012be5c
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x184]
push edx
mov ecx, 0x1012be38
call fcn.10010520
mov ecx, eax
call fcn.10010960
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
jmp case.0x1005b9b4.45078
mov al, byte [0x1012be31]
test al, al
jne case.0x1005b9b4.45078
mov edx, dword [0x1012be88]
push 2
lea eax, [esp + 0xbc]
push eax
mov ecx, 0x1012be88
mov dword [esp + 0x40], ebp
call dword [edx + 0x18]
push 3
push 1
push 8
lea eax, [esp + 0x1e8]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
mov edx, dword [0x1012be88]
push 2
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x1012be88
call dword [edx + 0x18]
push 3
push 1
push 2
lea eax, [esp + 0x1b8]
push eax
mov ecx, 0x1012be88
call fcn.1005c3f0
lea ecx, [esp + 0x1c]
call fcn.1000c180
lea ecx, [esp + 0x80]
call fcn.1000c180
lea ecx, [esp + 0x28]
call fcn.1000c180
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], 0x3f800000
call fcn.1000c180
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, ebp
jle case.0x1005b9b4.45078
mov edx, dword [0x1012be88]
push ebx
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov edx, dword [0x1012be88]
push 2
lea eax, [esp + 0x16]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
test byte [esp + 0x12], 1
mov dword [esp + 0xd4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xb4], 0
je 0x1005bd37
mov edx, dword [0x1012be88]
push ebx
lea eax, [esp + 0xd8]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
test byte [esp + 0x12], 2
je 0x1005bd55
mov edx, dword [0x1012be88]
push ebx
lea eax, [esp + 0xc0]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
test byte [esp + 0x12], bl
je 0x1005bd72
mov edx, dword [0x1012be88]
push ebx
lea eax, [esp + 0xd0]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
test byte [esp + 0x12], 8
je 0x1005bd90
mov edx, dword [0x1012be88]
push ebx
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
test byte [esp + 0x12], 0x10
je 0x1005bdae
mov edx, dword [0x1012be88]
push ebx
lea eax, [esp + 0xb8]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov eax, esi
sub eax, 0xb020
je 0x1005bfcb
dec eax
je 0x1005be37
dec eax
jne 0x1005c034
mov edx, dword [0x1012be88]
push 0xc
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov al, byte [0x1012be69]
test al, al
je 0x1005be0e
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x164]
push ecx
mov ecx, 0x1012be38
call fcn.10010520
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov cx, word [0x1012be6a]
cmp eax, ecx
jg 0x1005c034
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.10078190
jmp 0x1005c034
mov edx, dword [0x1012be88]
push ebx
lea eax, [esp + 0x44]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov edx, dword [0x1012be88]
push 0xc
lea eax, [esp + 0x84]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
lea ecx, [esp + 0x80]
call fcn.10019cf0
fcomp dword [0x10100668]
fnstsw ax
test ah, 0x41
jne 0x1005bfa9
mov al, byte [0x1012be68]
test al, al
je 0x1005be93
fld dword [esp + 0x40]
fchs
fstp dword [esp + 0x40]
mov al, byte [0x1012be69]
test al, al
je 0x1005bed3
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x140]
push ecx
mov ecx, 0x1012be38
call fcn.10010520
mov edx, dword [eax]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x88], edx
fld dword [esp + 0x40]
push ecx
fmul dword [0x101004b0]
lea eax, [esp + 0x170]
lea ecx, [esp + 0x134]
fst dword [esp + 0x40]
fstp dword [esp + 0x18]
fld dword [esp + 0x40]
fsin
fstp dword [esp]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.1005c310
mov ecx, eax
call fcn.10018e90
fld dword [esp + 0x14]
fcos
fstp dword [esp + 0x100]
mov edx, dword [eax]
mov dword [esp + 0x104], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x108], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x108]
mov dword [esp + 0x114], edx
call fcn.10018f20
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.1005c360
push ecx
lea ecx, [esp + 0x188]
fstp dword [esp]
push ecx
lea ecx, [esp + 0x58]
call fcn.10057510
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov cx, word [0x1012be6a]
cmp eax, ecx
jg 0x1005c034
lea edx, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.10078370
jmp 0x1005c034
mov edx, dword [0x1012be88]
push 0xc
lea eax, [esp + 0x20]
push eax
mov ecx, 0x1012be88
call dword [edx + 0x18]
mov al, byte [0x1012be69]
test al, al
je 0x1005c014
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x158]
push ecx
mov ecx, 0x1012be38
call fcn.10010990
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov cx, word [0x1012be6a]
cmp eax, ecx
jg 0x1005c034
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.10078280
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x1005bcb9
jmp case.0x1005b9b4.45078
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 eax, dword [esp + 0x7c]
cmp ax, 0xffff
mov ebx, dword [esp + 0x24c]
je 0x1005c0a3
and eax, 0xffff
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, 0x1012bdf0
call fcn.1005cec0
mov eax, dword [esp + 0x3c]
cmp eax, dword [0x1012bdf4]
je 0x1005c211
mov ebx, dword [eax + 0x10]
push str.___DUMMY
lea ecx, [esp + 0xa8]
call fcn.1005eab0
test eax, eax
jne 0x1005c102
push 0x2a0
call fcn.10099f75
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x244], 5
je 0x1005c0de
mov ecx, eax
call fcn.1006b2d0
mov ebp, eax
lea ecx, [esp + 0xd8]
push ecx
mov ecx, ebp
mov byte [esp + 0x248], 2
call fcn.10069a50
push ebx
mov ecx, ebp
call fcn.100699c0
jmp 0x1005c1dd
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, 0x1012be00
call fcn.10058a10
mov eax, dword [esp + 0x14]
cmp eax, dword [0x1012be04]
je 0x1005c211
mov ebp, dword [eax + 0x1c]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, 0x1012be00
call fcn.1005ccb0
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.1005c2b0
test al, al
je 0x1005c1af
fld dword [esp + 0x4c]
push ecx
fchs
fstp dword [esp]
push ecx
fld dword [esp + 0x50]
fchs
fstp dword [esp]
push ecx
fld dword [esp + 0x50]
lea ecx, [esp + 0x78]
fchs
fstp dword [esp]
call fcn.1000d0e0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1b0]
call fcn.1005c390
lea ecx, [esp + 0x1ac]
push ecx
mov ecx, ebp
call fcn.1006c550
mov ecx, ebp
call fcn.10069780
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x1dc]
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, ebp
call fcn.100699c0
lea edx, [esp + 0x1dc]
push edx
mov ecx, ebp
call fcn.1006a900
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 0x238]
call fcn.10077ff0
mov eax, dword [esp + 0x78]
cmp ax, 0xffff
je 0x1005c211
lea ecx, [esp + 0x14]
and eax, 0xffff
push ecx
mov ecx, 0x1012bdf0
mov dword [esp + 0x18], eax
call fcn.1005c710
mov dword [eax], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 1
call fcn.10077ed0
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x248], 0
call fcn.10001fd0
push 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0x248], 0xffffffff
call fcn.10001fd0
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 8