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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50599e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x370
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x5c], esi
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
push 0x104
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x54], 1
push eax
call fcn.004e14f0
add esp, 0xc
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x4c], 0x104
xor ecx, ecx
mov dword [ebp - 0x14], 0x969b9ab0
mov dword [ebp - 0x10], 0x1009791
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 6
jb 0x40c211
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0x83858ca7
mov dword [ebp - 0x44], 0xb8a6949d
mov dword [ebp - 0x40], 0x9a8c8f89
mov dword [ebp - 0x3c], 0x6c41756e
mov dword [ebp - 0x38], 0x6874716a
mov dword [ebp - 0x34], 0x7f6f5a64
mov dword [ebp - 0x30], 0x7d6b5e50
mov dword [ebp - 0x2c], 0x76717866
mov dword [ebp - 0x28], 0x74424967
mov dword [ebp - 0x24], 0x476a7068
mov dword [ebp - 0x20], 0x7e6c7c4c
mov dword [ebp - 0x1c], 0x4656444d
mov dword [ebp - 0x18], 0x1005656
nop
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x32
jb 0x40c280
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x15], 0
push eax
lea eax, [ebp - 0x270]
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 0x40c2e8
lea ecx, [ebp - 0x270]
mov byte [ebp - 0x16d], al
lea edx, [ecx + 1]
jmp 0x40c2d0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c2d0
sub ecx, edx
lea eax, [ebp - 0x270]
push ecx
push eax
mov ecx, esi
call fcn.0046a350
cmp dword [esi + 0x10], 0
ja 0x40c3ea
push 0x104
lea eax, [ebp - 0x378]
push 0
push eax
call fcn.004e14f0
add esp, 0xc
mov dword [ebp - 0x4c], 0x104
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x378]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
je 0x40c348
lea ecx, [ebp - 0x378]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c330
sub ecx, edx
lea eax, [ebp - 0x378]
push ecx
push eax
mov ecx, esi
call fcn.0046a350
cmp dword [esi + 0x10], 0
ja 0x40c3ea
push 0x104
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.004e14f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 1
push 0x5356cc
push 0
call dword [sym.imp.ADVAPI32.dll_LsaOpenPolicy]
test eax, eax
js 0x40c3c5
lea eax, [ebp - 0x50]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_LsaQueryInformationPolicy]
test eax, eax
js 0x40c3bc
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x28], 0
je 0x40c39e
add eax, 8
push eax
lea eax, [ebp - 0x168]
push 0x5227ac
push eax
call fcn.00402f70
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 - 0x168]
mov byte [ebp - 0x65], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c3d2
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
mov ecx, esi
call fcn.0046a350
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret