Function at 0x4191f0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619ca5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call fcn.00402bf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402bf0
mov byte [ebp - 4], 1
cmp dword [0x88fb58], 0
je 0x419287
mov ecx, dword [0x88fb58]
call fcn.00415690
mov eax, dword [0x88fb58]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 0
je 0x41927d
push 1
mov edx, dword [ebp - 0x128]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x128]
call dword [eax]
mov dword [ebp - 0x140], eax
jmp 0x419287
mov dword [ebp - 0x140], 0
push 0xb8
call fcn.005f2f36
add esp, 4
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x134], 0
je 0x4192ba
mov ecx, dword [ebp - 0x134]
call fcn.00413ef0
mov dword [ebp - 0x144], eax
jmp 0x4192c4
mov dword [ebp - 0x144], 0
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x130], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x130]
mov dword [0x88fb58], edx
mov eax, dword [ebp + 8]
push eax
push 0x186a0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x418d30
mov ecx, dword [0x88fb58]
call fcn.00414190
and eax, 0xff
test eax, eax
je 0x41940e
lea ecx, [ebp - 0x1c]
call fcn.00402bf0
mov byte [ebp - 4], 3
push pe_nt_image_headers32
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x419363
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.005f7b05
jmp 0x419370
push 0x64dec8
lea ecx, [ebp - 0x1c]
call fcn.005f7b05
lea ecx, [ebp - 0x124]
call fcn.00402bf0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0x6502b8
lea ecx, [ebp - 0x124]
push ecx
call fcn.005efc10
add esp, 0x10
push 1
lea ecx, [ebp - 0x124]
call fcn.00402c90
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x63c
call fcn.006010d0
mov edx, dword [ebp + 8]
push edx
push 0x650284
lea eax, [ebp - 0x18]
push eax
call fcn.005efc10
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
lea edx, [ebp - 0x18]
push edx
call fcn.005f76f1
mov dword [ebp - 0x148], eax
mov ecx, dword [0x88fafc]
call fcn.00417710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.005f797c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.005f797c
jmp 0x419488
mov eax, dword [ebp + 8]
push eax
push 0x650270
lea ecx, [ebp - 0x14]
push ecx
call fcn.005efc10
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00402c90
push eax
call fcn.005ffc9f
push 1
lea ecx, [ebp - 0x14]
call fcn.00402c90
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x63c
call fcn.006010d0
mov edx, dword [ebp + 8]
push edx
push 0x65023c
lea eax, [ebp - 0x18]
push eax
call fcn.005efc10
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.005f76f1
mov dword [ebp - 0x14c], eax
mov ecx, dword [0x88fafc]
call fcn.00417710
push 1
push str.Online:_0
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x63c
call fcn.006010d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.005f797c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005f797c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8