Function at 0x1001c670
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 0x1012b947
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x1016c008]
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 - 0xf0], 0
lea ecx, [ebp - 0x24]
movaps xmm0, xmmword [0x10163740]
lea edx, [ecx + 1]
pxor xmm0, xmmword [0x10163620]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c6f0
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10011990
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x101e9590
call fcn.100107b0
mov al, byte [eax]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
mov byte [ebp - 0xf1], al
cmp edx, 0x10
jb 0x1001c766
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c756
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001c756
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
mov al, byte [ebp - 0xf1]
add esp, 8
test al, al
je 0x1001ce24
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
call fcn.100111b0
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [ebp - 0x1c], str._H:_M:_S
mov eax, str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x1001c7b3
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x240]
call fcn.10020220
movss xmm0, dword [0x101dff5c]
mulss xmm0, dword [0x1016299c]
push ecx
movss dword [ebp - 0xf8], xmm0
fld dword [ebp - 0xf8]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0xf8]
cvttss2si ecx, dword [ebp - 0xf8]
xor eax, eax
mov dword [ebp - 0x20], 0x4b1b0e38
add esp, 4
mov dword [ebp - 0x1c], 0x594b5859
mov dword [ebp - 0x18], 0x6b5f595b
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0xf8], eax
xor eax, eax
xor byte [ebp + eax - 0x20], 0x6b
inc eax
cmp eax, 0xc
jb 0x1001c826
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c850
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10011990
mov byte [ebp - 4], 2
mov ecx, dword [0x101f4694]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
lea ecx, [ebp - 0x23c]
test al, al
je 0x1001c9fc
lea eax, [ebp - 0xa4]
push eax
call fcn.100117a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 0x10
movaps xmm0, xmmword [0x10163740]
cmovae eax, dword [ebp - 0xa4]
pxor xmm0, xmmword [0x10162bd0]
mov dword [ebp - 0xfc], eax
mov eax, 0x10
mov dword [ebp - 0xf0], 0x11
mov dword [ebp - 0x2c], 0x4b174b18
mov word [ebp - 0x28], 0x184e
mov byte [ebp - 0x26], 0x6b
movups xmmword [ebp - 0x3c], xmm0
xor byte [ebp + eax - 0x3c], 0x6b
inc eax
cmp eax, 0x17
jb 0x1001c8e2
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.100111b0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 4
mov dword [ebp - 0x74], eax
mov esi, eax
mov dword [ebp - 0x70], 2
mov edi, 2
mov ecx, esi
call fcn.10004ff0
add esi, 0xc
sub edi, 1
jne 0x1001c914
push dword [ebp - 0x70]
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x1c], 0x10014ff0
push dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x3c]
movq xmm0, qword [ebp - 0x20]
lea eax, [ebp - 0xfc]
movq qword [ebp - 0x6c], xmm0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x10020760
movq xmm0, qword [ebp - 0x20]
mov dword [ebp - 0x64], 0x10015170
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], fcn.10014fa0
call fcn.100056d0
add esp, 8
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x19c]
push eax
call fcn.100117a0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1a0], 0x1014fb94
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x1014fadc
call fcn.10011700
lea ecx, [ebp - 0x19c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x198]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xec]
lea eax, [edi + 0x73]
jmp 0x1001cb3c
lea eax, [ebp - 0x8c]
push eax
call fcn.100117a0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
movaps xmm0, xmmword [0x10163740]
cmovae eax, dword [ebp - 0x8c]
pxor xmm0, xmmword [0x10162ec0]
mov dword [ebp - 0x100], eax
mov eax, 0x10
mov dword [ebp - 0xf0], 0x84
mov dword [ebp - 0x2c], 0x4e4b174b
mov word [ebp - 0x28], 0x6b18
movups xmmword [ebp - 0x3c], xmm0
xor byte [ebp + eax - 0x3c], 0x6b
inc eax
cmp eax, 0x16
jb 0x1001ca55
push ecx
lea ecx, [ebp - 0x1a0]
call fcn.100111b0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 7
mov ecx, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 1
call fcn.10004ff0
push dword [ebp - 0x64]
lea eax, [ebp - 0x100]
mov dword [ebp - 0x1c], 0x10020760
push dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x3c]
movq xmm0, qword [ebp - 0x20]
lea ecx, [ebp - 0x1a0]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], fcn.10014fa0
call fcn.100056d0
add esp, 8
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x19c]
push eax
call fcn.100117a0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1a0], 0x1014fb94
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x1014fadc
call fcn.10011700
lea ecx, [ebp - 0x19c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x198]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd4]
mov eax, 0x38c
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 8
test al, 8
je 0x1001cbd3
mov edx, dword [ebp - 0xc0]
and eax, 0xfffffff7
mov dword [ebp - 0xf0], eax
cmp edx, 0x10
jb 0x1001cbb8
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001cba8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ccd2
push edx
push ecx
call fcn.10128808
mov eax, dword [ebp - 0xf0]
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov byte [ebp - 4], 9
test al, 4
je 0x1001cc36
mov edx, dword [ebp - 0x78]
and eax, 0xfffffffb
mov dword [ebp - 0xf0], eax
cmp edx, 0x10
jb 0x1001cc21
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001cc11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ccd2
push edx
push ecx
call fcn.10128808
mov eax, dword [ebp - 0xf0]
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0xa
test al, 2
je 0x1001cc9e
mov edx, dword [ebp - 0xd8]
and eax, 0xfffffffd
mov dword [ebp - 0xf0], eax
cmp edx, 0x10
jb 0x1001cc83
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001cc73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ccd2
push edx
push ecx
call fcn.10128808
mov eax, dword [ebp - 0xf0]
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 0xb
test al, 1
je 0x1001ccfd
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x1001cce2
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ccd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001ccd8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
lea eax, [ebp - 0xbc]
mov ecx, 0x102142d8
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.100c0710
mov ecx, dword [0x101dff6c]
lea eax, [ebp - 0xbc]
push 1
push eax
add ecx, 0xfffffff1
push ecx
mov eax, esp
push 0xa
push ecx
mov ecx, 0x10214308
mov dword [eax], 0xfaf0f0f0
call fcn.100c04d0
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x1001cd73
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001cd69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cdb4
push edx
push ecx
call fcn.10128808
add esp, 8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp edx, 0x10
jb 0x1001cdc4
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001cdba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001cdba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10128808
add esp, 8
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x240], 0x1014fb94
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x244], eax
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x1014fadc
call fcn.10011700
lea ecx, [ebp - 0x23c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x238]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1f0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.1012838d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret