Function at 0x484670
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x49
push 0
push 0
dec ecx
jne 0x484678
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x484977
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov al, 1
call fcn.0040730c
lea edx, [ebp - 0x194]
push edx
push eax
call sub.wsock32.dll_WSAStartup
push 0x80
lea eax, [ebp - 0x215]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x215]
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esi + 0x14]
mov edx, dword [ebx]
call fcn.0040488c
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov ebx, eax
lea eax, [esi + 0x10]
mov edx, ebx
call fcn.0040488c
call sub.wsock32.dll_WSACleanup
mov eax, dword [esi + 0xc]
call fcn.004038a0
mov dl, 1
mov eax, dword [0x4138f0]
call fcn.00403870
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
call fcn.004038a0
mov dl, 1
mov eax, dword [0x4138f0]
call fcn.00403870
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
call fcn.004038a0
mov dl, 1
mov eax, dword [0x4138f0]
call fcn.00403870
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x42acb4]
call fcn.0042ad84
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484942
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0042ae24
xor ebx, ebx
jmp 0x4847a7
lea ecx, [ebp - 0x21c]
mov edx, 0x484990
mov eax, dword [ebp - 4]
call fcn.0042b154
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
mov edx, 0x4849a8
mov eax, dword [ebp - 4]
call fcn.0042b154
mov edx, dword [ebp - 0x220]
mov eax, dword [esi + 4]
pop ecx
mov edi, dword [eax]
call dword [edi + 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042adf4
inc ebx
mov dword [ebp - 0x22c], ebx
fild dword [ebp - 0x22c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x228]
mov eax, 0x4849bc
call fcn.0040ab0c
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x224]
mov edx, 0x4849cc
call fcn.004049bc
mov edx, dword [ebp - 0x224]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0042ae88
test al, al
jne 0x484762
xor ebx, ebx
jmp 0x484841
lea ecx, [ebp - 0x230]
mov edx, 0x484990
mov eax, dword [ebp - 4]
call fcn.0042b154
mov eax, dword [ebp - 0x230]
push eax
lea ecx, [ebp - 0x234]
mov edx, 0x4849a8
mov eax, dword [ebp - 4]
call fcn.0042b154
mov edx, dword [ebp - 0x234]
mov eax, dword [esi + 8]
pop ecx
mov edi, dword [eax]
call dword [edi + 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042adf4
inc ebx
mov dword [ebp - 0x22c], ebx
fild dword [ebp - 0x22c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x23c]
mov eax, 0x4849bc
call fcn.0040ab0c
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
mov edx, 0x484a04
call fcn.004049bc
mov edx, dword [ebp - 0x238]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0042ae88
test al, al
jne 0x4847fc
xor ebx, ebx
jmp 0x4848db
lea ecx, [ebp - 0x240]
mov edx, 0x484990
mov eax, dword [ebp - 4]
call fcn.0042b154
mov eax, dword [ebp - 0x240]
push eax
lea ecx, [ebp - 0x244]
mov edx, 0x4849a8
mov eax, dword [ebp - 4]
call fcn.0042b154
mov edx, dword [ebp - 0x244]
mov eax, dword [esi + 0xc]
pop ecx
mov edi, dword [eax]
call dword [edi + 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042adf4
inc ebx
mov dword [ebp - 0x22c], ebx
fild dword [ebp - 0x22c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x24c]
mov eax, 0x4849bc
call fcn.0040ab0c
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
mov edx, 0x484a40
call fcn.004049bc
mov edx, dword [ebp - 0x248]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0042ae88
test al, al
jne 0x484896
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484949
mov eax, dword [ebp - 4]
call fcn.004038a0
ret