Function at 0x42f820
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xd
push str.www.baidu.com
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
call fcn.00403560
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
cmovae eax, dword [ebp - 0x18]
push eax
call edi
mov ebx, dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42f88f
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
je 0x42f88f
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x42f8c5
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f8bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f8bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
cmp esi, 0xffffffff
jne 0x42fa90
push 0xa
push str.www.qq.com
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
call fcn.00403560
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x42f928
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
je 0x42f928
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x42f95e
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f954
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f954
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
cmp esi, 0xffffffff
jne 0x42fa90
push 0xe
push str.www.bonree.com
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
call fcn.00403560
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x42f9c1
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
je 0x42f9c1
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x42f9f7
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42f9ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42f9ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
cmp esi, 0xffffffff
jne 0x42fa90
push 0xd
push str.119.75.218.70
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
call fcn.00403560
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x42fa5a
cmp dword [ebp - 4], 0x10
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
je 0x42fa5a
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x42fa90
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fa86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42fa86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret