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

Disassembly:
push 0xffffffffffffffff
push 0x100f3865
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [0x10116f98]
push ebx
push ebp
push esi
push edi
push 0x10116f88
push eax
mov ecx, 0x10116f90
call fcn.1008c090
push 3
xor ebp, ebp
push 1
lea ecx, [esp + 0x18c]
push ebp
push ecx
mov ecx, 0x10116f10
call fcn.1005e520
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov al, byte [esp + 0x12]
add edx, esi
push ebp
lea ecx, [esp + 0x9c]
mov dword [0x10116f88], edx
mov byte [esp + 0x9c], al
call fcn.10002040
mov cl, byte [esp + 0x12]
push ebp
mov byte [esp + 0xd0], cl
lea ecx, [esp + 0xd0]
mov dword [esp + 0x248], ebp
call fcn.10002040
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.1007b290
mov eax, 0xffff
mov edx, ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
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 + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov ebx, 4
mov edx, dword [0x10116f88]
push 3
push ebp
lea eax, [esp + 0x22c]
push edx
push eax
mov ecx, 0x10116f10
call fcn.1005e520
mov edx, dword [0x10116f98]
mov ecx, dword [0x10116f88]
cmp ecx, dword [edx - 4]
je 0x1005e134
mov edx, dword [0x10116f10]
lea eax, [esp + 0xc0]
push 2
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov edx, dword [0x10116f10]
lea eax, [esp + 0xbc]
push ebx
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
push 3
push 1
lea eax, [esp + 0x214]
push ebp
push eax
mov ecx, 0x10116f10
call fcn.1005e520
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov esi, dword [esp + 0xc0]
add ecx, edx
mov edx, dword [esp + 0xbc]
and esi, 0xffff
lea eax, [ecx + edx - 6]
mov dword [0x10116f88], eax
je 0x1005e134
lea eax, [esi - 0xb010]
cmp eax, 0x20
ja case.0x1005dad4.45078
xor ecx, ecx
mov cl, byte [eax + 0x1005e38c]
jmp dword [ecx*4 + 0x1005e370]
mov eax, dword [0x10116f10]
lea edx, [esp + 0x6c]
push 2
push edx
mov ecx, 0x10116f10
call dword [eax + 0x18]
jmp case.0x1005dad4.45078
lea ecx, [esp + 0xf8]
push ecx
call fcn.1005c760
mov edx, dword [0x100f7360]
lea ecx, [esp + 0x98]
push edx
push ebp
push eax
mov byte [esp + 0x250], 3
call fcn.10001ec4
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x248], 2
call fcn.10002040
mov edx, dword [0x10116f10]
lea eax, [esp + 0xaa]
push 2
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov edx, dword [0x10116f10]
lea eax, [esp + 0xb2]
push 2
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov edx, dword [0x10116f10]
lea eax, [esp + 0x70]
push 2
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
jmp case.0x1005dad4.45078
lea eax, [esp + 0x108]
push eax
call fcn.1005c760
mov ecx, dword [0x100f7360]
mov byte [esp + 0x244], bl
push ecx
push ebp
push eax
lea ecx, [esp + 0xd8]
call fcn.10001ec4
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x248], 2
call fcn.10002040
jmp case.0x1005dad4.45078
mov eax, dword [0x10116f10]
lea edx, [esp + 0x38]
push 0xc
push edx
mov ecx, 0x10116f10
call dword [eax + 0x18]
mov al, byte [0x10116fb8]
test al, al
je case.0x1005dad4.45078
lea ecx, [esp + 0x154]
push 0x10116fe4
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x120]
push edx
push eax
mov ecx, 0x10116fc0
call fcn.100108c0
mov ecx, eax
call fcn.10010d50
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
jmp case.0x1005dad4.45078
mov edx, dword [0x10116f10]
lea ecx, [esp + 0x80]
push 0xc
push ecx
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov edx, dword [0x10116f10]
lea eax, [esp + 0x8c]
push 0xc
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
fld dword [esp + 0x88]
fadd dword [esp + 0x94]
push ecx
fmul dword [0x100f73d0]
fstp dword [esp]
fld dword [esp + 0x88]
fadd dword [esp + 0x94]
push ecx
fmul dword [0x100f73d0]
fstp dword [esp]
fld dword [esp + 0x94]
fadd dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x178]
fmul dword [0x100f73d0]
fstp dword [esp]
call fcn.1000d370
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x64], eax
mov al, byte [0x10116fb8]
test al, al
je case.0x1005dad4.45078
lea ecx, [esp + 0x148]
push 0x10116fe4
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x180]
push edx
push eax
mov ecx, 0x10116fc0
call fcn.100108c0
mov ecx, eax
call fcn.10010d50
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x64], eax
jmp case.0x1005dad4.45078
mov al, byte [0x10116ef0]
test al, al
jne case.0x1005dad4.45078
mov edx, dword [0x10116f10]
lea ecx, [esp + 0xa8]
push 2
push ecx
mov ecx, 0x10116f10
mov dword [esp + 0x3c], ebp
call dword [edx + 0x18]
push 3
push 1
lea eax, [esp + 0x1e4]
push 8
push eax
mov ecx, 0x10116f10
call fcn.1005e520
mov edx, dword [0x10116f10]
lea ecx, [esp + 0x34]
push 2
push ecx
mov ecx, 0x10116f10
call dword [edx + 0x18]
push 3
push 1
lea eax, [esp + 0x1b4]
push 2
push eax
mov ecx, 0x10116f10
call fcn.1005e520
lea ecx, [esp + 0x1c]
call fcn.1000c3a0
lea ecx, [esp + 0x74]
call fcn.1000c3a0
lea ecx, [esp + 0x28]
call fcn.1000c3a0
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], 0x3f800000
call fcn.1000c3a0
mov eax, dword [esp + 0x34]
xor edi, edi
cmp eax, ebp
jle case.0x1005dad4.45078
mov edx, dword [0x10116f10]
lea ecx, [esp + 0x44]
push ebx
push ecx
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov edx, dword [0x10116f10]
lea eax, [esp + 0x12]
push 2
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xb8], 0
mov al, byte [esp + 0x12]
mov dword [esp + 0xb4], 0
test al, 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xc8], 0
je 0x1005de37
mov edx, dword [0x10116f10]
lea eax, [esp + 0xc4]
push ebx
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
test byte [esp + 0x12], 2
je 0x1005de55
mov edx, dword [0x10116f10]
lea eax, [esp + 0xb8]
push ebx
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
test byte [esp + 0x12], bl
je 0x1005de72
mov edx, dword [0x10116f10]
lea eax, [esp + 0xb4]
push ebx
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
test byte [esp + 0x12], 8
je 0x1005de90
mov edx, dword [0x10116f10]
lea eax, [esp + 0xac]
push ebx
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
test byte [esp + 0x12], 0x10
je 0x1005deae
mov edx, dword [0x10116f10]
lea eax, [esp + 0xc8]
push ebx
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov eax, esi
sub eax, 0xb020
je 0x1005e0b9
dec eax
je 0x1005df37
dec eax
jne 0x1005e122
mov edx, dword [0x10116f10]
lea eax, [esp + 0x28]
push 0xc
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov al, byte [0x10116fb8]
test al, al
je 0x1005df0e
lea eax, [esp + 0x28]
lea ecx, [esp + 0x130]
push eax
push ecx
mov ecx, 0x10116fc0
call fcn.100108c0
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 + 0x44]
xor ecx, ecx
mov cx, word [0x10116fb6]
cmp eax, ecx
jg 0x1005e122
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.1007bbe0
jmp 0x1005e122
mov edx, dword [0x10116f10]
lea eax, [esp + 0x48]
push ebx
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov edx, dword [0x10116f10]
lea eax, [esp + 0x74]
push 0xc
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
lea ecx, [esp + 0x74]
call fcn.1005e410
fcomp dword [0x100f74d8]
fnstsw ax
test ah, 0x41
jne 0x1005e097
mov al, byte [0x10116fb4]
test al, al
je 0x1005df8d
fld dword [esp + 0x48]
fchs
fstp dword [esp + 0x48]
mov al, byte [0x10116fb8]
test al, al
je 0x1005dfc1
lea eax, [esp + 0x74]
lea ecx, [esp + 0x13c]
push eax
push ecx
mov ecx, 0x10116fc0
call fcn.100108c0
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x48]
fmul dword [0x100f73d0]
push ecx
lea eax, [esp + 0x128]
lea ecx, [esp + 0x164]
fst dword [esp + 0x6c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x6c]
fsin
fstp dword [esp]
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.1001a2f0
mov ecx, eax
call fcn.100192e0
fld dword [esp + 0x18]
fcos
fstp dword [esp + 0xdc]
mov edx, dword [eax]
mov dword [esp + 0xe0], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x19c]
push eax
push ecx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf0], edx
call fcn.100193b0
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x4c]
mov edx, dword [eax + 8]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
call fcn.1005e440
push ecx
lea ecx, [esp + 0x188]
fstp dword [esp]
push ecx
lea ecx, [esp + 0x54]
call fcn.10059050
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov cx, word [0x10116fb6]
cmp eax, ecx
jg 0x1005e122
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.1007bd40
jmp 0x1005e122
mov edx, dword [0x10116f10]
lea eax, [esp + 0x1c]
push 0xc
push eax
mov ecx, 0x10116f10
call dword [edx + 0x18]
mov al, byte [0x10116fb8]
test al, al
je 0x1005e102
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xec]
push eax
push ecx
mov ecx, 0x10116fc0
call fcn.10010da0
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 + 0x44]
xor ecx, ecx
mov cx, word [0x10116fb6]
cmp eax, ecx
jg 0x1005e122
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
push eax
call fcn.1007bc90
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
jl 0x1005ddb8
jmp case.0x1005dad4.45078
mov eax, dword [0x10116f98]
add eax, 0xfffffffc
push eax
mov ecx, dword [eax]
mov dword [0x10116f88], ecx
mov ecx, 0x10116f90
call fcn.100658f0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x24c]
cmp ax, 0xffff
je 0x1005e190
and eax, 0xffff
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, 0x10116ef8
call fcn.1005ed90
mov eax, dword [eax]
mov ecx, dword [0x10116efc]
cmp eax, ecx
je 0x1005e315
mov ebx, dword [eax + 0x10]
push str.___DUMMY
lea ecx, [esp + 0x9c]
call fcn.10060b60
test eax, eax
jne 0x1005e1ef
push 0x2b0
call fcn.100ddb25
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x244], 5
je 0x1005e1cb
mov ecx, eax
call fcn.1006dbc0
mov ebp, eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x244], 2
push ecx
mov ecx, ebp
call fcn.1006c160
push ebx
mov ecx, ebp
call fcn.1006c0d0
jmp 0x1005e2e1
lea edx, [esp + 0x98]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, 0x10116fa0
call fcn.1005a5e0
mov eax, dword [eax]
mov ecx, dword [0x10116fa4]
cmp eax, ecx
je 0x1005e315
mov ebp, dword [eax + 0x1c]
lea ecx, [esp + 0x98]
push ecx
mov ecx, 0x10116fa0
call fcn.1005ec10
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x38]
push edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.1005e3b0
test al, al
je 0x1005e2b3
fld dword [esp + 0x40]
push ecx
fchs
fstp dword [esp]
fld dword [esp + 0x40]
push ecx
fchs
fstp dword [esp]
fld dword [esp + 0x40]
push ecx
lea ecx, [esp + 0xf8]
fchs
fstp dword [esp]
call fcn.1000d370
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x1b0]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
call fcn.1005e470
lea edx, [esp + 0x1ac]
mov ecx, ebp
push edx
call fcn.1006f230
mov ecx, ebp
call fcn.1006be90
mov ecx, 0xc
mov esi, eax
lea edi, [esp + 0x1dc]
push ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.1006c0d0
lea eax, [esp + 0x1dc]
mov ecx, ebp
push eax
call fcn.1006d140
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x238]
call fcn.1007b940
mov eax, dword [esp + 0x6c]
cmp ax, 0xffff
je 0x1005e315
lea edx, [esp + 0x18]
and eax, 0xffff
push edx
mov ecx, 0x10116ef8
mov dword [esp + 0x1c], eax
call fcn.1005e8a0
mov dword [eax], ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 1
call fcn.1007b7b0
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x248], 0
call fcn.10002040
push 1
lea ecx, [esp + 0x9c]
mov dword [esp + 0x248], 0xffffffff
call fcn.10002040
pop edi
pop esi
mov ecx, dword [esp + 0x234]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 8