Function at 0x41fce7
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659d67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x118]
call fcn.00401d70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.00401d70
mov byte [ebp - 4], 1
cmp dword [0x7827d4], 0
je 0x41fd84
mov ecx, dword [0x7827d4]
call fcn.0041cd38
mov eax, dword [0x7827d4]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 0
je 0x41fd7a
push 1
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x124]
call dword [eax]
mov dword [ebp - 0x140], eax
jmp 0x41fd84
mov dword [ebp - 0x140], 0
push 0x9c
call fcn.0061d6a5
add esp, 4
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x130], 0
je 0x41fdb7
mov ecx, dword [ebp - 0x130]
call fcn.0041b719
mov dword [ebp - 0x144], eax
jmp 0x41fdc1
mov dword [ebp - 0x144], 0
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x12c]
mov dword [0x7827d4], edx
lea ecx, [ebp - 0x11c]
call fcn.00401d70
mov byte [ebp - 4], 3
push 0x100
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x41fe3c
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x11c]
call fcn.006226ef
jmp 0x41fe4c
push str.127.0.0.1
lea ecx, [ebp - 0x11c]
call fcn.006226ef
mov eax, dword [ebp + 8]
push eax
push 0x186a0
mov ecx, dword [ebp - 0x13c]
push ecx
push 0x41fbe7
mov ecx, dword [0x7827d4]
call fcn.0041b93c
and eax, 0xff
test eax, eax
je 0x41ff37
push 5
mov ecx, dword [ebp - 0x13c]
call fcn.00621bb5
mov ecx, dword [ebp - 0x13c]
call fcn.00401eb0
lea ecx, [ebp - 0x120]
call fcn.00401d70
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x11c]
push eax
push str._s:_d
lea ecx, [ebp - 0x120]
push ecx
call fcn.00617593
add esp, 0x10
lea ecx, [ebp - 0x120]
call fcn.00401d90
push eax
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x19c
call fcn.00450cb0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x11c]
push eax
push 0x75a91c
lea ecx, [ebp - 0x110]
push ecx
call fcn.00617593
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0x110]
push edx
call fcn.006222db
mov dword [ebp - 0x148], eax
mov ecx, dword [0x7826ec]
call fcn.0041eef8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x120]
call fcn.00622566
jmp 0x41ffe0
mov eax, dword [ebp + 8]
push eax
push 0x75a964
lea ecx, [ebp - 0x118]
push ecx
call fcn.00617593
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x118]
call fcn.00401d90
push eax
call fcn.0062be0f
push 5
mov ecx, dword [ebp - 0x13c]
call fcn.00621bb5
mov ecx, dword [ebp - 0x13c]
call fcn.00401eb0
lea ecx, [ebp - 0x118]
call fcn.00401d90
push eax
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x19c
call fcn.00450cb0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x11c]
push eax
push 0x75a978
lea ecx, [ebp - 0x110]
push ecx
call fcn.00617593
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
lea edx, [ebp - 0x110]
push edx
call fcn.006222db
mov dword [ebp - 0x14c], eax
mov ecx, dword [0x7826ec]
call fcn.0041eef8
push 0x75a9b8
push 2
mov ecx, dword [ebp - 0x13c]
add ecx, 0x19c
call fcn.00450cb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.00622566
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.00622566
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00622566
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8