Function at 0x1001b750
Capabilities:
Create thread
Encode data using xor
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029b3b
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10040bd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10040fa0]
lea ecx, [ebp - 0x34]
push ecx
push 0
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x1001bb75
cmp dword [0x1004106c], 1
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
jne 0x1001b8cf
mov dword [ebp - 0x38], 0x10032c80
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
add esi, 0x14
cmp byte [ebx + 0x13], al
je 0x1001b805
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 - 0x38], eax
test eax, eax
je 0x1001b7f9
sub esi, edi
nop dword [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 - 0x38]
cmp edx, eax
jb 0x1001b7e0
mov byte [eax + edi], 0
mov esi, edi
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
push 1
push 0x40
push 8
push esi
lea ecx, [ebp - 0x1a8]
call fcn.10004a10
mov dword [ebp - 0x38], 0x10032be4
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
add esi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x1001b86f
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 - 0x38], eax
test eax, eax
je 0x1001b869
sub esi, edi
nop
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 - 0x38]
cmp edx, eax
jb 0x1001b850
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0x1a8]
push esi
push eax
call fcn.100045b0
push dword [ebp - 0x40]
lea eax, [ebp - 0x1a8]
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0x1a4]
call fcn.100054f0
test eax, eax
jne 0x1001b8b7
push eax
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
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 - 0x1a8]
mov dword [ebp - 4], 0xffffffff
call fcn.10005000
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
cmp dword [0x1004107c], 1
jne 0x1001baa2
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0xf8]
push 1
push 0x40
push 8
push 0x10032ca8
call fcn.10004a10
mov dword [ebp - 0x38], 0x10032cac
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
add esi, 0x14
mov dword [ebp - 4], 1
cmp byte [ebx + 0x13], 0
je 0x1001b962
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 - 0x38], eax
test eax, eax
je 0x1001b95c
sub esi, edi
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 - 0x38]
cmp edx, eax
jb 0x1001b943
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0xf8]
push esi
push eax
call fcn.100045b0
push dword [ebp - 0x3c]
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.100045b0
mov dword [ebp - 0x38], str.gum
add esp, 0x14
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1001b9df
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1001b9d9
sub esi, edi
nop dword [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 - 0x3c]
cmp edx, eax
jb 0x1001b9c0
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0xf8]
push esi
push eax
call fcn.100045b0
push dword [ebp - 0x40]
lea eax, [ebp - 0xf8]
push eax
call fcn.100045b0
mov dword [ebp - 0x38], 0x10032d04
add esp, 0x10
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1001ba51
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1001ba4b
sub esi, edi
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 - 0x3c]
cmp edx, eax
jb 0x1001ba32
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0xf8]
push esi
push eax
call fcn.100045b0
add esp, 8
lea ecx, [ebp - 0xf4]
call fcn.100054f0
test eax, eax
jne 0x1001ba8a
push eax
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf8]
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_]
push 2
push 0x10032d40
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xf8]
call fcn.10005000
mov eax, dword [0x10041070]
push 0
cmp eax, 1
jne 0x1001bad4
push 0
push 0
push 0x1001b4d0
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]
cmp eax, 2
jne 0x1001bae4
push 0
push 0
push 0x1001b5b0
jmp 0x1001bab7
cmp eax, 3
jne 0x1001baf4
push 0
push 0
push 0x1001b690
jmp 0x1001bab7
cmp eax, 4
jne 0x1001bace
push 0
push 0
push 0x10026da0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x38], 0x10032d44
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1001bb5f
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1001bb59
sub esi, edi
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 - 0x3c]
cmp edx, eax
jb 0x1001bb40
mov byte [eax + edi], 0
mov esi, edi
push 0x200010
push esi
push dword [ebp - 0x40]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1001bacc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027810
mov esp, ebp
pop ebp
ret