Function at 0x41bf41
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63a2dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov dword [ebp - 0x134], ecx
cmp dword [0x76c10c], 0
je 0x41bfbd
mov ecx, dword [0x76c10c]
call fcn.00417d27
mov eax, dword [0x76c10c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0
je 0x41bfb3
push 1
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x120]
call dword [eax]
mov dword [ebp - 0x138], eax
jmp 0x41bfbd
mov dword [ebp - 0x138], 0
push 0x19c
call fcn.0061431c
add esp, 4
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x12c], 0
je 0x41bff3
mov ecx, dword [ebp - 0x12c]
call fcn.00415e9d
mov dword [ebp - 0x13c], eax
jmp 0x41bffd
mov dword [ebp - 0x13c], 0
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x128]
mov dword [0x76c10c], edx
lea ecx, [ebp - 0x10]
call fcn.00403370
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403370
mov byte [ebp - 4], 2
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x41c22a
mov ecx, dword [0x76c10c]
call fcn.0041618a
and eax, 0xff
test eax, eax
je 0x41c167
push 0x100
push 0
lea edx, [ebp - 0x114]
push edx
call fcn.004ac1d0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x41c11c
mov dword [ebp - 0x11c], 0
jmp 0x41c0bd
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x14]
call fcn.0061915a
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x118]
movsx edx, word [ecx + 0xa]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [eax + ecx*4]
add eax, edx
mov ecx, dword [ebp - 0x118]
cmp eax, dword [ecx]
jb 0x41c10b
jmp 0x41c11a
push 0x737f80
lea ecx, [ebp - 0x14]
call fcn.0061915a
jmp 0x41c0ae
jmp 0x41c129
push 0x737f84
lea ecx, [ebp - 0x14]
call fcn.00618f07
mov edx, dword [ebp + 8]
push edx
push 0x737f90
lea eax, [ebp - 0x10]
push eax
call fcn.00610e57
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00403580
push eax
push 2
mov ecx, dword [ebp - 0x134]
add ecx, 0x208
call fcn.004d75f0
mov ecx, dword [0x76c10c]
call fcn.00416900
jmp 0x41c194
mov ecx, dword [ebp + 8]
push ecx
push 0x737f98
lea edx, [ebp - 0x14]
push edx
call fcn.00610e57
add esp, 0xc
push 0x737fac
push 2
mov ecx, dword [ebp - 0x134]
add ecx, 0x208
call fcn.004d75f0
push ecx
mov eax, esp
mov dword [ebp - 0x130], esp
lea ecx, [ebp - 0x14]
push ecx
push 0x737fb8
push eax
call fcn.00619087
mov dword [ebp - 0x140], eax
mov ecx, dword [0x76c044]
call fcn.0041ae53
push 0x1343d08
push 0x737fd8
lea edx, [ebp - 0x10]
push edx
call fcn.00610e57
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00403580
push eax
mov ecx, dword [ebp - 0x134]
call fcn.00618338
push 0x737ff8
push 0
mov ecx, dword [ebp - 0x134]
add ecx, 0x208
call fcn.004d75f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00618d7e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00618d7e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8