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

Disassembly:
sub esp, 0x188
mov eax, dword [esp + 0x18c]
mov edx, dword [eax + 0x5c]
mov ecx, dword [eax + 0x58]
push ebx
push ebp
push esi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x60]
push edi
push edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x48], ecx
lea ecx, [eax + 0x40]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], edx
xor ebx, ebx
lea edx, [esp + 0x118]
push edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ebx
mov dword [eax + 8], ecx
call fcn.1006d040
fldz
add esp, 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
jge case.default.0x1006eeee
lea ecx, [esp + 0x1c]
xor edi, edi
mov ebp, 1
call fcn.1006ccd0
movzx esi, al
lea eax, [esi - 1]
cmp eax, 0x1e
mov dword [esp + 0x14], esi
ja case.0x1006e8bf.2
movzx edx, byte [eax + 0x1006f2d4]
jmp dword [edx*4 + 0x1006f284]
cmp dword [esp + 0x28], 0
je 0x1006e8d8
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.1006cd30
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x1006e887
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x1006e887
cmp ebx, 2
fstp st(0)
mov dword [esp + 0x28], 0
jl 0x1006ea02
fld dword [esp + ebx*4 + 0x44]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + ebx*4 + 0x48]
mov eax, dword [esp + 0x1ac]
fstp dword [esp]
call fcn.1006e4e0
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x1006e887
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x1006eeee
fld dword [esp + ebx*4 + 0x44]
sub esp, 8
fstp dword [esp + 4]
jmp 0x1006e94c
cmp ebx, 1
mov dword [esp + 0x28], 0
jl case.default.0x1006eeee
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + ebx*4 + 0x4c]
jmp 0x1006e94c
cmp ebx, 2
jl case.default.0x1006eeee
cmp ebx, 1
jle 0x1006f257
fstp st(0)
lea edi, [esp + 0x48]
lea ecx, [ecx]
fld dword [edi + 4]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi]
fstp dword [esp]
call fcn.1006e540
add ebp, 2
add esp, 8
add edi, 8
cmp ebp, ebx
jl 0x1006e9c0
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x1006e887
cmp ebx, 1
jge 0x1006ea3d
fstp st(0)
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret
cmp ebx, 1
jl case.default.0x1006eeee
cmp edi, ebx
jge 0x1006f24f
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.1006e540
fldz
add esp, 8
add edi, ebp
cmp edi, ebx
jge 0x1006f24f
fld dword [esp + edi*4 + 0x48]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.1006e540
fldz
add esp, 8
add edi, ebp
jmp 0x1006ea14
cmp ebx, 4
jl case.default.0x1006eeee
jmp 0x1006ead8
cmp ebx, 4
jl case.default.0x1006eeee
lea eax, [edi + 3]
cmp eax, ebx
jge 0x1006f24f
mov ecx, ebx
sub ecx, edi
cmp ecx, 5
jne 0x1006ea92
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x1006ea96
fst dword [esp + 0x14]
fld dword [esp + 0x14]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + edi*4 + 0x6c]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 8]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.1006e590
fldz
add esp, 0x18
add edi, 4
lea edx, [edi + 3]
cmp edx, ebx
jge 0x1006f24f
mov eax, ebx
sub eax, edi
cmp eax, 5
jne 0x1006eaf6
fld dword [esp + edi*4 + 0x58]
fstp dword [esp + 0x14]
jmp 0x1006eafa
fst dword [esp + 0x14]
fld dword [esp + edi*4 + 0x54]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x2c]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp]
call fcn.1006e590
fldz
add esp, 0x18
add edi, 4
jmp 0x1006ea74
cmp ebx, 6
jl case.default.0x1006eeee
cmp ebx, 5
jle 0x1006f257
fstp st(0)
mov ebp, 5
lea edi, [esp + 0x58]
mov edi, edi
fld dword [edi + 4]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [edi]
fstp dword [esp + 0x10]
fld dword [edi - 4]
fstp dword [esp + 0xc]
fld dword [edi - 8]
fstp dword [esp + 8]
fld dword [edi - 0xc]
fstp dword [esp + 4]
fld dword [edi - 0x10]
fstp dword [esp]
call fcn.1006e590
add ebp, 6
add esp, 0x18
add edi, 0x18
cmp ebp, ebx
jl 0x1006eb60
fldz
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x1006e887
cmp ebx, 8
fstp st(0)
jl 0x1006ea02
lea eax, [ebx - 2]
cmp eax, 5
jle 0x1006ec27
mov esi, dword [esp + 0x1a4]
mov ebp, 5
jmp 0x1006ebe0
fld dword [esp + edi*4 + 0x5c]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + edi*4 + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 8]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp]
call fcn.1006e590
add ebp, 6
lea eax, [ebx - 2]
add esp, 0x18
add edi, 6
cmp ebp, eax
jl 0x1006ebe0
lea ecx, [edi + 1]
cmp ecx, ebx
jge 0x1006ea02
fld dword [esp + edi*4 + 0x4c]
mov esi, dword [esp + 0x1a4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.1006e540
fldz
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x1006e887
cmp ebx, 8
fstp st(0)
jl 0x1006ea02
lea eax, [ebx - 6]
cmp eax, 1
jle 0x1006eca7
mov esi, dword [esp + 0x1a4]
fld dword [esp + edi*4 + 0x4c]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x50]
fstp dword [esp]
call fcn.1006e540
add ebp, 2
lea eax, [ebx - 6]
add esp, 8
add edi, 2
cmp ebp, eax
jl 0x1006ec80
lea edx, [edi + 5]
cmp edx, ebx
jge 0x1006ea02
fld dword [esp + edi*4 + 0x5c]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + edi*4 + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + edi*4 + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + edi*4 + 0x68]
fstp dword [esp + 8]
fld dword [esp + edi*4 + 0x64]
fstp dword [esp + 4]
fld dword [esp + edi*4 + 0x60]
fstp dword [esp]
call fcn.1006e590
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x1006e887
cmp ebx, 4
jl case.default.0x1006eeee
test bl, 1
fst dword [esp + 0x10]
je 0x1006ed22
fld dword [esp + 0x48]
mov edi, ebp
fstp dword [esp + 0x10]
lea ebp, [edi + 3]
cmp ebp, ebx
jge 0x1006f257
lea edi, [esp + edi*4 + 0x50]
jmp 0x1006ed37
mov esi, dword [esp + 0x14]
sub esp, 0x18
cmp esi, 0x1b
mov esi, dword [esp + 0x1bc]
jne 0x1006ed6b
fstp dword [esp + 0x14]
fld dword [edi + 4]
fstp dword [esp + 0x10]
fld dword [edi]
fstp dword [esp + 0xc]
fld dword [edi - 4]
fstp dword [esp + 8]
fld dword [esp + 0x28]
fstp dword [esp + 4]
fld dword [edi - 8]
jmp 0x1006ed8e
fld dword [edi + 4]
fstp dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [edi]
fstp dword [esp + 0xc]
fld dword [edi - 4]
fstp dword [esp + 8]
fld dword [edi - 8]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.1006e590
fldz
add ebp, 4
add esp, 0x18
fst dword [esp + 0x10]
add edi, 0x10
cmp ebp, ebx
jl 0x1006ed33
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x1006e887
cmp dword [esp + 0x38], 0
jne case.0x1006e8bf.29
mov ebp, dword [esp + 0x19c]
cmp dword [ebp + 0x78], 0
je 0x1006edff
mov eax, dword [esp + 0x1a0]
push eax
mov ebx, ebp
lea edi, [esp + 0x10c]
call fcn.1006e6c0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], 1
jmp 0x1006ee10
mov ebp, dword [esp + 0x19c]
cmp ebx, 1
jl case.default.0x1006eeee
fld dword [esp + ebx*4 + 0x44]
sub ebx, 1
mov dword [esp + 0x10], ebx
call fcn.10114560
mov edx, dword [esp + 0x30]
cmp edx, 0xa
jge case.default.0x1006eeee
mov edi, dword [esp + 0x1c]
lea ecx, [edx + edx*2]
lea ecx, [esp + ecx*4 + 0x120]
mov dword [ecx], edi
mov edi, dword [esp + 0x20]
add edx, 1
cmp esi, 0xa
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [ecx + 8], edi
lea edx, [esp + 0x3c]
je 0x1006ee67
lea edx, [ebp + 0x4c]
mov esi, dword [edx]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ecx + 4], esi
lea esi, [esp + 0x120]
mov dword [ecx + 8], edx
call fcn.1006e630
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
je case.default.0x1006eeee
mov dword [esp + 0x20], 0
jmp 0x1006e887
mov eax, dword [esp + 0x30]
test eax, eax
jle case.default.0x1006eeee
sub eax, 1
mov dword [esp + 0x30], eax
lea eax, [eax + eax*2]
lea eax, [esp + eax*4 + 0x120]
jmp 0x1006e873
lea ecx, [esp + 0x1c]
call fcn.1006ccd0
movzx eax, al
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1006eeee
jmp dword [eax*4 + 0x1006f2f4]
cmp ebx, 7
jl case.default.0x1006eeee
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fst dword [esp + 0x14]
fld dword [esp + 0x6c]
fstp dword [esp + 0x10]
fld dword [esp + 0x68]
fstp dword [esp + 0xc]
fld dword [esp + 0x64]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.1006e590
fldz
fst dword [esp + 0x14]
fld dword [esp + 0x78]
fstp dword [esp + 0x10]
fld dword [esp + 0x68]
fchs
fstp dword [esp + 0xc]
fld dword [esp + 0x74]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.1006e590
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x1006e887
cmp ebx, 0xd
fstp st(0)
jl 0x1006ea02
fld dword [esp + 0x5c]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + 0x68]
fstp dword [esp + 8]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.1006e590
fld dword [esp + 0x8c]
fstp dword [esp + 0x14]
fld dword [esp + 0x88]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x78]
fstp dword [esp]
call fcn.1006e590
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x1006e887
cmp ebx, 9
jl case.default.0x1006eeee
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x70]
fstp dword [esp + 0x10]
fld dword [esp + 0x6c]
fstp dword [esp + 0xc]
fld dword [esp + 0x68]
fstp dword [esp + 8]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.1006e590
fld dword [esp + 0x6c]
fadd dword [esp + 0x64]
fld dword [esp + 0x7c]
fld st(0)
faddp st(2)
fxch st(1)
fchs
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x80]
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [esp + 0x78]
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [esp + 0x74]
fstp dword [esp]
call fcn.1006e590
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x1006e887
cmp ebx, 0xb
fstp st(0)
jl 0x1006ea02
fld dword [esp + 0x70]
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x50]
fld st(0)
fadd dword [esp + 0x48]
fld dword [esp + 0x58]
fld st(0)
faddp st(2)
fld dword [esp + 0x60]
faddp st(2)
fld dword [esp + 0x68]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x54]
fld st(0)
fadd dword [esp + 0x4c]
fld dword [esp + 0x5c]
fld st(0)
faddp st(2)
fld dword [esp + 0x64]
faddp st(2)
fld dword [esp + 0x6c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x34]
fld st(0)
fabs
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fld dword [esp + 0x18]
fld st(0)
fabs
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x1006f14f
fstp st(1)
fchs
fstp dword [esp + 0x14]
jmp 0x1006f157
fstp st(0)
fchs
fstp dword [esp + 0x10]
mov esi, dword [esp + 0x1a4]
sub esp, 0x18
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.1006e590
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fstp dword [esp + 0x10]
fld dword [esp + 0x84]
fstp dword [esp + 0xc]
fld dword [esp + 0x80]
fstp dword [esp + 8]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x78]
fstp dword [esp]
call fcn.1006e590
fldz
mov dword [esp + 0x28], 0
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x1006e887
cmp esi, 0xff
je 0x1006f231
cmp esi, 0x1c
je 0x1006f1f3
add esi, 0xffffffe0
cmp esi, 0xde
ja case.default.0x1006eeee
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.1006cd30
add esp, 4
call fcn.1006ce50
movsx ecx, ax
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
cmp ebx, 0x30
fstp dword [esp + 0x10]
jge case.default.0x1006eeee
fld dword [esp + 0x10]
fstp dword [esp + ebx*4 + 0x48]
add ebx, ebp
mov dword [esp + 0x10], ebx
jmp 0x1006e887
mov eax, 4
lea ecx, [esp + 0x1c]
call fcn.1006cd40
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x101a55c8]
jmp 0x1006f211
test ebp, ebp
je 0x1006e887
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
jmp 0x1006e887
mov esi, dword [esp + 0x1a4]
fstp st(0)
call fcn.1006e490
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x188
ret