Function at 0x4a75c0
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x138
push ebx
push ecx
push edx
push esi
push edi
mov esi, eax
lea eax, [esp + 0x114]
mov ebx, 0x5aa130
mov ecx, 0
call fcn.00423ae0
mov eax, 0x5c2658
call fcn.004262f0
mov eax, 0x53b4f4
mov ebx, 0x5c1968
mov ecx, 0
call fcn.00423ae0
push 0x50
push 0x5c2848
call sub.WSOCK32.dll_gethostname
push 0x5c2848
call sub.WSOCK32.dll_gethostbyname
mov dword [esp + 0x124], eax
mov eax, 0x5c27f8
call fcn.004260bc
mov eax, 0x5a9e18
mov ebx, 0
call fcn.00425f5c
call fcn.0042502c
cmp eax, 0
jne 0x4a765a
mov eax, 0x5c2848
call fcn.004260bc
mov eax, 0x5c27f8
mov ebx, 0x50
call fcn.00426028
cmp dword [esp + 0x124], 0
je 0x4a777a
lea ebx, [esp + 0x114]
mov eax, dword [esp + 0x124]
mov ecx, 0x10
call fcn.0041ca1c
mov eax, dword [esp + 0x120]
mov eax, dword [eax]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], 0xffffffff
cmp esi, 0
jne 0x4a76c6
lea eax, [esp + 0x14]
mov ebx, 0x100
mov ecx, 0x5a9e18
mov edx, 0
call fcn.004208b6
cmp dword [esp + 0x130], 0
je 0x4a77b3
mov eax, dword [esp + 0x12c]
mov eax, dword [eax]
mov dword [esp + 0x130], eax
cmp dword [esp + 0x130], 0
je 0x4a776d
mov eax, dword [esp + 0x130]
mov eax, dword [eax]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x128]
mov dword [0x53b4f4], eax
mov eax, 0x5c2658
call fcn.00426380
cmp dword [0x5c290c], 0
je 0x4a776d
cmp esi, 0
jne 0x4a776d
lea edi, [esp + 0x14]
mov eax, edi
mov ebx, 0x100
call fcn.00425f5c
call fcn.004206fb
mov eax, 0x5a9e18
mov ebx, 1
call fcn.00425f5c
call fcn.00425618
push dword [esp + 0x128]
call sub.WSOCK32.dll_inet_ntoa
call fcn.004260bc
call fcn.00425618
mov eax, edi
mov ebx, 0x100
call fcn.00425cd8
add dword [esp + 0x12c], 4
jmp 0x4a76c6
push dword [esp + 0x124]
call fcn.004a5630
mov eax, str.Could_not_GetHostByName__._Error_
mov ebx, 0x23
call fcn.00425f5c
call fcn.004254a0
mov eax, 0x5a9e40
mov ebx, 0x13
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
mov dword [esp + 0x144], 0xf
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x138]
push eax
call sub.KERNEL32.dll_GetComputerNameA
mov dword [esp + 0x148], eax
cmp dword [esp + 0x148], 1
jne 0x4a78c9
cmp dword [esp + 0x144], 0
jle 0x4a78c9
mov eax, 0x5c2848
call fcn.004260bc
call fcn.004206fb
call fcn.00424c94
lea ecx, [esp + 0x134]
mov eax, ecx
call fcn.004260bc
call fcn.004206fb
call fcn.00424c94
call fcn.0042502c
cmp eax, 0
je 0x4a78c9
cmp dword [0x5c2908], 0
je 0x4a78a9
cmp esi, 0
jne 0x4a78a9
mov eax, 0x5c2848
call fcn.004260bc
mov eax, str.Warning._The_Host_Name____and_Computer_Name__
mov ebx, 0x18
call fcn.00425f5c
call fcn.004254a0
mov eax, 0x5a9e6c
mov ebx, 0x15
call fcn.00425f5c
call fcn.00425618
mov eax, ecx
call fcn.004260bc
call fcn.00425618
mov eax, str.__are_different._Will_use_the_Computer_Name.GetOurHostNameAndIP
mov ebx, 0x2c
call fcn.00425f5c
call fcn.00425618
mov eax, 0x5a9eb0
mov ebx, 0x13
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, ecx
call fcn.004260bc
call fcn.004206fb
call fcn.00424c94
mov eax, 0x5c2848
mov ebx, 0x50
call fcn.00426028
cmp dword [0x5c2908], 0
je 0x4a793a
cmp esi, 0
jne 0x4a793a
mov eax, 0x5c2848
call fcn.004260bc
mov eax, str.Running_on_Host_Name_
mov ebx, 0x17
call fcn.00425f5c
call fcn.004254a0
mov eax, str._with_Host_IP_List_
mov ebx, 0x15
call fcn.00425f5c
call fcn.00425618
lea eax, [esp + 0x14]
mov ebx, 0x100
call fcn.00425f5c
call fcn.004206fb
call fcn.00425618
mov eax, str.GetOurHostNameAndIP
mov ebx, 0x13
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, dword [esp + 0x124]
pop edi
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x138
ret