Function at 0x418480
Capabilities:
Encode data using xor
Get hostname
Get session user name
Terminate process

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 0x51f22e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x258
push 0x100
lea eax, [ebp - 0x168]
mov dword [ebp - 0x34], 0
push 0
push eax
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
call fcn.004f9bf0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x100
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.004f9bf0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
movaps xmm0, xmmword [0x5439b0]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 7
jb 0x418522
mov dword [0x558510], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x21], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418554
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00402b20
mov dword [ebp - 4], 0
mov eax, 5
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.004f9260
add esp, 8
test eax, eax
jne 0x418633
xorps xmm0, xmm0
mov dword [ebp - 0x27], 0xd7a1ada3
mov word [ebp - 0x23], 0xb8bb
xor ecx, ecx
movq qword [ebp - 0x21], xmm0
mov byte [ebp - 0x19], al
nop dword [eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 6
jb 0x4185c0
mov dword [0x5584f8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x27]
mov byte [ebp - 0x21], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4185f2
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402b20
cmp dword [ebp - 0x38], 0x10
mov eax, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004f9260
add esp, 8
mov byte [ebp - 0x11], 0
test eax, eax
je 0x418637
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 2
je 0x41868d
mov ecx, dword [ebp - 0x38]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x41867b
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41866e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4186fc
push ecx
push edx
call fcn.004f7c11
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
test al, 1
je 0x4186c1
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x4186c1
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4186b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4186fc
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x4186e9
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
xor al, al
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004fceb0
int3