Function at 0x45d560
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0xd
push str.www.baidu.com
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00405360
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d593
lea eax, [ebp - 0x1c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call edi
mov ebx, dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d5d2
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d5b8
lea eax, [ebp - 0x1c]
push eax
call ebx
test eax, eax
je 0x45d5d2
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
cmp dword [ebp - 8], 0x10
jb 0x45d5e5
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, 0xffffffff
jne 0x45d74c
push 0xa
push str.www.qq.com
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00405360
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d61b
lea eax, [ebp - 0x1c]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d64b
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d631
lea eax, [ebp - 0x1c]
push eax
call ebx
test eax, eax
je 0x45d64b
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
cmp dword [ebp - 8], 0x10
jb 0x45d65e
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, 0xffffffff
jne 0x45d74c
push 0xe
push str.www.bonree.com
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00405360
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d694
lea eax, [ebp - 0x1c]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d6c4
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d6aa
lea eax, [ebp - 0x1c]
push eax
call ebx
test eax, eax
je 0x45d6c4
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
cmp dword [ebp - 8], 0x10
jb 0x45d6d7
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, 0xffffffff
jne 0x45d74c
push 0xd
push str.119.75.218.70
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00405360
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d709
lea eax, [ebp - 0x1c]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d739
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0x1c]
jae 0x45d71f
lea eax, [ebp - 0x1c]
push eax
call ebx
test eax, eax
je 0x45d739
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call edi
mov esi, eax
cmp dword [ebp - 8], 0x10
jb 0x45d74c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret