Function at 0x41a5f0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59410b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call fcn.00401ba0
mov dword [ebp - 4], 0
cmp dword [0x606d00], 0
je 0x41a67b
mov ecx, dword [0x606d00]
call fcn.00416c60
mov eax, dword [0x606d00]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x130], 0
je 0x41a671
push 1
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x130]
call dword [eax]
mov dword [ebp - 0x144], eax
jmp 0x41a67b
mov dword [ebp - 0x144], 0
push 0x9c
call fcn.0057284c
add esp, 4
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x13c], 0
je 0x41a6ae
mov ecx, dword [ebp - 0x13c]
call fcn.004152e0
mov dword [ebp - 0x148], eax
jmp 0x41a6b8
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x138]
mov dword [0x606d00], edx
mov eax, dword [ebp + 8]
push eax
push 0x186a0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x41a470
mov ecx, dword [0x606d00]
call fcn.00415570
and eax, 0xff
test eax, eax
je 0x41a8a7
push 0x100
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x41a7a4
mov dword [ebp - 0x11c], 0
jmp 0x41a747
mov ecx, dword [ebp - 0x11c]
add ecx, 1
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x14]
call fcn.0057768c
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x118]
movsx ecx, word [eax + 0xa]
mov eax, dword [ebp - 0x11c]
mov edx, dword [edx + eax*4]
add edx, ecx
mov eax, dword [ebp - 0x118]
cmp edx, dword [eax]
jb 0x41a795
jmp 0x41a7a4
push 0x5aa234
lea ecx, [ebp - 0x14]
call fcn.0057768c
jmp 0x41a738
lea ecx, [ebp - 0x140]
push ecx
call fcn.005705f4
push eax
lea ecx, [ebp - 0x120]
call fcn.004075c0
push 0x5aa208
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x120]
call fcn.00570636
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00401ba0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.00401ba0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.00401bd0
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x524
call fcn.0046adb0
mov eax, dword [ebp + 8]
push eax
push 0x5aa1f8
lea ecx, [ebp - 0x128]
push ecx
call fcn.0056fdd7
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00401bd0
push eax
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x524
call fcn.0046adb0
mov edx, dword [ebp + 8]
push edx
push 0x5aa1d4
lea eax, [ebp - 0x12c]
push eax
call fcn.0056fdd7
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x12c]
call fcn.00401bd0
push eax
mov ecx, dword [0x60693c]
call fcn.004189e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.005772b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.005772b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.005772b0
jmp 0x41a902
mov ecx, dword [ebp + 8]
push ecx
push 0x5aa194
lea edx, [ebp - 0x14]
push edx
call fcn.0056fdd7
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00401bd0
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x524
call fcn.0046adb0
push 0x5aa188
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x524
call fcn.0046adb0
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00401bd0
push eax
mov ecx, dword [0x60693c]
call fcn.004189e0
push 0x5aa17c
push 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x524
call fcn.0046adb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005772b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8