Function at 0x449c70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46102d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xf8
push ebx
push esi
push edi
mov eax, dword [0x471090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
call fcn.00401060
add esp, 4
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
mov eax, dword [0x47126c]
cmp eax, dword [ebp - 0x94]
jl 0x449ce0
jg 0x449cd9
mov ecx, dword [0x471268]
cmp ecx, dword [ebp - 0x98]
jbe 0x449ce0
xor al, al
jmp 0x44a157
push 0
call fcn.00401060
add esp, 4
add eax, 0xe10
adc edx, 0
mov dword [0x471268], eax
mov dword [0x47126c], edx
mov dword [ebp - 0x24], 0
jmp 0x449d0f
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov ecx, 0x471218
call fcn.00452a70
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x9c]
jae 0x449d74
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, 0x471218
call fcn.00452a90
mov dword [ebp - 0xa0], eax
push 4
push 0
mov edx, dword [ebp - 0xa0]
add edx, 0x54
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.00404530
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x449d72
call fcn.00425e40
call fcn.004013c0
jmp 0x449d06
push 4
push 0
push 0x471264
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, 0x471240
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x449db2
xor al, al
jmp 0x44a157
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [0x471264], ecx
call fcn.00405850
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x449df8
push 8
push 0x66
call fcn.00403d00
add esp, 8
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 4
jge 0x449df8
call fcn.0041c260
jmp 0x449e1d
push 0x47
push 0x14
call fcn.004037c0
add esp, 8
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x58c
jne 0x449e18
jmp 0x449e1d
call fcn.0041c2b0
mov dword [ebp - 0x20], 1
mov edx, dword [0x471264]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x11], 0
call fcn.004044b0
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x449e4f
call fcn.0040e480
call fcn.00413c30
mov dword [ebp - 0x28], 0
jmp 0x449e61
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, 0x471218
call fcn.00452a70
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0xbc]
jae 0x44a055
mov dword [ebp - 0x30], 0
call fcn.00404370
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x449ea5
call fcn.00413c30
call fcn.00424d30
mov dword [ebp - 0x2c], 0
call fcn.00404bf0
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x449eca
call fcn.00422ea0
call fcn.0040e480
call fcn.00404430
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x449ee8
call fcn.004161c0
call fcn.00425e40
mov byte [ebp - 4], 1
call fcn.00403d30
jmp 0x449f0a
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
push edx
mov ecx, 0x471218
call fcn.00452a90
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xd0], eax
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 1
mov edx, dword [ebp - 0xd0]
push edx
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 0x2c], eax
call fcn.00405ee0
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x449f8d
push 0x7e
push 0xc3
call fcn.00403d00
add esp, 8
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x3f
jge 0x449f8d
call fcn.0040e480
jmp 0x449fb2
push 0x43
push 0x2c
call fcn.00403d00
add esp, 8
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x86
jne 0x449fad
jmp 0x449fb2
call fcn.00424d30
cmp dword [ebp - 0x2c], 0
jne 0x44a026
mov eax, dword [ebp - 0x28]
push eax
mov ecx, 0x471218
call fcn.00452a90
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x54], eax
push 0xfb
push 0x4c
call fcn.004037c0
add esp, 8
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x4a84
jne 0x44a015
call fcn.00407d90
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x44a015
call fcn.004013c0
push 1
mov ecx, dword [ebp - 0x30]
push ecx
call sub.DNSAPI.dll_DnsFree
mov byte [ebp - 0x11], 1
jmp 0x44a050
mov edx, dword [ebp - 0x28]
push edx
mov ecx, 0x471218
call fcn.00452a90
mov dword [ebp - 0xec], eax
push 4
push 0
mov eax, dword [ebp - 0xec]
add eax, 0x54
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
jmp 0x449e58
mov dword [0x471270], 0
mov al, byte [ebp - 0x11]
jmp 0x44a157
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret