Function at 0x40cd30
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5063de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
push esi
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov dword [ebp - 4], eax
push 0x104
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x54], 1
push eax
call fcn.004e1ab0
add esp, 0xc
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x4c], 0x104
xor ecx, ecx
mov dword [ebp - 0x14], 0x8b8487a3
mov dword [ebp - 0x10], 0x1008282
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 6
jb 0x40cdb8
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0x9e9a91b4
mov dword [ebp - 0x44], 0xadb1818e
mov dword [ebp - 0x40], 0x9783829a
mov dword [ebp - 0x3c], 0x99b6809d
mov dword [ebp - 0x38], 0x958b8c99
mov dword [ebp - 0x34], 0x8a98af97
mov dword [ebp - 0x30], 0x706453a3
mov dword [ebp - 0x2c], 0x63666d75
mov dword [ebp - 0x28], 0x695d5474
mov dword [ebp - 0x24], 0x527d657b
mov dword [ebp - 0x20], 0x7363715f
mov dword [ebp - 0x1c], 0x7361717e
mov dword [ebp - 0x18], 0x1006b65
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x32
jb 0x40ce26
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x15], 0
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x1ffff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x40ce89
lea ecx, [ebp - 0x264]
mov byte [ebp - 0x161], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ce71
sub ecx, edx
lea eax, [ebp - 0x264]
push ecx
push eax
mov ecx, esi
call fcn.00468880
cmp dword [esi + 0x10], 0
ja 0x40cf8a
push 0x104
lea eax, [ebp - 0x368]
push 0
push eax
call fcn.004e1ab0
add esp, 0xc
mov dword [ebp - 0x4c], 0x104
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x368]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
je 0x40cee8
lea ecx, [ebp - 0x368]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ced0
sub ecx, edx
lea eax, [ebp - 0x368]
push ecx
push eax
mov ecx, esi
call fcn.00468880
cmp dword [esi + 0x10], 0
ja 0x40cf8a
push 0x104
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.004e1ab0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 1
push 0x54267c
push 0
call dword [sym.imp.ADVAPI32.dll_LsaOpenPolicy]
test eax, eax
js 0x40cf65
lea eax, [ebp - 0x50]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_LsaQueryInformationPolicy]
test eax, eax
js 0x40cf5c
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x28], 0
je 0x40cf3e
add eax, 8
push eax
lea eax, [ebp - 0x160]
push 0x51fc9c
push eax
call fcn.00403220
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_LsaClose]
lea ecx, [ebp - 0x160]
mov byte [ebp - 0x5d], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf72
sub ecx, edx
lea eax, [ebp - 0x160]
push ecx
push eax
mov ecx, esi
call fcn.00468880
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret