Function at 0x41afd0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x456d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x528], eax
mov eax, dword [ebp + 0x1c]
push str.PRAGMASYS_USER_CONFIG
mov dword [ebp - 0x520], eax
lea eax, [ebp - 0x108]
push 0x104
push eax
lea eax, [ebp - 0x51c]
mov dword [ebp - 0x524], ebx
push eax
mov dword [ebp - 0x51c], 0x104
call fcn.00427325
mov edi, dword [ebp + 0x18]
add esp, 0x10
test eax, eax
jne 0x41b089
cmp dword [ebp - 0x51c], 0
je 0x41b089
lea eax, [ebp - 0x108]
push str.Users:
push eax
call fcn.00427400
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41b18d
push dword [ebp - 0x524]
push str._sUsers_
push edi
push esi
call fcn.004268c3
add esp, 0x10
add ebx, 6
jne 0x41b1f6
mov ebx, dword [ebp - 0x524]
push ebx
lea eax, [ebp - 0x310]
push str._sUsers
push eax
call fcn.00404cf0
push ebx
lea eax, [ebp - 0x20c]
push str._sGroups
push eax
call fcn.00404cf0
push ebx
lea eax, [ebp - 0x518]
push str._sIPs
push eax
call fcn.00404cf0
add esp, 0x24
mov dword [ebp - 0x51c], 0x104
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x41b0ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x20], 0
push edi
push esi
je 0x41b224
lea eax, [ebp - 0x518]
push eax
call fcn.0041a8c0
add esp, 0xc
test eax, eax
jne 0x41b2c2
mov ebx, dword [ebp - 0x52c]
lea eax, [ebp - 0x310]
push edi
push esi
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x528]
push ebx
call fcn.0041ab10
add esp, 0x18
test eax, eax
jne 0x41b2c2
push eax
push dword [ebp - 0x520]
lea eax, [ebp - 0x108]
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x528]
call fcn.0041b650
add esp, 0x1c
test eax, eax
je 0x41b2c2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s_s
push edi
push esi
call fcn.004268c3
add esp, 0x14
jmp 0x41b2c2
lea eax, [ebp - 0x108]
push str.Groups:
push eax
call fcn.00427400
add esp, 8
test eax, eax
je 0x41b1bf
push dword [ebp - 0x524]
push str._sGroups_
push edi
push esi
call fcn.004268c3
lea ebx, [ebp - 0x101]
jmp 0x41b1f3
lea eax, [ebp - 0x108]
push str.IPs:
push eax
call fcn.00427400
add esp, 8
test eax, eax
je 0x41b083
push dword [ebp - 0x524]
push str._sIPs_
push edi
push esi
call fcn.004268c3
lea ebx, [ebp - 0x104]
add esp, 0x10
push 0x5c
push ebx
call fcn.00427670
add esp, 8
test eax, eax
je 0x41b208
mov byte [eax], 0x3f
push ebx
push edi
push esi
call fcn.00427b8d
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265fb
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x52c]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x528]
push ebx
call fcn.0041ab10
add esp, 0x18
test eax, eax
jne 0x41b2c2
push eax
push dword [ebp - 0x520]
lea eax, [ebp - 0x108]
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x528]
call fcn.0041b650
add esp, 0x1c
test eax, eax
je 0x41b297
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s_s
push edi
push esi
call fcn.004268c3
add esp, 0x14
jmp 0x41b2c2
push edi
lea eax, [ebp - 0x518]
push esi
push eax
call fcn.0041a8c0
add esp, 0xc
test eax, eax
jne 0x41b2c2
lea eax, [ebp - 0x310]
push eax
push str._sUsersDefault
push edi
push esi
call fcn.004268c3
add esp, 0x10
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b2c7
sub ecx, edx
je 0x41b459
lea eax, [ebp - 0x520]
push eax
push 9
push 0
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b41e
cmp dword [ebp - 0x520], eax
je 0x41b41e
push str.PRAGMASYS_USER_CONFIG
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x51c]
push eax
call fcn.00427325
add esp, 0x10
test eax, eax
jne 0x41b331
cmp dword [ebp - 0x51c], eax
jne 0x41b432
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00404cf0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x51c], 0x104
push str.Users_
push eax
call fcn.00427400
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b381
push str.Users:
push dword [ebp - 0x51c]
lea eax, [ebp - 0x108]
push eax
call fcn.00427b16
add esp, 0xc
add esi, 6
jmp 0x41b3f1
lea eax, [ebp - 0x414]
push str.Groups_
push eax
call fcn.00427400
mov esi, eax
add esp, 8
test esi, esi
je 0x41b3ba
push str.Groups:
push dword [ebp - 0x51c]
lea eax, [ebp - 0x108]
push eax
call fcn.00427b16
add esp, 0xc
add esi, 7
jmp 0x41b3f1
lea eax, [ebp - 0x414]
push str.IPs_
push eax
call fcn.00427400
mov esi, eax
add esp, 8
test esi, esi
je 0x41b432
push str.IPs:
push dword [ebp - 0x51c]
lea eax, [ebp - 0x108]
push eax
call fcn.00427b16
add esp, 0xc
add esi, 4
test esi, esi
je 0x41b432
push 0x3f
push esi
call fcn.00427670
add esp, 8
test eax, eax
je 0x41b407
mov byte [eax], 0x5c
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00427b8d
add esp, 0xc
jmp 0x41b432
lea eax, [ebp - 0x108]
push str.Users:Default
push eax
call fcn.00404cf0
add esp, 8
lea eax, [ebp - 0x108]
push eax
push str.PRAGMASYS_USER_CONFIG
call fcn.00427ef4
lea eax, [ebp - 0x108]
push eax
push str.Using_configuration__s_r_n
push 2
call fcn.0041a380
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265fb
mov esp, ebp
pop ebp
ret