Function at 0x444210
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea eax, [ebp - 8]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], 0x607c20
mov dword [ebp - 0x20], 0x60edfa
mov dword [ebp - 0x18], 0x444533
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], esp
mov dword [esp], eax
call fcn.004cf190
mov dword [esp + 4], 0x63ac32
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__stricmp]
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x44], eax
call eax
test eax, eax
je 0x444290
mov dword [esp + 4], 0x63ac36
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov eax, dword [ebp - 0x44]
call eax
test eax, eax
jne 0x444455
mov dword [ebp - 0x44], 0x11
jmp 0x444297
mov dword [ebp - 0x44], 6
mov eax, dword [ebp - 0x40]
lea ecx, [eax + 0x38]
lea edx, [eax + 0x48]
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 0x44], 0
mov dword [ebp - 0x4c], edx
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
test ecx, ecx
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
je 0x444390
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0x38], 0xffffffff
call dword [sym.imp.WS2_32.dll_gethostbyname]
sub esp, 4
test eax, eax
je 0x44449c
mov edx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], 0xffffffff
call fcn.00443e50
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_getservbyname]
sub esp, 8
test eax, eax
je 0x4443d0
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0xffffffff
call fcn.00443de0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
cmp eax, 6
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x58], 0
setne al
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
movzx eax, al
add eax, 1
mov dword [ecx + 0x5c], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.004cf200
leave
ret 4
mov dword [esp + 0xc], 7
mov dword [esp + 8], str.0.0.0.0
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], 0xffffffff
call fcn.005dcdd0
sub esp, 0x10
jmp 0x4442e9
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], 0x63ac54
lea ecx, [eax + 0x18]
call fcn.0056a650
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x4444ec
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
movzx eax, ax
mov dword [esp], eax
mov dword [ebp - 0x38], 0xffffffff
call dword [sym.imp.WS2_32.dll_htons]
sub esp, 4
movzx eax, ax
mov dword [esp + 4], 0
mov word [ebp - 0x48], ax
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_getservbyport]
sub esp, 8
test eax, eax
jne 0x44433c
movzx edx, word [ebp - 0x48]
mov eax, dword [ebp - 0x40]
mov word [eax + 0x50], dx
jmp 0x44434d
mov dword [esp], 0x20
call fcn.00606e10
mov dword [esp], str.Bad_protocol_name
mov ecx, eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x54], eax
call fcn.00529f60
push eax
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
mov dword [ebp - 0x38], 0xffffffff
call fcn.00607a50
mov dword [esp], 0x20
call fcn.00606e10
mov dword [ebp - 0x50], eax
mov dword [esp], 0x2af9
mov dword [ebp - 0x38], 2
call sub.msvcrt.dll_strerror
mov dword [esp], eax
mov ecx, dword [ebp - 0x50]
call fcn.00529f60
push edx
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov dword [ebp - 0x38], 0xffffffff
call fcn.00607a50
mov dword [esp], 0x20
call fcn.00606e10
mov dword [esp], str.Unknown_service_name
mov ecx, eax
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x58], eax
call fcn.00529f60
push eax
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0x38], 0xffffffff
call fcn.00607a50
add ebp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x44454f
sub eax, 1
je 0x444571
sub eax, 1
je 0x44456c
ud2
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.00607340
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov dword [ebp - 0x38], 0xffffffff
call fcn.004cf4a0
mov eax, dword [ebp - 0x58]
jmp 0x444552
mov eax, dword [ebp - 0x50]
jmp 0x444552