Function at 0x4177a0
Capabilities:
Get hostname
Get session user name
Query or enumerate registry value

Disassembly:
sub esp, 0x590
push ebx
push ebp
push esi
lea eax, [esp + 0x11c]
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
call fcn.00461f82
mov edi, dword [esp + 0x5a8]
add esp, 4
lea ecx, [esp + 0x120]
lea esi, [edi + 0x6dc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x579d7c
push esi
call ebx
lea edx, [esp + 0x120]
push edx
call fcn.00461f09
add esp, 4
lea eax, [esp + 0x120]
push eax
push esi
call ebx
push edi
call fcn.004146c0
add esp, 4
lea ecx, [esp + 0x10]
lea edx, [edi + 0xc4]
mov ebx, 0x104
push ecx
push edx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x10]
lea ecx, [edi + 0x2cc]
push eax
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x18]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
push ebp
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
jne 0x417a76
push 0x5908e4
lea eax, [esp + 0x1a4]
push 0x57c890
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1a0]
push ecx
push 0x20019
push ebp
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41798d
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebp
push ebp
push 0x5908d8
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4178d9
lea ecx, [esp + 0x1c]
lea edx, [edi + 0x5d8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
push ebp
push 0x5908c8
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x41790b
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x3d0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push ebp
push ebp
push 0x5908b0
push ecx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x41793d
lea edx, [esp + 0x1c]
lea eax, [edi + 0x4d4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417950
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
push 0x590880
lea ecx, [esp + 0x1a4]
push 0x57c890
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x1a0]
push edx
push 0x20019
push ebp
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4179ab
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x417a76
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x590
ret
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push ebp
push ebp
push 0x5908d8
push ecx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4179dd
lea edx, [esp + 0x1c]
lea eax, [edi + 0x5d8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebp
push ebp
push 0x5908c8
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x417a0f
lea ecx, [esp + 0x1c]
lea edx, [edi + 0x3d0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
push ebp
push 0x5908b0
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x417a41
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x4d4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417a54
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x417a67
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
add edi, 0xefc
push edi
call fcn.004381e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x590
ret