Function at 0x100a7c80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5317
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a8
mov eax, dword [0x10122c00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
xor edi, edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x11c], eax
mov eax, dword [0x1012deec]
mov dword [ebp - 0x110], esi
mov dword [ebp - 0xfc], edi
test al, 1
jne 0x100a7d0e
or eax, 1
mov dword [0x1012deec], eax
mov eax, dword [0x1012b348]
mov dword [0x1012ded8], eax
mov dword [0x1012dedc], edi
mov dword [0x1012dee0], edi
mov dword [0x1012dee4], edi
mov dword [0x1012dee8], edi
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x114], 4
lea eax, [ebp - 0x74]
movss dword [ebp - 0x108], xmm0
push 0
push eax
movss dword [ebp - 0x120], xmm0
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call sub.VCRUNTIME140.dll_memset
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x78], edi
lea eax, [ebp - 0xcc]
push 0
push eax
movups xmmword [ebp - 0x98], xmm0
movups xmmword [ebp - 0x88], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1012deec]
xorps xmm0, xmm0
add esp, 0x18
mov dword [ebp - 0xd0], edi
movups xmmword [ebp - 0xf0], xmm0
movups xmmword [ebp - 0xe0], xmm0
test al, 2
jne 0x100a7e09
or eax, 2
mov dword [0x1012deec], eax
mov eax, dword [0x1012b178]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x104], eax
test eax, eax
je 0x100a7e04
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x100a7dc0
xor edx, edx
test ecx, ecx
je 0x100a7def
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a7dd0
mov eax, dword [ebp - 0x104]
cmp esi, 0x8208957b
je 0x100a7e47
mov eax, dword [eax + 4]
mov dword [ebp - 0x104], eax
test eax, eax
jne 0x100a7db4
mov edi, eax
mov esi, dword [ebp - 0x110]
mov dword [0x1012def0], eax
mov ecx, dword [esi]
cmp ecx, dword [0x10128b58]
jne 0x100a7e4f
mov eax, dword [0x101292cc]
mov ecx, dword [0x101292d4]
movss xmm4, dword [0x10128b60]
movss xmm5, dword [0x10128b64]
movss xmm3, dword [0x10128b68]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x104], ecx
jmp 0x100a812a
mov edi, dword [ebp - 0xfc]
jmp 0x100a7dfe
mov eax, dword [0x1012b45c]
add eax, 0xffffffa1
xor eax, 0x6154a916
mov eax, dword [eax + ecx]
mov ecx, dword [0x1012b180]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x100a8b68
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov dword [ebp - 0x104], eax
test eax, eax
je 0x100a8b68
mov edx, dword [ebp - 0x110]
mov ecx, dword [0x1012b378]
mov eax, dword [0x1012b43c]
add ecx, 0xffffffda
xor ecx, 0x6154a8dd
add eax, 0xffffffa9
mov edx, dword [edx]
xor eax, 0x6154a90e
movss xmm4, dword [ecx + edx]
movss xmm5, dword [ecx + edx + 4]
movss xmm3, dword [ecx + edx + 8]
addss xmm4, dword [eax + edx]
addss xmm5, dword [eax + edx + 4]
addss xmm3, dword [eax + edx + 8]
mov eax, dword [0x1012b338]
movss dword [ebp - 0xf4], xmm4
movss dword [ebp - 0x100], xmm5
mov esi, dword [edx + eax]
movss dword [ebp - 0x18], xmm3
mov dword [ebp - 0x34], esi
test esi, esi
je 0x100a811e
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x100a811e
cmp byte [esi + 0x109], 0
jne 0x100a7f59
movss xmm0, dword [esi + 0xa4]
comiss xmm0, dword [ebp - 0x108]
ja 0x100a7f59
mov eax, dword [0x1012b460]
add eax, 0xffffffa0
xor eax, 0x6154a917
mov eax, dword [eax + ecx]
mov ecx, dword [0x1012b180]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x100a8109
mov esi, dword [ebp - 0x34]
mov eax, dword [0x10129404]
test al, 1
jne 0x100a8035
or eax, 1
mov dword [0x10129404], eax
push 0x32
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0x100c9600
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x130], 0
call fcn.10027040
mov eax, dword [0x1012b134]
mov byte [ebp - 4], 1
test eax, eax
je 0x100a7fbd
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x118], ecx
jmp 0x100a7fc7
mov dword [ebp - 0x118], 0
mov eax, dword [0x1012b12c]
test eax, eax
je 0x100a7fdd
mov eax, dword [eax + 0x18]
mov edx, 4
mov dword [ebp - 0x38], eax
jmp 0x100a7fe9
mov dword [ebp - 0x38], 0
mov edx, 8
mov ecx, edx
lea eax, [ebp - 0x144]
and ecx, 0xfffffff7
test dl, 8
push eax
push dword [ebp - 0x118]
cmove ecx, edx
lea eax, [ebp - 0x34]
push dword [ebp - 0x38]
mov edi, ecx
and edi, 0xfffffffb
test cl, 4
push eax
cmove edi, ecx
call fcn.1002f290
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x144]
add esp, 0x10
mov dword [0x10129400], eax
call fcn.1002a350
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10129400]
mov ecx, dword [esi + 0x60]
push str.head_0
call eax
test eax, eax
je 0x100a8109
mov ecx, dword [esi + 0x60]
mov esi, dword [ecx + 0x2900]
test esi, esi
je 0x100a8109
mov eax, dword [0x10129400]
push str.head_0
call eax
movss xmm3, dword [ebp - 0x18]
lea eax, [eax + eax*2]
add eax, eax
movss xmm2, dword [esi + eax*8 + 0x2c]
comiss xmm3, xmm2
movss dword [ebp - 0x38], xmm2
jbe 0x100a810e
movaps xmm0, xmm3
movss xmm4, dword [ebp - 0x108]
subss xmm0, xmm2
subss xmm0, dword [0x100c91d4]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100c96f0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x100a80dd
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm3, dword [ebp - 0x18]
add esp, 8
movss xmm2, dword [ebp - 0x38]
fstp dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x34]
movaps xmm0, xmm4
subss xmm2, xmm3
mulss xmm0, xmm4
movaps xmm1, xmm0
addss xmm0, xmm0
mulss xmm1, dword [0x100c9728]
mulss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm2
addss xmm3, xmm1
jmp 0x100a810e
movss xmm3, dword [ebp - 0x18]
movss xmm4, dword [ebp - 0xf4]
movss xmm5, dword [ebp - 0x100]
mov esi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x104]
movss xmm2, dword [esi + 8]
movss xmm0, dword [esi + 0x10]
subss xmm2, xmm4
movss xmm7, dword [esi + 0xc]
subss xmm0, xmm3
subss xmm7, xmm5
movss dword [ebp - 0x124], xmm3
movss dword [ebp - 0x128], xmm5
movss dword [ebp - 0x12c], xmm4
movss xmm1, dword [ecx + 0xf8]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x100], xmm1
movaps xmm0, xmm7
mulss xmm0, xmm7
movaps xmm1, xmm2
mov eax, dword [esi]
mulss xmm1, xmm2
movd xmm6, dword [ecx + 0xec]
cvtdq2ps xmm6, xmm6
mov dword [0x1012dedc], eax
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm6, dword [ebp - 0x108]
mulss xmm0, xmm0
movss dword [ebp - 0xf4], xmm6
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [0x100c8708]
addss xmm0, dword [0x100c86ec]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm7, xmm1
mulss xmm0, xmm2
movss dword [ebp - 0x20], xmm7
movaps xmm2, xmm0
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x18]
mulss xmm0, xmm1
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x1c], xmm0
movss xmm1, dword [ecx + 0x104]
movss dword [ebp - 0x18], xmm0
jbe 0x100a8b68
nop dword [eax + eax]
subss xmm1, dword [ebp - 0x120]
movaps xmm6, xmm4
mov dword [ebp - 0x194], 0
mov byte [ebp - 0x16b], 1
movaps xmm0, xmm1
movss dword [ebp - 0x118], xmm1
mulss xmm0, xmm2
movss xmm2, dword [ebp - 0x118]
mulss xmm2, dword [ebp - 0x18]
mulss xmm1, xmm7
addss xmm6, xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
movaps xmm1, xmm3
addss xmm1, xmm2
movss dword [ebp - 0x38], xmm6
movaps xmm2, xmm6
subss xmm2, xmm4
movss dword [ebp - 0x18], xmm0
subss xmm0, xmm5
movss dword [ebp - 0x34], xmm1
subss xmm1, xmm3
movss dword [ebp - 0x1a0], xmm2
mulss xmm2, xmm2
movss dword [ebp - 0x19c], xmm0
mulss xmm0, xmm0
movss dword [ebp - 0x198], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
ucomiss xmm2, dword [ebp - 0x108]
lahf
test ah, 0x44
jp 0x100a82bc
mov byte [ebp - 0x16b], 0
mov ecx, dword [0x1012b198]
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x170], 0
lea edx, [ebp - 0x1b0]
mov byte [ebp - 0x16c], 1
movss dword [ebp - 0x1b0], xmm4
movss dword [ebp - 0x1ac], xmm5
movss dword [ebp - 0x1a8], xmm3
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x180], 0
mov eax, dword [ecx]
push 0x1012ded8
push 0x4600400b
push edx
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [esi + 4]
test eax, eax
je 0x100a83d1
movss xmm1, dword [0x100caaa8]
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm1
push ecx
mov dword [esp], 0xc2700000
push eax
addss xmm0, dword [ebp - 0x38]
lea eax, [ebp - 0x98]
push eax
push 0x4600400b
lea eax, [ebp - 0x154]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x20]
mulss xmm0, xmm1
push eax
lea eax, [ebp - 0x12c]
push eax
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x150], xmm0
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x14c], xmm0
call fcn.100a7200
add esp, 0x18
jmp 0x100a8579
movss xmm3, dword [0x100caaa8]
lea eax, [ebp - 0x98]
movss xmm2, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x1c]
mulss xmm2, xmm3
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x160]
mulss xmm1, xmm3
mov dword [ebp - 0x40], 0x1012ded8
addss xmm2, dword [ebp - 0x38]
mulss xmm0, xmm3
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x12c]
addss xmm1, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0xc2700000
addss xmm0, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1012de94]
movss dword [ebp - 0x160], xmm2
movss dword [ebp - 0x15c], xmm1
movss dword [ebp - 0x158], xmm0
test al, 1
jne 0x100a8553
or eax, 1
mov dword [0x1012de94], eax
push 0x1c
xorps xmm0, xmm0
mov dword [ebp - 4], 2
push str.E8_________83_C4_14_8A_56_37
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x130], 0
call fcn.10027040
mov eax, dword [0x1012b134]
mov byte [ebp - 4], 3
test eax, eax
je 0x100a84a2
mov esi, dword [eax + 0x50]
jmp 0x100a84a4
xor esi, esi
mov eax, dword [0x1012b12c]
test eax, eax
je 0x100a84b5
mov edx, dword [eax + 0x18]
or edi, 1
jmp 0x100a84ba
or edi, 2
xor edx, edx
mov eax, edi
mov ecx, edi
and ecx, 0xfffffffd
test al, 2
lea eax, [ebp - 0x144]
cmove ecx, edi
push eax
mov edi, ecx
lea eax, [ebp - 0x148]
push esi
and edi, 0xfffffffe
test cl, 1
push edx
push eax
cmove edi, ecx
call fcn.1002f290
mov eax, dword [ebp - 0x148]
add esp, 0x10
test eax, eax
je 0x100a8503
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100a84fe
xor eax, eax
jmp 0x100a8503
add eax, 5
add eax, ecx
mov ecx, dword [ebp - 0x130]
mov dword [0x1012de90], eax
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x100a8546
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a853c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8ae4
push ecx
push edx
call fcn.100ba3c8
add esp, 8
mov esi, dword [ebp - 0x110]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x1012de90], 0
je 0x100a8579
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x4600400b
call dword [0x1012de90]
add esp, 0x10
movss xmm0, dword [ebp - 0x6c]
ucomiss xmm0, dword [0x100c8708]
lahf
test ah, 0x44
jnp 0x100a8b68
mulss xmm0, dword [ebp - 0x118]
mov eax, dword [ebp - 0x104]
addss xmm0, dword [ebp - 0x120]
movaps xmm1, xmm0
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x120], xmm1
mulss xmm1, dword [0x100cf558]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
movss xmm1, dword [ebp - 0xf4]
mov ecx, dword [esi + 4]
mulss xmm1, xmm0
movss dword [ebp - 0xf4], xmm1
test ecx, ecx
je 0x100a86a4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100a86f9
cmp eax, ecx
jne 0x100a86f9
mov ecx, dword [ebp - 0x54]
cmp ecx, 1
jl 0x100a8604
cmp ecx, 7
jle 0x100a860d
cmp ecx, 0xa
jne 0x100a86f9
mov eax, dword [0x1012b474]
xor edi, edi
mov edx, dword [ebp - 0xfc]
add eax, 0xffffff9b
xor eax, 0x6154a91c
cmp dword [eax + edx], 0x1f
mov edx, dword [ebp - 0x11c]
cmove ecx, edi
cmp dword [ebp - 0x114], 4
push ecx
setne al
sub esp, 8
mov byte [edx + 0x10], al
mov eax, dword [ebp - 0x48]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [edx + 8], ecx
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push dword [esi + 4]
call fcn.100a8b90
mov ecx, dword [ebp - 0x11c]
fstp dword [ebp - 0xfc]
movss xmm0, dword [ebp - 0xfc]
movss dword [ecx + 4], xmm0
mov eax, dword [esi + 4]
mov dword [ecx], eax
add esp, 0x10
cmp dword [ebp - 0x114], 4
jne 0x100a8aea
comiss xmm0, dword [esi + 0x14]
setae al
jmp 0x100a8b6a
cmp dword [ebp - 0x114], 4
mov ecx, dword [ebp - 0x11c]
setne al
mov byte [ecx + 0x10], al
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x100a86ee
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100a86e6
mov ecx, dword [ebp - 0x54]
cmp ecx, 1
jl 0x100a86dd
cmp ecx, 7
jle 0x100a8af3
cmp ecx, 0xa
je 0x100a8af3
movss xmm1, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x11c]
movss dword [eax + 4], xmm1
cmp byte [esi + 0x1c], 0
je 0x100a8b68
cmp byte [ebp - 0x61], 0
jne 0x100a8b68
mov ecx, dword [0x1012b1bc]
movsx edx, word [ebp - 0x58]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x120]
mov esi, eax
comiss xmm0, dword [0x100cf568]
mov dword [ebp - 0x18], esi
movss xmm1, dword [ebp - 0x100]
movss xmm0, dword [ebp - 0x108]
jbe 0x100a8752
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100a8b68
movss xmm2, dword [0x100c96e8]
comiss xmm2, dword [esi + 0x58]
ja 0x100a8b68
mov edx, dword [ebp - 0x68]
mov ecx, edx
mov al, byte [ebp - 0x56]
movzx esi, word [esi + 0x60]
sar edx, 3
and dl, 1
shr al, 7
shr ecx, 3
and al, 1
and ecx, 0xffffff01
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x114]
mov byte [ebp - 0x109], al
mov dword [ebp - 0x40], ecx
test edx, edx
jne 0x100a87b0
test al, al
jne 0x100a87b0
test cl, cl
jne 0x100a87b0
cmp esi, 0x47
je 0x100a87b0
cmp esi, 0x59
jne 0x100a8b68
comiss xmm0, xmm1
jae 0x100a8b68
test edx, edx
jle 0x100a8b68
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.100a75f0
add esp, 0x14
test al, al
jne 0x100a880c
mov ecx, dword [0x1012b198]
lea edx, [ebp - 0x30]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x100a8b68
mov ecx, dword [0x1012b1bc]
movsx edx, word [ebp - 0xb0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
cmp byte [ebp - 0x40], 0
mov edx, eax
movss xmm0, dword [0x100cf560]
movss dword [ebp - 0x34], xmm0
movzx ecx, word [edx + 0x60]
mov eax, ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x38], eax
jne 0x100a88b8
cmp byte [ebp - 0x109], 0
jne 0x100a88b8
cmp esi, 0x59
je 0x100a88d7
cmp esi, 0x47
je 0x100a88b8
cmp byte [ebp - 0x3c], 0
jne 0x100a88c2
cmp esi, 0x46
jne 0x100a8899
mov ecx, dword [0x1012def0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
ucomiss xmm1, dword [ebp - 0x108]
lahf
test ah, 0x44
jnp 0x100a8b68
movss xmm0, dword [0x100c9728]
mov eax, dword [ebp - 0x38]
jmp 0x100a88ef
mov ecx, dword [ebp - 0x18]
movss xmm1, dword [edx + 0x58]
movss xmm0, dword [0x100c9728]
addss xmm1, dword [ecx + 0x58]
mulss xmm1, dword [0x100c86fc]
jmp 0x100a88ef
cmp esi, 0x59
je 0x100a88d7
cmp esi, 0x47
je 0x100a88d7
movss xmm2, dword [0x100c8708]
movss xmm0, dword [0x100c9728]
movaps xmm1, xmm2
jmp 0x100a88f7
movss xmm0, dword [0x100c9728]
movss xmm2, dword [0x100ce844]
movaps xmm1, xmm0
movss dword [ebp - 0x34], xmm2
movss xmm2, dword [0x100c8708]
cmp esi, eax
jne 0x100a891c
cmp eax, 0x55
je 0x100a8919
cmp eax, 0x57
je 0x100a8919
cmp word [ebp - 0xf8], 0x4c
jne 0x100a891c
movss xmm1, dword [0x100c9834]
jmp 0x100a891c
movaps xmm1, xmm0
movss xmm0, dword [ebp - 0xe4]
sub esp, 8
subss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0xe0]
subss xmm0, dword [ebp - 0x88]
movss dword [ebp - 0xf8], xmm0
movss xmm0, dword [ebp - 0xdc]
subss xmm0, dword [ebp - 0x84]
movss dword [ebp - 0x3c], xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [esp + 4], xmm0
movss dword [ebp - 0x38], xmm0
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm1, dword [ebp - 0xf8]
movss xmm0, dword [ebp - 0x40]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x3c]
mulss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [0x100cf564]
divss xmm0, dword [ebp - 0x100]
movss dword [ebp - 0xf8], xmm1
fmul dword [ebp - 0xf8]
movss dword [esp + 4], xmm0
mov dword [esp], 0
fmul dword [0x100cf55c]
fstp dword [ebp - 0x3c]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [ebp - 0x38]
movss dword [esp + 4], xmm0
fstp dword [ebp - 0x40]
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm2, dword [ebp - 0x34]
mulss xmm2, dword [ebp - 0xf4]
fstp dword [ebp - 0xf8]
movss xmm0, dword [ebp - 0xf8]
mulss xmm0, dword [ebp - 0x40]
mulss xmm0, dword [0x100c9728]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x3c]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm6, dword [ebp - 0xf4]
add esp, 8
fstp dword [ebp - 0xf8]
movss xmm0, dword [ebp - 0xf8]
comiss xmm0, xmm6
ja 0x100a8b68
comiss xmm0, dword [ebp - 0x108]
jbe 0x100a8a76
subss xmm6, xmm0
movss dword [ebp - 0xf4], xmm6
movss xmm0, dword [0x100c8708]
comiss xmm0, xmm6
ja 0x100a8b68
movss xmm4, dword [ebp - 0xe4]
movss xmm5, dword [ebp - 0xe0]
movss xmm3, dword [ebp - 0xdc]
movss xmm0, dword [ebp - 0x1c]
dec dword [ebp - 0x114]
movss xmm7, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x118]
mov esi, dword [ebp - 0x110]
movss dword [ebp - 0x12c], xmm4
movss dword [ebp - 0x128], xmm5
movss dword [ebp - 0x124], xmm3
movss dword [ebp - 0x18], xmm0
jmp 0x100a8210
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
comiss xmm0, dword [esi + 0x18]
setae al
jmp 0x100a8b6a
mov eax, dword [0x1012b474]
xor edi, edi
mov edx, dword [ebp - 0xfc]
add eax, 0xffffff9b
movss xmm1, dword [ebp - 0xf4]
xor eax, 0x6154a91c
cmp dword [eax + edx], 0x1f
mov eax, dword [ebp - 0x48]
cmove ecx, edi
mov edi, dword [ebp - 0x11c]
push ecx
sub esp, 8
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [edi + 8], ecx
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push dword [ebp - 0x4c]
call fcn.100a8b90
mov eax, dword [ebp - 0x4c]
fstp dword [ebp - 0xfc]
movss xmm0, dword [ebp - 0xfc]
movss dword [edi + 4], xmm0
mov dword [edi], eax
jmp 0x100a8688
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ba6fe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret