Function at 0x100d3fd0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e647d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x100f6008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov ecx, edi
mov dword [ebp - 0x20], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x84]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], eax
call fcn.100ccd40
test al, al
je 0x100d4c39
mov al, 0xb4
mov word [ebp - 0x1c], 0xffff
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x19], al
mov eax, dword [0x1012c384]
mov byte [ebp - 0x1a], 0xe1
test al, 1
jne 0x100d4068
or eax, 1
mov dword [0x1012c384], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1a122bdf
push eax
call fcn.10047eb0
add edi, 8
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d408f
mov eax, dword [eax + 0x14]
jmp 0x100d4092
or eax, 0xffffffff
cmp esi, eax
jne 0x100d42ec
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x10125b08]
mov edx, dword [ebp - 0x20]
add ecx, 0xffffffdb
mov eax, dword [0x100f6024]
xor ecx, 0x1d780df4
movss xmm1, dword [edx + ecx]
movss xmm2, dword [edx + ecx + 4]
subss xmm2, dword [ecx + eax + 4]
subss xmm1, dword [ecx + eax]
movss xmm0, dword [edx + ecx + 8]
subss xmm0, dword [ecx + eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
mulss xmm2, dword [0x100eaaf8]
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x100eab90]
cvttsd2si esi, xmm0
mov dword [ebp - 0x18], esi
test esi, esi
jle 0x100d41d9
cmp esi, 5
jle 0x100d417b
mov eax, 0x66666667
mov ecx, esi
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
sub ecx, eax
je 0x100d4164
dec esi
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
lea ecx, [eax + eax*4]
sub edx, ecx
jne 0x100d4147
mov dword [ebp - 0x18], esi
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
sub esi, eax
jne 0x100d41d9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x50], 0x46206925
push eax
lea edx, [ebp - 0x50]
mov word [ebp - 0x4c], 0x54
lea ecx, [ebp - 0x78]
call fcn.100b5760
add esp, 4
lea ecx, [ebp - 0x38]
push eax
call fcn.10039020
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d41d9
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d41cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d41cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
add esp, 8
cmp dword [ebp - 0x18], 0x96
jge 0x100d42af
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0x54534f48
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x454741
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x64], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4210
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
push 2
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
cvttss2si esi, dword [ebp - 0x44]
push eax
mov ecx, 0x10129234
cvttss2si eax, dword [ebp - 0x40]
push dword [0x100ea180]
push eax
push esi
call fcn.100cd930
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d4286
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d427c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d427c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
add esp, 8
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0x38]
subss xmm0, dword [0x100eac58]
push 2
push eax
push dword [0x100ea180]
mov ecx, 0x10129234
cvttss2si eax, xmm0
push eax
push esi
call fcn.100cd930
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x100d42ec
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d42e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d42e2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dafa1
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x69629121
push eax
call fcn.10047eb0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d4310
mov eax, dword [eax + 0x14]
jmp 0x100d4313
or eax, 0xffffffff
cmp esi, eax
jne 0x100d4412
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100eac58]
cvttss2si eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0xb4404040
push dword [ebp - 0x18]
cvttss2si esi, xmm0
push 0xb9
push ecx
mov ecx, eax
mov edx, esi
call fcn.100cd060
add esp, 0xc
mov dword [ebp - 0x18], 0xb41e1a1a
mov edx, esi
cvttss2si esi, dword [ebp - 0x44]
push dword [ebp - 0x18]
push 0xb4
push ecx
mov ecx, esi
call fcn.100cd060
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x6d
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], 0
add esp, 0xc
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4390
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
mov dword [ebp - 4], 2
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0x78]
subss xmm0, dword [0x100eac88]
push 2
push eax
push dword [ebp - 0x1c]
mov ecx, 0x1012921c
cvttss2si eax, xmm0
push eax
push esi
call fcn.100cd930
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d476a
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d4760
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d4760
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xa239ea8f
push eax
call fcn.10047eb0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d4436
mov eax, dword [eax + 0x14]
jmp 0x100d4439
or eax, 0xffffffff
cmp esi, eax
jne 0x100d44d7
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100eac58]
cvttss2si eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0xb41e1ae2
push dword [ebp - 0x18]
cvttss2si esi, xmm0
push 0xb9
push ecx
mov ecx, eax
mov edx, esi
call fcn.100cd060
add esp, 0xc
mov dword [ebp - 0x18], 0xb41e1a1a
mov edx, esi
cvttss2si esi, dword [ebp - 0x44]
push dword [ebp - 0x18]
push 0xb4
push ecx
mov ecx, esi
call fcn.100cd060
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x6c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], 0
add esp, 0xc
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d44b5
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
mov dword [ebp - 4], 3
jmp 0x100d43ad
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xc09c6702
push eax
call fcn.10047eb0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d44fb
mov eax, dword [eax + 0x14]
jmp 0x100d44fe
or eax, 0xffffffff
cmp esi, eax
jne 0x100d476a
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x100d476a
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x20]
call eax
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
lea edx, [eax + 4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4544
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.10027260
push ecx
mov dword [ebp - 4], 4
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x54], 0x73616c66
mov dword [ebp - 0x50], 0x6e616268
mov word [ebp - 0x4c], 0x67
call fcn.1002e630
cmp eax, 0xffffffff
je 0x100d4694
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100eac58]
cvttss2si eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0xb4404040
push dword [ebp - 0x18]
cvttss2si esi, xmm0
push 0xb9
push ecx
mov ecx, eax
mov edx, esi
call fcn.100cd060
add esp, 0xc
mov dword [ebp - 0x18], 0xb41e1a1a
mov edx, esi
cvttss2si esi, dword [ebp - 0x44]
push dword [ebp - 0x18]
push 0xb4
push ecx
mov ecx, esi
call fcn.100cd060
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x69
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], 0
add esp, 0xc
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4600
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
mov byte [ebp - 4], 5
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0x78]
subss xmm0, dword [0x100eac88]
push 2
push eax
push dword [ebp - 0x1c]
mov ecx, 0x1012921c
cvttss2si eax, xmm0
push eax
push esi
call fcn.100cd930
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d4678
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d466e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d440c
push ecx
push edx
call fcn.100dafa1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x100d476a
mov edx, dword [ebp - 0x38]
inc ecx
jmp 0x100d43ea
mov dword [ebp - 0x54], 0xcbcddeca
xor eax, eax
mov dword [ebp - 0x50], 0xc2c9decb
mov dword [ebp - 0x4c], 0xacc9c8cd
nop dword [eax + eax]
xor byte [ebp + eax - 0x54], 0xac
inc eax
cmp eax, 0xc
jb 0x100d46b0
push ecx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x38]
call fcn.1002e630
cmp eax, 0xffffffff
je 0x100d4678
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100eac58]
cvttss2si eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0xb41e1a1a
push dword [ebp - 0x18]
cvttss2si esi, xmm0
push 0xb4
push ecx
mov ecx, eax
mov edx, esi
call fcn.100cd060
add esp, 0xc
mov dword [ebp - 0x18], 0xb41e1ae2
mov edx, esi
cvttss2si esi, dword [ebp - 0x44]
push dword [ebp - 0x18]
push 0xb9
push ecx
mov ecx, esi
call fcn.100cd060
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x6a
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], 0
add esp, 0xc
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4741
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
mov byte [ebp - 4], 6
jmp 0x100d461a
push ecx
push edx
call fcn.100dafa1
add esp, 8
mov eax, dword [0x10125b08]
add eax, 0xffffffdb
xor eax, 0x1d780df4
add eax, dword [0x100f6024]
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm0, dword [ebp - 0x80]
subss xmm1, dword [ebp - 0x84]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001e310
mov eax, dword [ebp - 0x20]
movss dword [ebp - 0x1c], xmm0
movss xmm2, dword [eax + 0x20]
mov eax, dword [0x1012594c]
cvtps2pd xmm3, xmm2
movss xmm1, dword [eax + 0x10]
addss xmm2, dword [0x100eac80]
addsd xmm3, qword [0x100eac08]
mov eax, dword [0x1012c384]
cvtps2pd xmm0, xmm1
subss xmm2, xmm1
subsd xmm3, xmm0
mulss xmm2, dword [0x100eaaf0]
movsd qword [ebp - 0x50], xmm3
movss dword [ebp - 0x18], xmm2
test al, 2
jne 0x100d4810
or eax, 2
mov dword [0x1012c384], eax
mov dword [0x1012bf74], 0x42700000
mov dword [0x1012bf78], 0x41200000
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x100d4c39
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xabe104c9
push eax
call fcn.10047eb0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d4840
mov eax, dword [eax + 0x14]
jmp 0x100d4843
or eax, 0xffffffff
cmp esi, eax
jne 0x100d4a2c
movss xmm0, dword [0x100ead58]
movss xmm1, dword [ebp - 0x1c]
comiss xmm1, xmm0
jbe 0x100d48c3
subss xmm1, xmm0
mov dword [ebp - 0x3c], 0x3f800000
movss xmm0, dword [0x100ead68]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
subss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x100eaac0]
comiss xmm1, xmm0
movss dword [ebp - 0x1c], xmm0
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x3c]
comiss xmm0, dword [0x100eabb8]
seta al
test al, al
cmove ecx, edx
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100ead30]
cvttss2si eax, xmm0
mov dword [ebp - 0x3c], eax
jmp 0x100d48c6
mov eax, dword [ebp - 0x3c]
movss xmm1, dword [0x100ead24]
lea ecx, [ebp - 0x84]
mov byte [ebp - 0x19], al
mov word [ebp - 0x1c], 0xb0
mov byte [ebp - 0x1a], 0
push dword [ebp - 0x1c]
call fcn.100cd410
movss xmm0, dword [ebp - 0x40]
add esp, 4
subss xmm0, dword [0x100eac58]
cvttss2si edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x19], al
mov word [ebp - 0x1c], 0x1a1a
mov byte [ebp - 0x1a], 0x1e
push dword [ebp - 0x1c]
cvttss2si esi, xmm0
push 0xb4
push ecx
mov ecx, edi
mov edx, esi
call fcn.100cd060
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov byte [ebp - 0x19], al
mov edx, esi
mov word [ebp - 0x1c], 0x1a1a
mov byte [ebp - 0x1a], 0x1e
push dword [ebp - 0x1c]
push 0xb4
push ecx
mov ecx, edi
call fcn.100cd060
movsd xmm0, qword [ebp - 0x50]
add esp, 0xc
mulsd xmm0, qword [0x100eac28]
mov edx, esi
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x19], al
mov word [ebp - 0x1c], 0xffff
mov byte [ebp - 0x1a], 0xff
push dword [ebp - 0x1c]
cvttsd2si eax, xmm0
push ecx
mov ecx, edi
push eax
sub esp, 8
call fcn.100cd650
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x6c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x68], 0
add esp, 0x14
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d49a2
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
mov dword [ebp - 4], 7
mov ecx, 0x1012921c
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100eac88]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x78]
push 2
push eax
cvttss2si eax, xmm0
mov word [ebp - 0x1c], 0xffff
mov byte [ebp - 0x1a], 0xff
push dword [ebp - 0x1c]
push eax
push edi
call fcn.100cd930
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d4c39
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d4c2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d4c2f
jmp 0x100d440c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xe31dc1b8
push eax
call fcn.10047eb0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d4a50
mov eax, dword [eax + 0x14]
jmp 0x100d4a53
or eax, 0xffffffff
cmp esi, eax
jne 0x100d4c39
movss xmm0, dword [0x100ead58]
movss xmm1, dword [ebp - 0x1c]
comiss xmm1, xmm0
jbe 0x100d4ad3
subss xmm1, xmm0
mov dword [ebp - 0x3c], 0x3f800000
movss xmm0, dword [0x100ead68]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
subss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x100eaac0]
comiss xmm1, xmm0
movss dword [ebp - 0x1c], xmm0
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x3c]
comiss xmm0, dword [0x100eabb8]
seta al
test al, al
cmove ecx, edx
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100ead30]
cvttss2si eax, xmm0
mov dword [ebp - 0x3c], eax
jmp 0x100d4ad6
mov eax, dword [ebp - 0x3c]
movss xmm1, dword [0x100ead20]
lea ecx, [ebp - 0x84]
mov byte [ebp - 0x19], al
mov word [ebp - 0x1c], 0x8542
mov byte [ebp - 0x1a], 0xb4
push dword [ebp - 0x1c]
call fcn.100cd410
movss xmm0, dword [ebp - 0x40]
add esp, 4
subss xmm0, dword [0x100eac58]
cvttss2si edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x19], al
mov word [ebp - 0x1c], 0x1a1a
mov byte [ebp - 0x1a], 0x1e
push dword [ebp - 0x1c]
cvttss2si esi, xmm0
push 0xb4
push ecx
mov ecx, edi
mov edx, esi
call fcn.100cd060
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov byte [ebp - 0x19], al
mov edx, esi
mov word [ebp - 0x1c], 0x1a1a
mov byte [ebp - 0x1a], 0x1e
push dword [ebp - 0x1c]
push 0xb4
push ecx
mov ecx, edi
call fcn.100cd060
movss xmm0, dword [ebp - 0x18]
add esp, 0xc
mulss xmm0, dword [0x100ead54]
mov edx, esi
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x19], al
mov word [ebp - 0x1c], 0xffff
cvttss2si eax, xmm0
mov byte [ebp - 0x1a], 0xff
push dword [ebp - 0x1c]
push ecx
push eax
sub esp, 8
mov ecx, edi
call fcn.100cd650
xorps xmm0, xmm0
mov word [ebp - 0x18], 0x6b
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x50], 0
add esp, 0x14
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d4bb2
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10027260
mov dword [ebp - 4], 8
mov ecx, 0x1012921c
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100eac88]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x60]
push 2
push eax
cvttss2si eax, xmm0
mov word [ebp - 0x1c], 0xffff
mov byte [ebp - 0x1a], 0xff
push dword [ebp - 0x1c]
push eax
push edi
call fcn.100cd930
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x100d4c39
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d4c2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d440c
push ecx
push edx
call fcn.100dafa1
add esp, 8
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.100dab26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4