Function at 0x4f95c6
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa30
push esi
mov dword [ebp - 0xa30], 0x800
push 0x10
push 0
lea eax, [ebp - 0xa28]
push eax
call fcn.0054bfb0
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x204]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov byte [edx], 0xd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x3d60]
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x24], 0
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x25], 0xff
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x26], 0xff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x3d64]
mov byte [eax + 0x27], dl
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x3d68]
mov byte [eax + 0x28], dl
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x29], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x3d7c]
mov byte [ecx + 0x2a], al
lea ecx, [ebp - 0xa14]
push ecx
call fcn.0054d539
add esp, 4
mov edx, dword [ebp - 0xa14]
push edx
lea ecx, [ebp - 0x20c]
call fcn.005161c0
lea ecx, [ebp - 0x20c]
call fcn.00406c70
mov dword [ebp - 0xa18], eax
lea ecx, [ebp - 0x20c]
call fcn.00406c90
mov dword [ebp - 0x208], eax
lea ecx, [ebp - 0x20c]
call fcn.00406cb0
mov dword [ebp - 0xa10], eax
mov eax, dword [ebp - 0xa18]
sub eax, 0x7d0
sar eax, 8
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x2b], al
mov edx, dword [ebp - 0xa18]
sub edx, 0x7d0
and edx, 0xff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x2c], dl
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x208]
mov byte [ecx + 0x2d], dl
mov eax, dword [ebp - 0xa10]
sar eax, 8
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x2e], al
mov edx, dword [ebp - 0xa10]
and edx, 0xff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x2f], dl
mov ecx, dword [ebp + 8]
add ecx, 0x3ce0
push ecx
call fcn.0054c3e0
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x30], dl
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x31], 3
mov dword [ebp - 0xa2c], 0
jmp 0x4f974c
mov edx, dword [ebp - 0xa2c]
add edx, 1
mov dword [ebp - 0xa2c], edx
mov eax, dword [ebp + 8]
add eax, 0x3ce0
push eax
call fcn.0054c3e0
add esp, 4
cmp dword [ebp - 0xa2c], eax
jge 0x4f9783
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xa2c]
mov edx, dword [ebp - 0xa2c]
mov eax, dword [ebp + 0xc]
mov cl, byte [ecx + 0x3ce0]
mov byte [eax + edx*2 + 0x32], cl
jmp 0x4f973d
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x3d20]
cmp eax, 0x54
jne 0x4f97af
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x3d21]
cmp edx, 0x53
jne 0x4f97af
mov dword [ebp - 4], 2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x3d20]
push edx
call fcn.0054c3e0
add esp, 4
lea eax, [eax + eax + 2]
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x3e], al
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x3f], 3
mov dword [ebp - 0xa2c], 0
jmp 0x4f97f1
mov eax, dword [ebp - 0xa2c]
add eax, 1
mov dword [ebp - 0xa2c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x3d20]
push eax
call fcn.0054c3e0
add esp, 4
cmp dword [ebp - 0xa2c], eax
jge 0x4f9831
mov ecx, dword [ebp - 0xa2c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xa2c]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov cl, byte [esi + ecx + 0x3d20]
mov byte [eax + edx*2 + 0x40], cl
jmp 0x4f97e2
lea edx, [ebp - 0xa30]
push edx
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 6
lea ecx, [ebp - 0xa09]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x5c
push edx
call fcn.0054c980
add esp, 0xc
push 0x14
mov eax, dword [ebp + 8]
add eax, 0x3d6c
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x62
push ecx
call fcn.0054c980
add esp, 0xc
push 5
mov edx, dword [ebp + 8]
add edx, 0x4750
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x67
push eax
call fcn.0054c980
add esp, 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret