Function at 0x100e5640
Capabilities:
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 0x1010adae
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x101210c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], edx
mov esi, ecx
mov dword [ebp - 0x114], esi
mov eax, dword [0x101cf920]
xor edi, edi
mov dword [ebp - 0x1c], edi
test al, 1
jne 0x100e56c1
or eax, 1
mov dword [0x101cf920], eax
mov eax, dword [0x101cc9b0]
mov dword [0x101cf910], eax
mov dword [0x101cf914], edi
mov dword [0x101cf918], edi
mov dword [0x101cf91c], edi
push 0x30
xorps xmm0, xmm0
mov dword [ebp - 0x124], 4
lea eax, [ebp - 0x8c]
movss dword [ebp - 0x11c], xmm0
push 0
push eax
movss dword [ebp - 0x128], xmm0
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x90], edi
xorps xmm0, xmm0
lea eax, [ebp - 0xe4]
movups xmmword [ebp - 0xb0], xmm0
push 0x30
push 0
push eax
movups xmmword [ebp - 0xa0], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0xe8], edi
movups xmmword [ebp - 0x108], xmm0
movups xmmword [ebp - 0xf8], xmm0
cmp ecx, dword [0x10140e2c]
jne 0x100e5793
movss xmm0, dword [0x10140e3c]
mov eax, dword [0x10141154]
mov ecx, dword [0x1014115c]
movss xmm7, dword [0x10140e38]
movss xmm6, dword [0x10140e40]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x120], ecx
movss dword [ebp - 0x110], xmm0
jmp 0x100e59af
mov eax, dword [0x101ccb08]
add eax, 0xffffffa3
xor eax, 0x5910728c
mov eax, dword [eax + ecx]
mov ecx, dword [0x101cc808]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov dword [ebp - 0x140], eax
test eax, eax
je 0x100e627a
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov dword [ebp - 0x120], eax
test eax, eax
je 0x100e627a
mov ecx, dword [ebp - 0x114]
mov eax, dword [0x101ccae8]
add eax, 0xffffffab
xor eax, 0x59107284
mov edx, dword [ecx]
mov ecx, dword [0x101cca28]
add ecx, 0xffffffdb
xor ecx, 0x59107254
movss xmm0, dword [eax + edx]
addss xmm0, dword [ecx + edx]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + edx + 4]
addss xmm0, dword [ecx + edx + 4]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [eax + edx + 8]
mov eax, dword [0x101cc9a4]
addss xmm0, dword [ecx + edx + 8]
mov eax, dword [edx + eax]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x10c], xmm0
test eax, eax
je 0x100e598e
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x100e598e
cmp byte [eax + 0x109], 0
movss xmm1, dword [ebp - 0x11c]
jne 0x100e58bc
mov eax, dword [0x101cca98]
add eax, 0xffffffbf
xor eax, 0x59107270
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100e58b4
mov eax, dword [0x101ccb0c]
add eax, 0xffffffa2
xor eax, 0x5910728d
mov eax, dword [eax + ecx]
mov ecx, dword [0x101cc808]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x100e598e
movss xmm1, dword [ebp - 0x11c]
movss xmm0, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x101ccb00]
add ecx, 0xffffffa5
xor ecx, 0x5910728a
mov eax, dword [eax + 0x60]
mov eax, dword [ecx + eax]
test eax, eax
je 0x100e598e
movss xmm2, dword [eax + 0x1ac]
cvtps2pd xmm2, xmm2
cvtps2pd xmm4, xmm0
addsd xmm2, qword [str.333333]
movsd qword [ebp - 0x50], xmm4
comisd xmm4, xmm2
movsd qword [ebp - 0x20], xmm2
jbe 0x100e598e
movaps xmm0, xmm4
movaps xmm3, xmm1
subsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x10114f78]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x10114ec8]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x100e595b
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]
movsd xmm2, qword [ebp - 0x20]
add esp, 8
movsd xmm4, qword [ebp - 0x50]
fstp dword [ebp - 0x40]
movss xmm3, dword [ebp - 0x40]
movaps xmm1, xmm3
subsd xmm2, xmm4
mulss xmm1, xmm3
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x10114f5c]
mulss xmm1, xmm3
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm2
addsd xmm0, xmm4
cvtpd2ps xmm6, xmm0
jmp 0x100e5996
movss xmm6, dword [ebp - 0x10c]
movss xmm7, dword [ebp - 0x44]
movss xmm0, dword [ebp - 0x110]
mov esi, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x120]
movss xmm3, dword [esi + 8]
movss xmm2, dword [esi + 0xc]
subss xmm3, xmm7
movss xmm4, dword [esi + 0x10]
subss xmm2, xmm0
movss dword [ebp - 0x134], xmm0
subss xmm4, xmm6
movss dword [ebp - 0x130], xmm6
movss dword [ebp - 0x138], xmm7
movd xmm1, dword [ecx + 0xec]
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
movss dword [ebp - 0x10c], xmm1
movss xmm1, dword [ecx + 0xf8]
movss dword [ebp - 0x13c], xmm1
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.1002bd80
addss xmm0, dword [0x10114d64]
movss xmm1, dword [0x10114e70]
mov eax, dword [esi]
mov dword [0x101cf914], eax
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x10c]
comiss xmm0, dword [ebp - 0x11c]
movaps xmm5, xmm1
mulss xmm4, xmm1
mulss xmm5, xmm3
movaps xmm3, xmm1
mulss xmm3, xmm2
movss dword [ebp - 0x2c], xmm5
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x28], xmm3
jbe 0x100e627a
movss xmm0, dword [ebp - 0x110]
movss xmm1, dword [ecx + 0x104]
lea eax, [ebp - 0xb0]
subss xmm1, dword [ebp - 0x128]
push eax
push ecx
push dword [esi + 4]
lea edx, [ebp - 0x170]
push dword [0x10140e2c]
mulss xmm5, xmm1
push ecx
mulss xmm3, xmm1
lea ecx, [ebp - 0x138]
mulss xmm4, xmm1
addss xmm5, xmm7
addss xmm3, xmm0
movss dword [ebp - 0x1c], xmm1
addss xmm4, xmm6
movss dword [ebp - 0x110], xmm5
movss dword [ebp - 0x170], xmm5
movss dword [ebp - 0x44], xmm3
movss dword [ebp - 0x16c], xmm3
movss dword [ebp - 0x40], xmm4
movss dword [ebp - 0x168], xmm4
call fcn.100e4760
movss xmm0, dword [ebp - 0x84]
add esp, 0x14
ucomiss xmm0, dword [0x10114e70]
lahf
test ah, 0x44
jnp 0x100e627a
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [0x10114ffc]
mov eax, dword [esi + 4]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x110]
test eax, eax
je 0x100e5b8d
movss dword [ebp - 0x17c], xmm0
lea edx, [ebp - 0x17c]
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
push ecx
push eax
lea eax, [ebp - 0xb0]
addss xmm0, dword [ebp - 0x44]
push eax
push ecx
lea ecx, [ebp - 0x138]
movss dword [ebp - 0x178], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x174], xmm0
call fcn.100e5230
add esp, 0x10
jmp 0x100e5d8a
movss dword [ebp - 0x188], xmm0
lea eax, [ebp - 0xb0]
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x30], 0xc2700000
mov dword [ebp - 0x4c], 0x101cf910
addss xmm0, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x138]
movss dword [ebp - 0x184], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [0x101cf7a4]
movss dword [ebp - 0x180], xmm0
test al, 1
jne 0x100e5d64
or eax, 1
mov dword [0x101cf7a4], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x101157e0]
xorps xmm0, xmmword [0x10115610]
mov dword [ebp - 0x150], 0x3171203
mov dword [ebp - 0x14c], 0x1603621b
mov dword [ebp - 0x148], 0x14100315
mov byte [ebp - 0x144], 0x23
movups xmmword [ebp - 0x160], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x160], 0x23
inc eax
cmp eax, 0x1d
jb 0x100e5c50
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x18c], 0
movups xmmword [ebp - 0x1a0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e5c85
sub ecx, edx
lea eax, [ebp - 0x160]
push ecx
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10035cc0
mov byte [ebp - 4], 1
mov eax, dword [0x101cc7bc]
test eax, eax
je 0x100e5cb3
mov esi, dword [eax + 0x50]
jmp 0x100e5cb5
xor esi, esi
mov eax, dword [0x101cc7b4]
test eax, eax
je 0x100e5cc6
mov edx, dword [eax + 0x18]
or edi, 4
jmp 0x100e5ccb
or edi, 8
xor edx, edx
mov eax, edi
mov ecx, edi
and ecx, 0xfffffff7
test al, 8
lea eax, [ebp - 0x1a0]
cmove ecx, edi
mov edi, ecx
and edi, 0xfffffffb
test cl, 4
push eax
cmove edi, ecx
lea ecx, [ebp - 0x164]
push edx
mov edx, esi
call fcn.1003fbe0
mov eax, dword [ebp - 0x164]
add esp, 8
test eax, eax
je 0x100e5d14
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100e5d0f
xor eax, eax
jmp 0x100e5d14
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18c]
mov dword [0x101cf7a8], eax
cmp ecx, 0xf
jbe 0x100e5d57
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e5d4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e620a
push ecx
push edx
call fcn.1010120b
add esp, 8
mov esi, dword [ebp - 0x114]
mov dword [ebp - 4], 0xffffffff
cmp dword [0x101cf7a8], 0
je 0x100e5d8a
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
push dword [ebp - 0x30]
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
push 0x4600400b
call dword [0x101cf7a8]
add esp, 0x10
movss xmm1, dword [ebp - 0x84]
mulss xmm1, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x120]
addss xmm1, dword [ebp - 0x128]
movss xmm0, dword [eax + 0x108]
movss dword [ebp - 0x1c], xmm1
mulss xmm1, dword [0x10114d74]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_powf
mulss xmm0, dword [ebp - 0x10c]
mov ecx, dword [esi + 4]
movss dword [ebp - 0x10c], xmm0
test ecx, ecx
je 0x100e5e6f
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x100e5ec4
cmp eax, ecx
jne 0x100e5ec4
mov esi, dword [ebp - 0x6c]
cmp esi, 1
jl 0x100e5dfa
cmp esi, 7
jle 0x100e5e03
cmp esi, 0xa
jne 0x100e5ec4
mov eax, dword [0x101ccb20]
xor edi, edi
mov edx, dword [ebp - 0x140]
add eax, 0xffffff9d
xor eax, 0x59107292
movaps xmm1, xmm0
cmp dword [eax + edx], 0x1f
mov eax, dword [ebp - 0x120]
cmove esi, edi
mov edx, esi
movss xmm2, dword [eax + 0xf0]
call fcn.100e62a0
mov edi, dword [ebp - 0x12c]
cmp dword [ebp - 0x124], 4
mov ecx, dword [ebp - 0x114]
setne al
mov byte [edi + 0xc], al
mov dword [edi + 8], esi
movss dword [edi + 4], xmm0
mov eax, dword [ecx + 4]
mov dword [edi], eax
jne 0x100e6210
comiss xmm0, dword [ecx + 0x14]
setae al
jmp 0x100e627c
cmp dword [ebp - 0x124], 4
mov ecx, dword [ebp - 0x12c]
setne al
mov byte [ecx + 0xc], al
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x100e5eb9
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100e5eb1
mov esi, dword [ebp - 0x6c]
cmp esi, 1
jl 0x100e5ea8
cmp esi, 7
jle 0x100e6219
cmp esi, 0xa
je 0x100e6219
movss xmm0, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x12c]
movss dword [eax + 4], xmm0
mov ecx, dword [ebp - 0x114]
cmp byte [ecx + 0x1c], 0
je 0x100e627a
mov ecx, dword [0x101cc848]
movsx edx, word [ebp - 0x70]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [ebp - 0x1c]
mov edx, eax
comiss xmm0, dword [0x101150c4]
mov dword [ebp - 0x4c], edx
movss xmm1, dword [ebp - 0x13c]
movss xmm0, dword [ebp - 0x11c]
jbe 0x100e5f16
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100e627a
movss xmm2, dword [0x10114dcc]
comiss xmm2, dword [edx + 0x58]
ja 0x100e627a
mov al, byte [ebp - 0x6e]
mov ecx, dword [ebp - 0x80]
movzx esi, word [edx + 0x60]
mov edx, dword [ebp - 0x124]
shr al, 7
shr ecx, 3
and al, 1
and ecx, 0xffffff01
mov byte [ebp - 0x115], al
mov dword [ebp - 0x1c], ecx
test edx, edx
jne 0x100e5f69
test al, al
jne 0x100e5f69
test cl, cl
jne 0x100e5f69
cmp esi, 0x47
je 0x100e5f69
cmp esi, 0x59
jne 0x100e627a
comiss xmm0, xmm1
jae 0x100e627a
test edx, edx
jle 0x100e627a
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xa4]
call fcn.100e48a0
add esp, 0xc
test al, al
jne 0x100e5fc3
mov ecx, dword [0x101cc820]
lea edx, [ebp - 0x3c]
push 0
push 0x600400b
push edx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, 0x600400b
je 0x100e627a
mov ecx, dword [0x101cc848]
movsx edx, word [ebp - 0xc8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movzx edx, word [eax + 0x60]
mov ecx, edx
cmp esi, 0x47
je 0x100e604b
cmp esi, 0x59
je 0x100e604b
cmp byte [ebp - 0x115], 0
jne 0x100e6026
cmp byte [ebp - 0x1c], 0
jne 0x100e6026
movss xmm2, dword [eax + 0x58]
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [0x10114dd4]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [0x10114f5c]
addss xmm2, dword [eax + 0x58]
mulss xmm2, dword [0x10114e18]
jmp 0x100e6066
movss xmm0, dword [0x10114dd4]
movss xmm4, dword [0x10114e70]
movss dword [ebp - 0x110], xmm0
movaps xmm2, xmm4
movss xmm0, dword [0x10114f5c]
jmp 0x100e606e
movss xmm0, dword [0x10114f5c]
movss xmm1, dword [0x10114db8]
movaps xmm2, xmm0
movss dword [ebp - 0x110], xmm1
movss xmm4, dword [0x10114e70]
cmp esi, ecx
jne 0x100e608e
cmp ecx, 0x55
je 0x100e608b
cmp ecx, 0x57
je 0x100e608b
cmp edx, 0x4c
jne 0x100e608e
movss xmm2, dword [0x10114f00]
jmp 0x100e608e
movaps xmm2, xmm0
movss xmm1, dword [ebp - 0xfc]
sub esp, 8
movss xmm3, dword [ebp - 0xf8]
subss xmm3, dword [ebp - 0xa0]
subss xmm1, dword [ebp - 0xa4]
movss xmm0, dword [ebp - 0xf4]
subss xmm0, dword [ebp - 0x9c]
divss xmm4, xmm2
mov dword [esp + 4], 0
mulss xmm3, xmm3
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm3, xmm1
movss dword [esp], xmm4
addss xmm3, xmm0
movss dword [ebp - 0x128], xmm3
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm1, dword [ebp - 0x13c]
cvtps2pd xmm0, xmm1
mov dword [esp + 4], 0
mov dword [esp], 0
push ecx
movsd xmm1, qword [0x10114f18]
divsd xmm1, xmm0
fstp dword [ebp - 0x4c]
cvtpd2ps xmm0, xmm1
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [ebp - 0x4c]
add esp, 4
movss xmm2, dword [ebp - 0x110]
mulss xmm2, dword [ebp - 0x10c]
fstp dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x1c]
mulss xmm1, dword [0x10114f5c]
mulss xmm1, xmm0
mulss xmm0, dword [ebp - 0x128]
addss xmm1, xmm2
mulss xmm0, dword [0x10114db4]
addss xmm1, xmm0
movss dword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm1, dword [ebp - 0x10c]
add esp, 8
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
maxss xmm0, dword [ebp - 0x11c]
subss xmm1, xmm0
movss xmm0, dword [0x10114e70]
comiss xmm0, xmm1
movss dword [ebp - 0x10c], xmm1
ja 0x100e627a
movss xmm7, dword [ebp - 0xfc]
movss xmm0, dword [ebp - 0xf8]
movss xmm6, dword [ebp - 0xf4]
dec dword [ebp - 0x124]
movss xmm4, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x120]
movss dword [ebp - 0x138], xmm7
movss dword [ebp - 0x134], xmm0
movss dword [ebp - 0x130], xmm6
jmp 0x100e5a80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
comiss xmm0, dword [ecx + 0x18]
setae al
jmp 0x100e627c
mov eax, dword [0x101ccb20]
xor ecx, ecx
mov edx, dword [ebp - 0x140]
add eax, 0xffffff9d
movss xmm1, dword [ebp - 0x10c]
xor eax, 0x59107292
cmp dword [eax + edx], 0x1f
mov eax, dword [ebp - 0x120]
cmove esi, ecx
mov ecx, dword [ebp - 0x64]
mov edx, esi
movss xmm2, dword [eax + 0xf0]
call fcn.100e62a0
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x124], 4
mov dword [ecx + 8], esi
movss dword [ecx + 4], xmm0
mov dword [ecx], eax
mov ecx, dword [ebp - 0x114]
jmp 0x100e5e5d
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.10100d90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret