Function at 0x401fa0
Capabilities:
Encode data using xor
Get hostname

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 0x423e6d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10c
mov eax, dword [0x430040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf8], eax
xorps xmm0, xmm0
mov dword [ebp - 0x104], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov edi, 0x42cb49
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0x98
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 3
push 0
push eax
mov dword [ebp - 0x3c], 0x104
call fcn.0040be90
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.004054a0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov ecx, dword [ebp - 0x20]
sub edx, ecx
mov esi, dword [ebp - 0x3c]
sar edx, 1
mov dword [ebp - 0xfc], eax
cmp esi, edx
jae 0x4020d8
lea eax, [ecx + esi*2]
jmp 0x402119
jbe 0x40211c
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
cmp esi, eax
jbe 0x4020f4
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.00408560
mov ecx, dword [ebp - 0x20]
jmp 0x40211c
mov ecx, dword [ebp - 0xfc]
sub esi, edx
lea eax, [ecx + esi*2]
sub eax, ecx
push eax
push 0
push ecx
call fcn.0040be90
mov eax, dword [ebp - 0xfc]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
lea eax, [eax + esi*2]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0xf8], ecx
sar eax, 1
test ecx, ecx
je 0x4021e3
test eax, eax
je 0x4021e3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x4021e3
lea esi, [eax + 1]
push esi
call fcn.0040a841
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.0040be90
add esp, 0xc
mov byte [edi], 0
push 0
push 0
push dword [ebp - 0xfc]
push edi
push 0xffffffffffffffff
push dword [ebp - 0xf8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4021da
cmp byte [edi], 0
mov esi, edi
je 0x4021b6
nop dword [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x4021b0
sub esi, edi
je 0x4021da
push esi
lea ecx, [ebp - 0x2c]
call fcn.004095c0
push esi
push edi
push dword [ebp - 0x2c]
call fcn.0040b910
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x28], esi
mov byte [esi + eax], 0
push edi
call fcn.0040a339
add esp, 4
xor eax, eax
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea edi, [ebp - 0x4c]
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
lea ecx, [ebp - 0xdc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xf0]
push dword [ebp - 0x48]
mov eax, dword [eax + 4]
or dword [ebp + eax - 0xdc], 4
mov eax, dword [ebp - 0xf0]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xf0]
call fcn.00405790
mov edx, eax
push dword [ebp - 0x44]
mov eax, dword [edx]
mov eax, dword [eax + 4]
or dword [eax + edx + 0x14], 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + edx + 0x14], eax
mov ecx, edx
call fcn.00405790
mov edx, eax
push dword [ebp - 0x40]
mov eax, dword [edx]
mov eax, dword [eax + 4]
or dword [eax + edx + 0x14], 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + edx + 0x14], eax
mov ecx, edx
call fcn.00405790
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov edx, dword [ebp - 0xb0]
mov eax, edx
mov edi, dword [ebp - 0x2c]
and al, 0x22
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov dword [ebp - 0x104], 4
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x11c], xmm0
mov byte [ebp - 0x11c], 0
cmp al, 2
je 0x402308
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
test ecx, ecx
je 0x402308
mov eax, dword [ebp - 0xdc]
cmp ecx, dword [ebp - 0xb4]
cmovb ecx, dword [ebp - 0xb4]
mov edx, dword [eax]
sub ecx, edx
jmp 0x402333
test dl, 4
jne 0x40232d
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
test ecx, ecx
je 0x40232d
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0xc0]
add ecx, dword [eax]
jmp 0x402333
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x402344
push ecx
push edx
lea ecx, [ebp - 0x11c]
call fcn.00407320
mov dword [ebp - 4], 6
lea esi, [ebp - 0x11c]
cmp dword [ebp - 0x108], 0xf
mov eax, dword [0x42cd1c]
mov dword [ebp - 0xf8], eax
mov al, byte [0x42cd20]
mov byte [ebp - 0xf4], al
jbe 0x402376
mov esi, dword [ebp - 0x11c]
xor ecx, ecx
nop dword [eax + eax]
mov eax, 0x3521cfb3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
mov dl, cl
shr eax, 5
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x38
xor byte [ebp + ecx - 0xf8], dl
inc ecx
cmp ecx, 5
jl 0x402380
push edi
push esi
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00409470
mov byte [ebp - 4], 4
add esp, 0x10
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x4023ff
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40251c
push ecx
push edx
call fcn.0040a5bf
add esp, 8
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov edx, esi
mov ecx, dword [ebp - 0x100]
call fcn.00408fb0
mov eax, dword [ebp - 0xf0]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call fcn.00405110
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xf4], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.00409bce
add esp, 4
test byte [ebp - 0x30], 1
je 0x4024a8
push dword [ebp - 0x34]
push 0
push esi
call fcn.0040be90
add esp, 0xc
push esi
call fcn.0040a339
add esp, 4
test byte [ebp - 0x24], 1
je 0x4024c5
push dword [ebp - 0x28]
push 0
push edi
call fcn.0040be90
add esp, 0xc
push edi
call fcn.0040a339
add esp, 4
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4024f8
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4024ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402521
push ecx
push edx
call fcn.0040a5bf
add esp, 8
mov eax, dword [ebp - 0x100]
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.0040a32b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00411394
call fcn.00411394
int3