Function at 0x418860
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 0x51f269
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc0
push esi
xor al, al
mov dword [ebp - 0x3c], 0
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4188b6
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4188bb
mov al, 1
mov dword [ebp - 0x1c], eax
movaps xmm0, xmmword [0x545680]
xor ecx, ecx
movups xmmword [ebp - 0x89], xmm0
mov byte [ebp - 0x69], 0x78
movaps xmm0, xmmword [0x544d60]
movups xmmword [ebp - 0x79], xmm0
movaps xmm0, xmmword [str.Pcgwwa]
movups xmmword [ebp - 0x68], xmm0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x89], al
inc ecx
cmp ecx, 0x28
jb 0x4188e5
mov dword [0x558534], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x89]
mov byte [ebp - 0x61], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418920
sub ecx, edx
lea eax, [ebp - 0x89]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00402b20
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, 4
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 0x20019
push 0
push eax
push connect
call esi
mov ecx, dword [ebp - 0x20]
test eax, eax
sete al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x4189a4
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418997
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d8c
push ecx
push edx
call fcn.004f7c11
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
jne 0x418a9a
movaps xmm0, xmmword [0x545680]
xor ecx, ecx
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x6c], 0x4c5b5078
movaps xmm0, xmmword [0x544d60]
movups xmmword [ebp - 0x7c], xmm0
movaps xmm0, xmmword [str._hVgvga]
movups xmmword [ebp - 0x68], xmm0
nop dword [eax]
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x8c], al
inc ecx
cmp ecx, 0x2b
jb 0x4189e0
mov dword [0x558538], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x61], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418a18
sub ecx, edx
lea eax, [ebp - 0x8c]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00402b20
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x38]
push ecx
mov eax, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 0x20019
push 0
push eax
push connect
call esi
mov ecx, dword [ebp - 0x20]
test eax, eax
sete al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x418a96
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418a89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d91
push ecx
push edx
call fcn.004f7c11
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x418aab
push dword [ebp - 0x38]
mov eax, 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x10
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x418d76
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418af0
sub ecx, edx
lea eax, [ebp - 0xcc]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00402b20
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x29], 0xb6a2aebd
xor ecx, ecx
movq qword [ebp - 0x25], xmm0
mov byte [ebp - 0x1d], 0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x29], al
inc ecx
cmp ecx, 4
jb 0x418b25
mov dword [0x558588], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x29]
mov byte [ebp - 0x25], 0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xa8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418b60
sub ecx, edx
lea eax, [ebp - 0x29]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.00402b20
mov eax, dword [ebp - 0x18]
or eax, 0x10
mov byte [ebp - 4], 1
lea edi, [ebp - 0xbc]
or eax, 1
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x18], eax
cmovae edi, dword [ebp - 0xbc]
mov edx, edi
mov dword [ebp - 0x3c], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x418ba5
mov esi, dword [ebp - 0x40]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x54]
cmp esi, 0x10
push edi
cmovae ecx, dword [ebp - 0x54]
push 0
call fcn.004851f0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x418ca2
xorps xmm0, xmm0
mov dword [ebp - 0x2b], 0xafbaa1bd
mov word [ebp - 0x27], 0xb5bd
xor ecx, ecx
movq qword [ebp - 0x25], xmm0
mov byte [ebp - 0x1d], 0
nop
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 6
jb 0x418bf0
mov dword [0x5584f8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x25], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x90], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418c30
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.00402b20
or dword [ebp - 0x18], 0x22
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 0x10
mov edi, dword [ebp - 0xa4]
cmovae eax, edi
mov edx, eax
mov dword [ebp - 0x3c], eax
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x418c70
mov esi, dword [ebp - 0x40]
sub edx, ecx
push edx
push dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x54]
cmp esi, 0x10
push 0
cmovae ecx, dword [ebp - 0x54]
call fcn.004851f0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x418ca8
mov byte [ebp - 0x11], 0
jmp 0x418cac
mov edi, dword [ebp - 0xa4]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 2
je 0x418cf3
mov ecx, dword [ebp - 0x90]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x418cf3
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x418ce3
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d96
push ecx
push edi
call fcn.004f7c11
mov esi, dword [ebp - 0x40]
add esp, 8
mov eax, dword [ebp - 0x18]
test al, 1
je 0x418d32
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x418d32
mov edx, dword [ebp - 0xbc]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x418d25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d96
push ecx
push edx
call fcn.004f7c11
mov esi, dword [ebp - 0x40]
add esp, 8
mov eax, dword [ebp - 0x1c]
mov ecx, 1
cmp byte [ebp - 0x11], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
cmp esi, 0x10
jb 0x418d79
mov edx, dword [ebp - 0x54]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x418d6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d96
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004fceb0
call fcn.004fceb0
call fcn.004fceb0
int3