Function at 0x1000f4f0
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100295cb
mov eax, dword fs:[0]
push eax
sub esp, 0x170
push ebx
push esi
push edi
mov eax, dword [0x10040bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004106c], 1
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
jne 0x1000f5f0
push 1
push 0x40
push 8
push 0x1002d8f4
lea ecx, [ebp - 0x17c]
call fcn.10004a10
mov dword [ebp - 0x10], 0x1002d9a0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x1000f5a5
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000f599
sub esi, edi
nop dword [eax + eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x1000f580
mov byte [eax + edi], 0
mov esi, edi
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.100045b0
add esp, 8
lea ecx, [ebp - 0x178]
call fcn.100054f0
test eax, eax
jne 0x1000f5de
push eax
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x17c]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x17c]
mov dword [ebp - 4], 0xffffffff
call fcn.10005000
cmp dword [0x1004107c], 1
jne 0x1000f704
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xcc]
mov esi, eax
push 1
push 0x40
push 8
push 0x1002d9d4
call fcn.10004a10
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 1
push 0x1002d9d8
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.100045b0
mov dword [ebp - 0x10], 0x1002d9e8
add esp, 0x14
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 0x14], ebx
cmp byte [ebx + 0x13], 0
je 0x1000f6af
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov ebx, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov edi, eax
test ebx, ebx
je 0x1000f6a9
sub esi, edi
nop dword [eax + eax]
mov ecx, dword [ebp - 0x14]
mov eax, edx
and eax, 7
mov al, byte [eax + ecx + 7]
lea ecx, [edx + edi]
xor al, byte [esi + ecx]
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x1000f690
mov byte [ebx + edi], 0
mov esi, edi
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.100045b0
lea eax, [ebp - 0xcc]
push 0x1002da1c
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0xc8]
call fcn.100054f0
test eax, eax
jne 0x1000f6f9
push eax
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xcc]
call fcn.10005000
mov eax, dword [0x10041070]
cmp eax, 1
je 0x1000f745
cmp eax, 3
je 0x1000f745
cmp eax, 4
je 0x1000f745
push 0
cmp eax, 2
jne 0x1000f73f
push 0
push 0
push 0x1000f760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x1000f7e0
jmp 0x1000f728