Function at 0x401f6e
Capabilities:
Encode data using xor
Get memory capacity
Get system information on windows
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x473060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x9c
xor ebx, ebx
push esi
push ebx
mov edi, 0x474b58
push edi
call fcn.004453d0
add esp, 0xc
mov dword [0x474b58], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
call esi
test eax, eax
jne 0x401fbb
push edi
mov dword [0x474b58], 0x94
call esi
push 2
pop esi
cmp dword [0x474b68], esi
jne 0x40227c
mov eax, dword [0x474b5c]
push 5
pop edi
cmp eax, edi
jb 0x40227c
jne 0x401fe8
cmp dword [0x474b60], ebx
je 0x40227c
lea eax, [ebp - 0x394]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x380], esi
jb 0x40228f
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x104]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, 0x800
jb 0x40228f
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
lea ecx, [ebp - 0x36c]
push ecx
push 0x18
lea ecx, [ebp - 0xa8]
push ecx
push ebx
push ebx
push 0x70000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x94]
mul dword [ebp - 0x98]
push ebx
push dword [ebp - 0x9c]
push edx
push eax
call fcn.00443420
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push edx
push eax
call fcn.00443420
push ebx
push 0x40000000
push edx
push eax
call fcn.00442f80
cmp eax, 0x64
jb 0x40228f
lea eax, [ebp - 0x360]
push eax
push str.C:WindowsSystem32VBox.dll
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40228f
lea eax, [ebp - 0x370]
push eax
push 1
push ebx
push str.SYSTEMControlSet001ServicesVBoxSF
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40228f
movaps xmm0, xmmword [0x471210]
lea edx, [ebp - 0x90]
push 0x22
pop eax
mov dword [ebp - 0x88], esi
mov esi, ebx
mov word [ebp - 0xb0], 0xf6a7
mov byte [ebp - 0xae], bl
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], 6
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x70], 8
mov dword [ebp - 0x6c], 9
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x64], 0xb
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x5c], 0xd
mov dword [ebp - 0x58], 0xe
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x4c], 0x11
mov dword [ebp - 0x48], 0x12
mov dword [ebp - 0x44], 0x13
mov dword [ebp - 0x40], 0x14
mov dword [ebp - 0x3c], 0x15
mov dword [ebp - 0x38], 0x16
mov dword [ebp - 0x34], 0x17
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], 0x19
mov dword [ebp - 0x28], 0x1a
mov dword [ebp - 0x24], 0x1b
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], 0x1d
mov dword [ebp - 0x18], 0x1e
mov dword [ebp - 0x14], 0x1f
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 0xc], 0x21
movups xmmword [ebp - 0xd0], xmm0
movaps xmm0, xmmword [0x471240]
movups xmmword [ebp - 0xc0], xmm0
test eax, eax
je 0x40222c
mov ecx, dword [edx]
lea edx, [edx + 4]
lea eax, [ecx - 0x2b]
xor byte [ebp + ecx - 0xd0], al
inc esi
cmp esi, 0x22
jne 0x402217
lea eax, [ebp - 0x364]
mov byte [ebp - 0xae], 1
push eax
push 0x20019
push ebx
lea eax, [ebp - 0xd0]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x368]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x364]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x368], 1
sbb al, al
inc al
jmp 0x402291
push 0x10
push str.Fatal_Error
push str.ERROR:_Unfortunately__this_doesnt_support_Win95___98___ME___2000___NT_4.0_environment.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004428c2
mov esp, ebp
pop ebp
ret