Function at 0x100e4570
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 0x100f26d2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x101040b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0xf
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], edx
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov eax, dword [0x10140c9c]
test al, 1
jne 0x100e45f5
or eax, 1
mov byte [0x10140ca1], 0
mov dword [0x10140c9c], eax
mov eax, dword [0x1012ebf8]
mov esi, eax
mov ecx, dword [0x1012ebfc]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], ecx
cmp esi, ecx
je 0x100e461e
cmp dword [esi], 0
je 0x100e461e
add esi, 4
cmp esi, ecx
jne 0x100e4612
cmp eax, ecx
je 0x100e4634
cmp dword [eax], 1
je 0x100e462e
add eax, 4
cmp eax, ecx
jne 0x100e4622
mov dword [ebp - 0x158], eax
cmp esi, ecx
jne 0x100e4640
cmp eax, ecx
je 0x100e4f54
cmp byte [0x1014072c], 0
je 0x100e4f54
mov ecx, dword [0x10122b60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
movss xmm0, dword [0x10140738]
movss xmm1, dword [0x1014073c]
movss xmm2, dword [0x10140740]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
subss xmm2, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.1001eaf0
movss xmm2, dword [0x1014074c]
movaps xmm1, xmm2
mulss xmm0, xmm0
mulss xmm1, dword [0x100f8170]
mulss xmm1, xmm2
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
mov ecx, dword [0x1013b728]
mov eax, dword [0x10122b60]
add ecx, 0xffffffaf
movss xmm3, dword [0x10140744]
xor ecx, 0xee847b98
mulss xmm3, xmm0
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100e471b
movaps xmm2, xmm3
movd xmm0, eax
mulss xmm2, dword [0x100f7f1c]
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
subss xmm1, xmm2
mulss xmm1, dword [0x100f7f1c]
comiss xmm1, xmm0
jbe 0x100e4718
addss xmm0, xmm0
movaps xmm2, xmm3
subss xmm2, xmm0
movaps xmm3, xmm2
movaps xmm0, xmm3
call fcn.1003f060
cvttss2si eax, xmm0
xor ecx, ecx
mov dword [ebp - 0x12c], 0x66322e25
push 0x98
push ecx
mov byte [ebp - 0x128], cl
movss xmm0, dword [0x10140734]
test eax, eax
cmovle eax, ecx
mov dword [ebp - 0x114], eax
mov eax, dword [0x1013b508]
subss xmm0, dword [eax + 0x10]
lea eax, [ebp - 0x110]
push eax
movss dword [ebp - 0x18], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x110]
call fcn.10029350
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 1
call fcn.1001eff0
push dword [ebp - 0x148]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x134], 0x100455f0
push dword [ebp - 0x14c]
mov dword [ebp - 0x138], eax
lea edx, [ebp - 0x12c]
movq xmm0, qword [ebp - 0x138]
lea ecx, [ebp - 0x110]
movq qword [ebp - 0x144], xmm0
mov dword [ebp - 0x13c], 0x10045780
call fcn.100273f0
add esp, 8
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x10c]
push eax
call fcn.10029580
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x110], 0x100f6700
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x114], eax
lea ecx, [ebp - 0x10c]
call fcn.10024db0
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x60]
call fcn.100246b0
movups xmm0, xmmword [ebp - 0x48]
lea eax, [ebp - 0x114]
mov word [ebp - 0x124], 0x6925
push eax
movups xmmword [ebp - 0x60], xmm0
lea edx, [ebp - 0x124]
mov byte [ebp - 0x122], 0
movq xmm0, qword [ebp - 0x38]
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x50], xmm0
call fcn.10046410
mov edi, eax
add esp, 4
lea eax, [ebp - 0x30]
cmp eax, edi
je 0x100e48ba
mov ecx, eax
call fcn.100246b0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x100e48f0
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e48e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e48e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov edx, dword [0x1013b6d4]
mov eax, dword [0x10122b60]
add edx, 0xffffffc4
mov ecx, dword [ebp - 0x114]
xor edx, 0xee847b83
mov edi, dword [0x1013abf4]
cmp ecx, dword [edx + eax]
lea edx, [ebp - 0x160]
mov ecx, 0x10140738
cmovl edi, dword [0x10139d3c]
mov dword [ebp - 0x12c], edi
call fcn.100d74c0
xorps xmm1, xmm1
mov byte [ebp - 0x11d], al
cmp esi, dword [ebp - 0x154]
je 0x100e4e7c
cmp dword [0x10140770], 0x10
mov ecx, 0x1014075c
mov dword [ebp - 0x138], 0xe035006
cmovae ecx, dword [0x1014075c]
xor eax, eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x134], 0x120d0603
mov word [ebp - 0x130], 0x5045
mov byte [ebp - 0x12e], 0x23
xor byte [ebp + eax - 0x138], 0x23
inc eax
cmp eax, 0xb
jb 0x100e4984
push 0x98
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x110]
call fcn.10029350
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 3
mov dword [ebp - 0x180], eax
mov esi, eax
mov dword [ebp - 0x17c], 2
mov edi, 2
mov ecx, esi
call fcn.1001eff0
add esi, 0xc
sub edi, 1
jne 0x100e49d4
push dword [ebp - 0x17c]
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x140], 0x100299a0
push dword [ebp - 0x180]
mov dword [ebp - 0x144], eax
lea edx, [ebp - 0x138]
movq xmm0, qword [ebp - 0x144]
lea eax, [ebp - 0x18]
movq qword [ebp - 0x178], xmm0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 0x100455f0
movq xmm0, qword [ebp - 0x144]
mov dword [ebp - 0x170], fcn.100299c0
movq qword [ebp - 0x16c], xmm0
mov dword [ebp - 0x164], 0x10045780
call fcn.100273f0
add esp, 8
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x10c]
push eax
call fcn.10029580
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x110], 0x100f6700
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x114], eax
lea ecx, [ebp - 0x10c]
call fcn.10024db0
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x124]
mov word [ebp - 0x124], 0x6925
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x122], 0
call fcn.10046410
add esp, 4
mov byte [ebp - 4], 5
movss xmm0, dword [0x100f8014]
comiss xmm0, dword [ebp - 0x18]
mov dword [ebp - 0x11c], 0xff0aac87
jbe 0x100e4b0b
mov dword [ebp - 0x11c], 0xff6ec8c8
movss xmm0, dword [0x100f8000]
comiss xmm0, dword [ebp - 0x18]
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x12c]
jbe 0x100e4b35
mov dword [ebp - 0x11c], 0xff1120c0
mov esi, dword [ebp - 0x11c]
cmp byte [0x1014072c], 0
je 0x100e4ded
cmp byte [0x10140709], 0
jne 0x100e4ded
cmp byte [0x1014070a], 0
jne 0x100e4ded
movss xmm0, dword [ebp - 0x18]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100e4b9b
push 0
lea eax, [ebp - 0x48]
push eax
push ecx
mov eax, esp
mov ecx, 0x1013dc10
push 0xb
push 6
mov dword [eax], 0x7d000000
call fcn.100d82a0
push 0
lea eax, [ebp - 0x48]
mov ecx, 0x1013dc10
push eax
push esi
push 0xa
push 5
call fcn.100d82a0
mov ecx, dword [0x1013b6d4]
mov eax, dword [0x10122b60]
add ecx, 0xffffffc4
mov edx, dword [ebp - 0x114]
xor ecx, 0xee847b83
cmp dword [ecx + eax], edx
jg 0x100e4cc4
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x41544146
lea ecx, [ebp - 0x150]
mov word [ebp - 0x118], 0x4c
call fcn.100277c0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 6
push 0x1f
push 6
mov ecx, 0x1013dc10
mov dword [eax], 0x7d000000
call fcn.100d82a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x100e4c40
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4c36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4c36
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x41544146
lea ecx, [ebp - 0x150]
mov word [ebp - 0x118], 0x4c
call fcn.100277c0
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 7
push 0x1e
push 5
mov ecx, 0x1013dc10
mov dword [eax], 0xff1120c0
call fcn.100d82a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x100e4ded
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4de3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4de3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edx, 1
jle 0x100e4ded
lea eax, [ebp - 0x78]
mov dword [ebp - 0x11c], 0x6925202d
push eax
lea edx, [ebp - 0x11c]
mov word [ebp - 0x118], 0x5048
lea ecx, [ebp - 0x150]
mov byte [ebp - 0x116], 0
call fcn.10043e70
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 8
push 0x1f
push 5
mov ecx, 0x1013dc10
mov dword [eax], 0x7d000000
call fcn.100d82a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x100e4d5d
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4d53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4d53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
lea eax, [ebp - 0x78]
mov dword [ebp - 0x11c], 0x6925202d
push eax
lea edx, [ebp - 0x11c]
mov word [ebp - 0x118], 0x5048
lea ecx, [ebp - 0x150]
mov byte [ebp - 0x116], 0
call fcn.10043e70
add esp, 4
push 0
push eax
push ecx
mov eax, esp
mov byte [ebp - 4], 9
push 0x1e
push 6
mov ecx, 0x1013dc10
mov dword [eax], 0xff98ffff
call fcn.100d82a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x100e4ded
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4de3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4de3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x100e4e27
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4e1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4e1d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x100e4e73
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4e69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4e69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov al, byte [ebp - 0x11d]
xorps xmm1, xmm1
mov esi, dword [ebp - 0x154]
cmp dword [ebp - 0x158], esi
je 0x100e4f1b
test al, al
je 0x100e4f1b
movss xmm0, dword [ebp - 0x18]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x15c]
movss xmm1, dword [ebp - 0x160]
jbe 0x100e4ee0
push 2
lea eax, [ebp - 0x60]
mov ecx, 0x1013dbb0
push eax
push dword [0x10139d3c]
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm1
push eax
call fcn.100d82a0
movss xmm0, dword [ebp - 0x15c]
movss xmm1, dword [ebp - 0x160]
mov ecx, dword [0x1013b6c8]
mov eax, dword [0x10122b60]
add ecx, 0xffffffc7
xor ecx, 0xee847b80
cmp dword [ecx + eax], 0
jne 0x100e4f1b
push 2
lea eax, [ebp - 0x30]
mov ecx, 0x1013dbb0
push eax
cvttss2si eax, xmm0
push edi
add eax, dword [0x1013dbb8]
push eax
cvttss2si eax, xmm1
push eax
call fcn.100d82a0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x100e4f51
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4f47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4f47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x100e4f99
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e4f8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4f8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
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.100e7827
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret