Function at 0x422e3c
Capabilities:
Resolve dns

Disassembly:
push ebp
sub esp, 0x64
lea ebp, [esp - 4]
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp + 0x64], eax
push 0x48
mov eax, 0x62956f
call fcn.0058c0ed
mov esi, ecx
xor edi, edi
mov dword [ebp + 0x40], edi
push dword [ebp + 0x74]
xor ebx, ebx
inc ebx
lea ecx, [ebp + 0x30]
mov dword [ebp - 4], ebx
call fcn.004108dc
push dword [ebp + 0x70]
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 2
call fcn.004108dc
push dword [ebp + 0x30]
mov byte [ebp - 4], 3
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
jne 0x422ee1
xor bl, bl
mov ecx, dword [ebp + 0x34]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x74]
add ecx, 0xfffffff0
call fcn.00401493
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.0058c0de
add ebp, 0x68
leave
ret 0x10
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp + 0x48]
push eax
call fcn.0058ca40
add esp, 0xc
push dword [ebp + 0x48]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp + 0x54]
push 0x10
push eax
call fcn.0058eb77
mov eax, dword [ebp + 0x78]
add esp, 0xc
cmp eax, dword [esi + 0xfd8]
jne 0x422f6f
push ecx
lea eax, [ebp + 0x54]
mov ecx, esp
mov dword [ebp + 0x38], esp
push eax
call fcn.0040e66e
mov ecx, esi
call fcn.0040f256
test al, al
jne 0x422f6a
push 0x64a16c
lea ecx, [ebp + 0x74]
call fcn.004027cb
test eax, eax
je 0x422f6a
push 4
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x74]
call fcn.00403286
push str.127.
mov ecx, eax
mov byte [ebp - 4], 4
mov dword [ebp + 0x40], ebx
call fcn.00406897
test eax, eax
jne 0x422f6f
mov byte [ebp + 0x3f], bl
jmp 0x422f73
mov byte [ebp + 0x3f], 0
mov dword [ebp - 4], 3
test byte [ebp + 0x40], bl
je 0x422f8a
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.00401493
cmp byte [ebp + 0x3f], 0
je 0x422fc6
push ebx
push edi
push edi
push ecx
mov dword [ebp + 0x38], esp
mov ecx, esp
push str.127.0.0.1
call fcn.00402035
push ecx
lea eax, [ebp + 0x70]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00402e5b
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004211f1
jmp 0x422e94
lea ecx, [ebp + 0x18]
call fcn.00564a52
mov dword [ebp + 0x18], vtable.ZSendSocket.0
push edi
push 0x3f
push ebx
push edi
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 6
call fcn.0056463b
push dword [ebp + 0x7c]
lea ecx, [ebp + 0x18]
call fcn.004cd00b
push dword [ebp + 0x78]
lea ecx, [ebp + 0x18]
push dword [ebp + 0x74]
call fcn.00564324
test eax, eax
je 0x4230a1
lea ecx, [ebp + 0x18]
call fcn.004cd024
push ebx
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.00563821
push edi
push 0x1000
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0054d44c
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.0040b761
lea ecx, [ebp - 0x54]
call fcn.0054d18f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0054d35d
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.00563860
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x40]
call fcn.004018a6
push dword [ebp + 0x70]
lea eax, [ebp + 0x40]
push dword [ebp + 0x78]
mov byte [ebp - 4], 9
push dword [ebp + 0x74]
push str.Sent_to__s:_i____s
push eax
call fcn.00401e49
add esp, 0x10
lea eax, [ebp + 0x40]
mov dword [ebp + 0x38], esp
mov ecx, esp
push eax
call fcn.00402e5b
push 2
jmp 0x4230df
xor bl, bl
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x40]
call fcn.004018a6
push dword [ebp + 0x70]
lea eax, [ebp + 0x40]
push dword [ebp + 0x78]
mov byte [ebp - 4], 0xa
push dword [ebp + 0x74]
push str.Timed_out_sending_to__s:_i____s
push eax
call fcn.00401e49
add esp, 0x10
lea eax, [ebp + 0x40]
mov dword [ebp + 0x38], esp
mov ecx, esp
push eax
call fcn.00402e5b
push 0x15
mov ecx, esi
call fcn.00415cb2
mov ecx, dword [ebp + 0x40]
add ecx, 0xfffffff0
call fcn.00401493
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.00564a6e
jmp 0x422e94