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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0xdc], eax
mov eax, dword [0x10229e7c]
mov dword [esp + 0x18], ecx
push esi
push edi
mov ecx, dword [eax]
movss dword [esp + 0x18], xmm0
test ecx, ecx
je case.0x101170ed.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x101170ed.0
mov eax, dword [0x10227c40]
cmp byte [eax + 0x3490], 0
je case.0x101170ed.0
mov ecx, dword [eax + 0x34a8]
add eax, 0x34a8
cmp ecx, 3
ja case.0x101170ed.0
jmp dword [ecx*4 + 0x10117bcc]
mov ecx, eax
call fcn.100cae00
jmp 0x10117100
mov al, byte [eax + 0x20]
test al, al
je case.0x101170ed.0
mov eax, dword [0x10227c48]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je case.0x101170ed.0
mov eax, dword [0x10227c48]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je case.0x101170ed.0
mov eax, dword [0x10229e7c]
mov ecx, dword [eax]
call fcn.1007e090
test byte [eax], 1
jne case.0x101170ed.0
mov eax, dword [0x10229e7c]
mov ecx, dword [0x102296ac]
mov esi, dword [eax]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov ecx, dword [0x10233a54]
mov dword [esp + 0x1c], edi
cmp ecx, dword [edi + 4]
jle 0x101171b9
push 0x10233a54
call fcn.1019d7b4
mov ecx, dword [0x10233a54]
add esp, 4
cmp ecx, 0xffffffff
jne 0x101171b9
mov edx, 0xc60bf9f2
mov ecx, 0x101ef839
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10233a54
mov dword [0x10233a38], eax
call fcn.1019d76a
mov ecx, dword [0x10233a54]
add esp, 4
mov eax, dword [0x10233a38]
cmp dword [esi + eax + 1], 8
je case.0x101170ed.0
mov eax, dword [0x10229e7c]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x10117216
push 0x10233a54
call fcn.1019d7b4
add esp, 4
cmp dword [0x10233a54], 0xffffffff
jne 0x10117216
mov edx, 0xc60bf9f2
mov ecx, 0x101ef839
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10233a54
mov dword [0x10233a38], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10233a38]
cmp dword [esi + eax + 1], 9
je case.0x101170ed.0
mov eax, dword [0x10227c3c]
mov edx, dword [0x10233cac]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jl 0x101173a9
cmp eax, dword [0x10233cb0]
jg 0x101173a9
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x30]
mov eax, ecx
or eax, 4
and ecx, 0xfffffffb
cmp byte [0x10233ca8], 0
cmovne ecx, eax
mov dword [esi + 0x30], ecx
cmp byte [0x10233cb4], 0
je 0x10117387
movss xmm0, dword [0x10233cbc]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [0x10233cc0]
movss dword [esi + 0x28], xmm0
mov eax, dword [0x10227c3c]
push ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
sub eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10233cb8]
addss xmm0, dword [0x10233cc4]
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fstp dword [esp]
call fcn.101a98e0
add esp, 4
test ax, ax
jle 0x101172e9
xorps xmm1, xmm1
movss dword [esi + 0x10], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
movss xmm1, dword [esp + 0xc]
comiss xmm1, dword [0x101ff5b0]
jb 0x10117305
movss xmm0, dword [0x101ff40c]
comiss xmm0, xmm1
jae 0x1011736e
movaps xmm0, xmm1
divss xmm0, dword [0x101ff484]
push ecx
andps xmm0, xmmword [0x101ffbc0]
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.101adcf6
movss xmm1, dword [esp + 0x10]
xorps xmm0, xmm0
fstp dword [esp + 0x14]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x101ff484]
jbe 0x1011736a
addss xmm1, xmm0
movss dword [esi + 0x10], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
subss xmm1, xmm0
movss dword [esi + 0x10], xmm1
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10229e7c]
mov ecx, dword [ecx]
call fcn.1007df40
mov eax, dword [0x1022a00c]
cmp eax, dword [edi + 4]
jle 0x10117401
push 0x1022a00c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a00c], 0xffffffff
jne 0x10117401
mov edx, 0xc60bf9f2
mov ecx, 0x101eef55
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a00c
mov dword [0x10229f60], eax
call fcn.1019d76a
add esp, 4
mov ecx, dword [0x10229e7c]
mov ecx, dword [ecx]
call fcn.1007e090
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x30]
mov eax, dword [0x10227c40]
movss xmm2, dword [0x101ff40c]
movss xmm0, dword [esi + 0x24]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0x28]
movss dword [esp + 0x10], xmm0
movq xmm0, qword [esi + 0xc]
movq qword [esp + 0x60], xmm0
movd xmm0, dword [eax + 0x3498]
lea eax, [esp + 0x34]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [esi + 0x10]
divss xmm2, xmm0
subss xmm1, dword [esp + 0x18]
movaps xmm0, xmm2
movss dword [esp + 0x38], xmm2
xorps xmm0, xmmword [0x101ffbf0]
movss dword [esp + 0x30], xmm0
comiss xmm0, xmm1
movss dword [esp + 0x34], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x38]
comiss xmm1, xmm2
cmovbe eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [0x10227c3c]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x1c]
cmp ecx, dword [0x10233cac]
jl 0x101174b1
cmp ecx, dword [0x10233cb0]
jle 0x10117bb3
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop word [eax + eax]
mov ecx, dword [0x10227c48]
mov eax, dword [eax + 0x184]
mov ecx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x1c]
dec ecx
push ecx
push 0
call eax
movss xmm0, dword [esp + 0x64]
lea edi, [esp + 0x78]
mov eax, dword [esp + 0xc]
mov ecx, 0x19
movss dword [0x10233cc4], xmm0
rep movsd dword es:[edi], dword [esi]
test eax, eax
jne 0x10117520
or dword [esp + 0xa8], 4
mov byte [0x10233ca8], 1
mov byte [0x10233cb4], al
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
jmp 0x101175b8
cmp eax, 1
jne 0x10117544
mov byte [0x10233cb4], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jmp 0x101175a9
cmp eax, 2
jne 0x1011757f
movss xmm0, dword [esp + 0x2c]
or dword [esp + 0xa8], 4
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x10]
mov byte [0x10233ca8], 1
mov byte [0x10233cb4], 1
movss dword [esp + 0xa0], xmm0
jmp 0x101175b8
cmp eax, 3
jne 0x101175b8
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x10]
mov byte [0x10233cb4], 1
movss dword [esp + 0xa0], xmm0
and dword [esp + 0xa8], 0xfffffffb
mov byte [0x10233ca8], 0
mov ecx, dword [0x104e5bd0]
cmp dword [0x104e5bcc], ecx
mov eax, dword [0x10229e7c]
cmovne ecx, dword [0x104e5bcc]
mov dword [0x104e5bd0], ecx
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax]
mov eax, dword [0x1022a00c]
cmp eax, dword [ecx + 4]
jle 0x10117627
push 0x1022a00c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a00c], 0xffffffff
jne 0x10117627
mov edx, 0xc60bf9f2
mov ecx, 0x101eef55
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a00c
mov dword [0x10229f60], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229e7c]
mov esi, dword [0x10229f60]
mov ecx, dword [eax]
call fcn.1007df40
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
mov eax, dword [edi + esi + 8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [edi + esi]
push eax
movq qword [esp + 0x58], xmm0
call fcn.10144530
mov eax, dword [0x10227c40]
xor edi, edi
mov dword [esp + 0x28], edi
cmp dword [eax + 0x3498], edi
jle 0x10117ade
nop
mov eax, dword [0x10229e7c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, dword [0x1022a00c]
cmp eax, dword [ecx + 4]
jle 0x101176d6
push 0x1022a00c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a00c], 0xffffffff
jne 0x101176d6
mov edx, 0xc60bf9f2
mov ecx, 0x101eef55
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a00c
mov dword [0x10229f60], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229f60]
movq xmm0, qword [esi + eax]
mov eax, dword [esi + eax + 8]
mov dword [esp + 0x44], eax
mov eax, dword [0x10229e7c]
movq qword [esp + 0x3c], xmm0
mov ecx, dword [eax]
call fcn.1007e090
mov ecx, dword [0x10229e7c]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov dword [esp + 8], eax
call fcn.1007df40
cmp byte [0x10233cb4], 0
mov esi, dword [esp + 0x18]
je 0x101177c6
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push ecx
mulss xmm0, dword [esi]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.101a98e0
add esp, 4
test ax, ax
jle 0x1011774f
xorps xmm1, xmm1
jmp 0x101177bd
movss xmm1, dword [esp + 0x24]
comiss xmm1, dword [0x101ff5b0]
jb 0x1011776b
movss xmm0, dword [0x101ff40c]
comiss xmm0, xmm1
jae 0x101177bd
movaps xmm0, xmm1
divss xmm0, dword [0x101ff484]
push ecx
andps xmm0, xmmword [0x101ffbc0]
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.101adcf6
movss xmm1, dword [esp + 0x28]
xorps xmm0, xmm0
fstp dword [esp + 0x18]
add esp, 4
comiss xmm0, xmm1
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x101ff484]
jbe 0x101177b9
addss xmm1, xmm0
jmp 0x101177bd
subss xmm1, xmm0
movss dword [esp + 0x88], xmm1
lea ecx, [esp + 0x78]
call fcn.1009a1a0
mov eax, dword [0x10229e7c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax]
mov eax, dword [0x1022a00c]
cmp eax, dword [ecx + 4]
jle 0x10117825
push 0x1022a00c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a00c], 0xffffffff
jne 0x10117825
mov edx, 0xc60bf9f2
mov ecx, 0x101eef55
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a00c
mov dword [0x10229f60], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229f60]
movq xmm0, qword [edi + eax]
mov eax, dword [0x10229e7c]
movq qword [esp + 0x6c], xmm0
mov ecx, dword [eax]
call fcn.1007e090
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [0x10229e7c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [0x1022a00c]
cmp eax, dword [ecx + 4]
jle 0x101178a1
push 0x1022a00c
call fcn.1019d7b4
add esp, 4
cmp dword [0x1022a00c], 0xffffffff
jne 0x101178a1
mov edx, 0xc60bf9f2
mov ecx, 0x101eef55
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x1022a00c
mov dword [0x10229f60], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10229e7c]
mov edi, dword [0x10229f60]
mov ecx, dword [eax]
call fcn.1007df40
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
push eax
movq qword [esp + 0x58], xmm0
call fcn.10144530
mov eax, dword [esp + 0x24]
or eax, dword [esp + 8]
test al, 1
jne 0x10117aca
movss xmm1, dword [esp + 0x6c]
movss xmm0, dword [esp + 0x70]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1011791f
sqrtsd xmm0, xmm0
jmp 0x10117924
call fcn.101c6320
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fstp dword [esp]
call fcn.101adcf6
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
add esp, 4
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10117aca
movss xmm1, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x40]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10117982
sqrtsd xmm0, xmm0
jmp 0x10117987
call fcn.101c6320
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp + 0xc], xmm0
fld dword [esp + 0xc]
fstp dword [esp]
call fcn.101adcf6
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
add esp, 4
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10117aca
mov eax, dword [0x10229e7c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax]
mov eax, dword [0x10233a54]
cmp eax, dword [ecx + 4]
jle 0x10117a14
push 0x10233a54
call fcn.1019d7b4
add esp, 4
cmp dword [0x10233a54], 0xffffffff
jne 0x10117a11
mov edx, 0xc60bf9f2
mov ecx, 0x101ef839
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x10233a54
mov dword [0x10233a38], eax
call fcn.1019d76a
add esp, 4
xorps xmm1, xmm1
mov eax, dword [0x10233a38]
cmp dword [edi + eax + 1], 9
je 0x10117aca
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm1
ja 0x10117aca
mov ecx, dword [0x104e5bd0]
mov eax, 0x2aaaaaab
mov edi, dword [0x104e5bcc]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x10117aae
lea ecx, [eax - 1]
cmp eax, ecx
jbe 0x10117bc7
lea ecx, [ecx + ecx*2]
mov dword [esp + 8], ecx
lea ecx, [eax - 2]
cmp eax, ecx
jbe 0x10117bc7
lea edx, [ecx + ecx*2]
lea ecx, [eax - 3]
cmp eax, ecx
jbe 0x10117bc7
mov eax, dword [esp + 8]
lea ecx, [ecx + ecx*2]
lea edx, [edx*8 + 0xc]
lea ecx, [ecx*8 + 0xc]
add edx, edi
add ecx, edi
lea eax, [eax*8 + 0xc]
add eax, edi
push eax
call fcn.10116d90
test al, al
jne 0x10117afe
mov edi, dword [esp + 0x28]
mov eax, dword [0x10227c40]
inc edi
mov dword [esp + 0x28], edi
cmp edi, dword [eax + 0x3498]
jl 0x10117680
jmp 0x10117ade
mov dword [0x10233cac], 0
mov dword [0x10233cb0], 0
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 4
jge 0x10117bb3
mov eax, dword [0x10227c3c]
mov esi, dword [esp + 0x20]
jmp 0x101174c0
mov eax, dword [0x10227c3c]
mov ecx, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
inc ecx
movss xmm1, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
movss xmm0, dword [esi]
movss dword [0x10233cbc], xmm2
movss dword [0x10233cc0], xmm1
mov eax, dword [eax + 0x1c]
mov dword [0x10233cac], eax
add eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [0x10233cb0], eax
mov eax, dword [esp + 0x20]
movss dword [0x10233cb8], xmm0
cmp ecx, 2
jge 0x10117b78
xorps xmm0, xmm0
movss dword [eax + 0x24], xmm0
movss dword [eax + 0x28], xmm0
test ecx, ecx
jne 0x10117b82
or dword [eax + 0x30], 4
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
movss dword [eax + 0x24], xmm2
movss dword [eax + 0x28], xmm1
cmp ecx, 2
je 0x10117b60
and dword [eax + 0x30], 0xfffffffb
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
mov dword [0x10233cac], 0
mov dword [0x10233cb0], 0
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
call fcn.10033d60
lahf
jnp 269581280
adc byte [eax], cl
jno 0x10117be4
adc ah, dh
jo 0x10117be8
adc ch, bh
jo 0x10117bec
adc ah, cl
int3
int3
int3
int3
int3