Function at 0x44a220
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451310
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x4632c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x4c], 0
jne 0x44a262
mov eax, 0x80004005
jmp 0x44a50f
mov ecx, dword [ebp - 0x70]
call fcn.0044a620
mov ecx, dword [ebp + 8]
add ecx, 1
cmp ecx, eax
jb 0x44a2aa
mov eax, 0x80004005
jmp 0x44a50f
lea ecx, [ebp - 0x28]
call fcn.00406440
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], 0
call fcn.00444b40
test eax, eax
je 0x44a2d3
call fcn.00448920
call fcn.00426060
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0xf
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.0044a640
mov ecx, eax
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]
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x44a325
mov dword [ebp - 0x3c], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004064b0
mov eax, dword [ebp - 0x3c]
jmp 0x44a50f
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
je 0x44a3d1
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
cmp eax, 0xf
jne 0x44a3aa
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.0044a640
mov ecx, eax
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]
push eax
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
jne 0x44a3aa
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax + 0x1c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.004073d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
call fcn.004073f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00406350
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
call fcn.00444ac0
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
je 0x44a3c2
jmp 0x44a3cc
call fcn.004226b0
call fcn.0043fdb0
jmp 0x44a32b
cmp dword [ebp - 0x2c], 0
je 0x44a425
push 1
mov eax, dword [ebp - 0x2c]
push eax
call sub.DNSAPI.dll_DnsFree
call fcn.00444ac0
test eax, eax
je 0x44a3f5
call fcn.0043fdb0
call fcn.004465f0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
call fcn.0041ea10
jmp 0x44a41e
mov dword [ebp - 4], 2
mov dword [ebp - 0x38], 0
jmp 0x44a437
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x28]
call fcn.00406510
cmp dword [ebp - 0x38], eax
jae 0x44a4f6
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x28]
call fcn.00406530
cmp dword [eax], 0xd
jne 0x44a4f1
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406530
add eax, 4
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
test eax, eax
je 0x44a4f1
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406530
add eax, 4
push eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.0044a640
add eax, 0x1c
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.0041e8d0
test eax, eax
je 0x44a4ad
call fcn.00426060
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004064b0
mov eax, dword [ebp - 0x68]
jmp 0x44a50f
jmp 0x44a42e
mov dword [ebp - 0x6c], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004064b0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4