Function at 0x4b6220
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4b6228
xor eax, eax
push ebp
push 0x4b6503
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x298]
call fcn.00436578
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047c488
push 0x40
lea eax, [ebp - 0x58]
push eax
call sub.wsock32.dll_gethostname
inc eax
je 0x4b627a
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x58]
mov ecx, 0x40
call fcn.004052b4
lea ecx, [ebp - 0x60]
xor edx, edx
mov al, 1
call fcn.00449d84
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov eax, 0x4b6518
call fcn.0043a230
push dword [ebp - 0x5c]
call fcn.004373d4
and eax, 0x7f
lea edx, [ebp - 0x68]
call fcn.00409ea8
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
mov eax, 0x4b6528
call fcn.0043a230
push dword [ebp - 0x64]
mov eax, dword [0x4d3e5c]
cmp byte [eax], 0
jne 0x4b62d3
call fcn.004358c4
test al, al
jne 0x4b62d3
xor eax, eax
jmp 0x4b62d5
mov al, 1
and eax, 0xff
lea edx, [ebp - 0x70]
call fcn.00409ea8
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
mov eax, 0x4b653c
call fcn.0043a230
push dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x2c0]
mov eax, dword [0x4d37d8]
mov al, byte [eax + 8]
call fcn.004494d8
call fcn.00449800
lea edx, [ebp - 0x78]
call fcn.00409ea8
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
mov eax, 0x4b654c
call fcn.0043a230
push dword [ebp - 0x74]
lea edx, [ebp - 0x80]
mov eax, dword [0x4d3b98]
movzx eax, byte [eax]
call fcn.00409ea8
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x7c]
mov eax, 0x4b655c
call fcn.0043a230
push dword [ebp - 0x7c]
lea eax, [ebp - 0x88]
call fcn.004365d8
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov eax, 0x4b656c
call fcn.0043a230
push dword [ebp - 0x84]
lea eax, [ebp - 0x90]
call fcn.004372ac
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov eax, 0x4b6578
call fcn.0043a230
push dword [ebp - 0x8c]
lea eax, [ebp - 0x98]
call fcn.00464640
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov eax, 0x4b6588
call fcn.0043a230
push dword [ebp - 0x94]
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x14]
mov eax, 0x4b6598
call fcn.0043a230
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0xc]
mov eax, 0x4b65b0
call fcn.0043a230
push dword [ebp - 0xa0]
lea edx, [ebp - 0xa8]
mov eax, dword [0x4d3d98]
movzx eax, byte [eax]
call fcn.00409ea8
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov eax, 0x4b65bc
call fcn.0043a230
push dword [ebp - 0xa4]
lea eax, [ebp - 8]
mov edx, 0xb
call fcn.004053c4
mov eax, dword [ebp - 8]
call fcn.00405304
add eax, 9
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4b61f4]
call fcn.00406528
add esp, 4
mov eax, dword [ebp - 8]
call fcn.00405304
push eax
lea eax, [ebp - 8]
call fcn.0040555c
mov edx, dword [ebp - 0x10]
add edx, 9
pop ecx
call fcn.00402d4c
mov eax, dword [ebp - 0x10]
call fcn.00406354
push eax
mov eax, dword [ebp - 8]
call fcn.00405304
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov ax, 2
call fcn.00449d38
mov eax, dword [ebp - 0x10]
call fcn.0040634c
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00464b30
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4b61f4]
call fcn.00406528
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b650a
lea eax, [ebp - 0xa8]
mov edx, 0x14
call fcn.00405068
lea eax, [ebp - 0x14]
call fcn.00405044
lea eax, [ebp - 0x10]
mov edx, dword [0x4b61f4]
call fcn.00406654
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405068
ret