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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x415541
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x415543
mov bl, 1
movaps xmm0, xmmword [0x526a10]
xor ecx, ecx
movups xmmword [ebp - 0x4d], xmm0
mov dword [ebp - 0x2d], 0xb1ad86aa
movaps xmm0, xmmword [0x5278c0]
movups xmmword [ebp - 0x3d], xmm0
mov dword [ebp - 0x29], 0x93b9b9b5
mov word [ebp - 0x25], 0x100
nop
lea eax, [ecx - 0x47]
xor byte [ebp + ecx - 0x4d], al
inc ecx
cmp ecx, 0x28
jb 0x415570
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x4d]
mov byte [ebp - 0x24], 0
push eax
push connect
call esi
test eax, eax
je 0x4155fd
movaps xmm0, xmmword [0x526a10]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x9e8d86aa
movaps xmm0, xmmword [0x5278c0]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0x9598a6b2
mov dword [ebp - 0x28], 0x979184
mov byte [ebp - 0x24], 1
lea eax, [ecx - 0x47]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 0x2b
jb 0x4155d2
lea eax, [ebp - 4]
mov byte [ebp - 0x24], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x50]
push eax
push connect
call esi
test eax, eax
jne 0x415608
push dword [ebp - 4]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x415732
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415640
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004028a0
mov dword [ebp - 0xe], 0xe4f4f8ef
xor ecx, ecx
mov word [ebp - 0xa], 0x100
lea eax, [ecx - 0x47]
xor byte [ebp + ecx - 0xe], al
inc ecx
cmp ecx, 4
jb 0x415665
lea edx, [ebp - 0xe]
mov byte [ebp - 9], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x415680
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0xe]
sub edx, ecx
cmp dword [ebp - 0x28], 0x10
push edx
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push eax
cmovae ecx, edi
push 0
call fcn.0046b770
add esp, 0xc
cmp eax, 0xffffffff
jne 0x415701
mov dword [ebp - 0x10], 0xfdecf7ef
xor ecx, ecx
mov dword [ebp - 0xc], 0x100fbef
nop dword [eax]
lea eax, [ecx - 0x47]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 6
jb 0x4156c0
lea esi, [ebp - 0x10]
mov byte [ebp - 9], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4156d7
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
sub esi, ecx
cmp dword [ebp - 0x28], 0x10
push esi
push eax
lea ecx, [ebp - 0x3c]
cmovae ecx, edi
push 0
call fcn.0046b770
add esp, 0xc
cmp eax, 0xffffffff
je 0x415703
mov bl, 1
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x415732
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x415728
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41573b
push ecx
push edi
call fcn.004dd461
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e2700
int3