Function at 0x100d3c60
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 0x100e612d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x100f5008]
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.100cca70
test al, al
je 0x100d48c9
mov al, 0xb4
mov word [ebp - 0x1c], 0xffff
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x19], al
mov eax, dword [0x1012b384]
mov byte [ebp - 0x1a], 0xe1
test al, 1
jne 0x100d3cf8
or eax, 1
mov dword [0x1012b384], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1a122bdf
push eax
call fcn.100480a0
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 0x100d3d1f
mov eax, dword [eax + 0x14]
jmp 0x100d3d22
or eax, 0xffffffff
cmp esi, eax
jne 0x100d3f7c
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 [0x10124b08]
mov edx, dword [ebp - 0x20]
add ecx, 0xffffffdb
mov eax, dword [0x100f5024]
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 [0x100e9b30]
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x100e9bc8]
cvttsd2si esi, xmm0
mov dword [ebp - 0x18], esi
test esi, esi
jle 0x100d3e69
cmp esi, 5
jle 0x100d3e0b
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 0x100d3df4
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 0x100d3dd7
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 0x100d3e69
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.100b5690
add esp, 4
lea ecx, [ebp - 0x38]
push eax
call fcn.10039220
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d3e69
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d3e5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d3e5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dac31
add esp, 8
cmp dword [ebp - 0x18], 0x96
jge 0x100d3f3f
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 0x100d3ea0
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, 0x10128234
cvttss2si eax, dword [ebp - 0x40]
push dword [0x100e91b8]
push eax
push esi
call fcn.100cd660
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d3f16
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d3f0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d3f0c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dac31
add esp, 8
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0x38]
subss xmm0, dword [0x100e9c90]
push 2
push eax
push dword [0x100e91b8]
mov ecx, 0x10128234
cvttss2si eax, xmm0
push eax
push esi
call fcn.100cd660
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x100d3f7c
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d3f72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d3f72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dac31
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x69629121
push eax
call fcn.100480a0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d3fa0
mov eax, dword [eax + 0x14]
jmp 0x100d3fa3
or eax, 0xffffffff
cmp esi, eax
jne 0x100d40a2
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100e9c90]
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.100ccd90
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.100ccd90
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 0x100d4020
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 [0x100e9cc0]
push 2
push eax
push dword [ebp - 0x1c]
mov ecx, 0x1012821c
cvttss2si eax, xmm0
push eax
push esi
call fcn.100cd660
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d43fa
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d43f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d43f0
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.100480a0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d40c6
mov eax, dword [eax + 0x14]
jmp 0x100d40c9
or eax, 0xffffffff
cmp esi, eax
jne 0x100d4167
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100e9c90]
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.100ccd90
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.100ccd90
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 0x100d4145
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
mov dword [ebp - 4], 3
jmp 0x100d403d
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xc09c6702
push eax
call fcn.100480a0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d418b
mov eax, dword [eax + 0x14]
jmp 0x100d418e
or eax, 0xffffffff
cmp esi, eax
jne 0x100d43fa
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 0x100d43fa
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 0x100d41d4
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.1002e610
cmp eax, 0xffffffff
je 0x100d4324
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100e9c90]
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.100ccd90
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.100ccd90
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 0x100d4290
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 [0x100e9cc0]
push 2
push eax
push dword [ebp - 0x1c]
mov ecx, 0x1012821c
cvttss2si eax, xmm0
push eax
push esi
call fcn.100cd660
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d4308
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d42fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d409c
push ecx
push edx
call fcn.100dac31
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x100d43fa
mov edx, dword [ebp - 0x38]
inc ecx
jmp 0x100d407a
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 0x100d4340
push ecx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x38]
call fcn.1002e610
cmp eax, 0xffffffff
je 0x100d4308
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100e9c90]
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.100ccd90
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.100ccd90
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 0x100d43d1
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.10027260
mov byte [ebp - 4], 6
jmp 0x100d42aa
push ecx
push edx
call fcn.100dac31
add esp, 8
mov eax, dword [0x10124b08]
add eax, 0xffffffdb
xor eax, 0x1d780df4
add eax, dword [0x100f5024]
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 [0x1012494c]
cvtps2pd xmm3, xmm2
movss xmm1, dword [eax + 0x10]
addss xmm2, dword [0x100e9cb8]
addsd xmm3, qword [0x100e9c40]
mov eax, dword [0x1012b384]
cvtps2pd xmm0, xmm1
subss xmm2, xmm1
subsd xmm3, xmm0
mulss xmm2, dword [0x100e9b28]
movsd qword [ebp - 0x50], xmm3
movss dword [ebp - 0x18], xmm2
test al, 2
jne 0x100d44a0
or eax, 2
mov dword [0x1012b384], eax
mov dword [0x1012af74], 0x42700000
mov dword [0x1012af78], 0x41200000
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x100d48c9
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xabe104c9
push eax
call fcn.100480a0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d44d0
mov eax, dword [eax + 0x14]
jmp 0x100d44d3
or eax, 0xffffffff
cmp esi, eax
jne 0x100d46bc
movss xmm0, dword [0x100e9d88]
movss xmm1, dword [ebp - 0x1c]
comiss xmm1, xmm0
jbe 0x100d4553
subss xmm1, xmm0
mov dword [ebp - 0x3c], 0x3f800000
movss xmm0, dword [0x100e9d98]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
subss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x100e9af8]
comiss xmm1, xmm0
movss dword [ebp - 0x1c], xmm0
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x3c]
comiss xmm0, dword [0x100e9bf0]
seta al
test al, al
cmove ecx, edx
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100e9d60]
cvttss2si eax, xmm0
mov dword [ebp - 0x3c], eax
jmp 0x100d4556
mov eax, dword [ebp - 0x3c]
movss xmm1, dword [0x100e9d54]
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.100cd140
movss xmm0, dword [ebp - 0x40]
add esp, 4
subss xmm0, dword [0x100e9c90]
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.100ccd90
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.100ccd90
movsd xmm0, qword [ebp - 0x50]
add esp, 0xc
mulsd xmm0, qword [0x100e9c60]
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.100cd380
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 0x100d4632
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, 0x1012821c
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100e9cc0]
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.100cd660
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100d48c9
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d48bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d48bf
jmp 0x100d409c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xe31dc1b8
push eax
call fcn.100480a0
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100d46e0
mov eax, dword [eax + 0x14]
jmp 0x100d46e3
or eax, 0xffffffff
cmp esi, eax
jne 0x100d48c9
movss xmm0, dword [0x100e9d88]
movss xmm1, dword [ebp - 0x1c]
comiss xmm1, xmm0
jbe 0x100d4763
subss xmm1, xmm0
mov dword [ebp - 0x3c], 0x3f800000
movss xmm0, dword [0x100e9d98]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
subss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x100e9af8]
comiss xmm1, xmm0
movss dword [ebp - 0x1c], xmm0
seta al
test al, al
cmove edx, ecx
lea ecx, [ebp - 0x3c]
comiss xmm0, dword [0x100e9bf0]
seta al
test al, al
cmove ecx, edx
movss xmm0, dword [ecx]
mulss xmm0, dword [0x100e9d60]
cvttss2si eax, xmm0
mov dword [ebp - 0x3c], eax
jmp 0x100d4766
mov eax, dword [ebp - 0x3c]
movss xmm1, dword [0x100e9d50]
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.100cd140
movss xmm0, dword [ebp - 0x40]
add esp, 4
subss xmm0, dword [0x100e9c90]
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.100ccd90
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.100ccd90
movss xmm0, dword [ebp - 0x18]
add esp, 0xc
mulss xmm0, dword [0x100e9d84]
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.100cd380
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 0x100d4842
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, 0x1012821c
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [0x100e9cc0]
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.100cd660
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x100d48c9
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d48bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d409c
push ecx
push edx
call fcn.100dac31
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.100da7b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4