Function at 0x4125b0
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.00448107
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 0x498700
push esi
call ebx
lea edx, [esp + 0x120]
push edx
call fcn.0044808e
add esp, 4
lea eax, [esp + 0x120]
push eax
push esi
call ebx
push edi
call fcn.00410840
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 0x412886
push 0x4a9180
lea eax, [esp + 0x1a4]
push 0x49b15c
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 0x41279d
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 0x4a9174
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4126e9
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 0x4a9164
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x41271b
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 0x4a914c
push ecx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x41274d
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 0x412760
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
push 0x4a911c
lea ecx, [esp + 0x1a4]
push 0x49b15c
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 0x4127bb
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x412886
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 0x4a9174
push ecx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x4127ed
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 0x4a9164
push eax
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x41281f
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 0x4a914c
push edx
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x412851
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 0x412864
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x412877
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
add edi, 0xefc
push edi
call fcn.004390b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x590
ret