Function at 0x447fe0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f020
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4612c0]
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 0x448035
mov eax, 0x80004005
jmp 0x44828a
mov ecx, dword [ebp - 0x70]
call fcn.004483b0
mov ecx, dword [ebp + 8]
add ecx, 1
cmp ecx, eax
jb 0x448051
mov eax, 0x80004005
jmp 0x44828a
lea ecx, [ebp - 0x28]
call fcn.00404f80
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
push 2
push 0x78
call fcn.00443eb0
add esp, 8
cmp eax, 1
jne 0x448086
call fcn.00403d20
test eax, eax
je 0x448086
call fcn.004464b0
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.004483d0
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 0x448101
mov dword [ebp - 0x3c], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404ff0
mov eax, dword [ebp - 0x3c]
jmp 0x44828a
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
call fcn.00403d20
test eax, eax
je 0x448115
call fcn.004465c0
cmp dword [ebp - 0x34], 0
je 0x4481b4
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 8]
cmp eax, 0xf
jne 0x4481a7
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.004483d0
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 0x4481a7
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.00405eb0
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405ed0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004050c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00404e90
call fcn.00443de0
test eax, eax
je 0x4481a7
call fcn.00446650
call fcn.00420bf0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
jmp 0x448115
cmp dword [ebp - 0x2c], 0
je 0x4481df
push 1
mov eax, dword [ebp - 0x2c]
push eax
call sub.DNSAPI.dll_DnsFree
call fcn.00443db0
test eax, eax
je 0x4481d8
call fcn.0043ece0
call fcn.004466d0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0
jmp 0x4481f1
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x28]
call fcn.00405050
cmp dword [ebp - 0x38], eax
jae 0x448271
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x28]
call fcn.00405070
cmp dword [eax], 0xd
jne 0x44826c
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405070
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 0x44826c
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405070
add eax, 4
push eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.004483d0
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__]
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404ff0
mov eax, dword [ebp - 0x68]
jmp 0x44828a
jmp 0x4481e8
mov dword [ebp - 0x6c], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404ff0
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