Function at 0x449f30
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x4632c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x4c], 0
jne 0x449f6c
mov eax, 0x80004005
jmp 0x44a1bc
mov esi, dword [ebp + 8]
add esi, 1
mov ecx, dword [ebp - 0x6c]
call fcn.0044a2d0
cmp esi, eax
jb 0x449f88
mov eax, 0x80004005
jmp 0x44a1bc
lea ecx, [ebp - 0x24]
call fcn.00404d20
mov dword [ebp - 4], 0
push 0x39
push 3
push 0x2f
call fcn.0043fb70
add esp, 0xc
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x3c
je 0x449fb0
jmp 0x449fb2
jmp 0x449fbc
call fcn.00448720
call fcn.00424570
mov dword [ebp - 0x28], 0
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0xf
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.0044a2f0
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 - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x44a02f
mov dword [ebp - 0x38], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00404d90
mov eax, dword [ebp - 0x38]
jmp 0x44a1bc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x44a0c1
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx + 8]
cmp edx, 0xf
jne 0x44a0b4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.0044a2f0
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 0x44a0b4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + 0x1c]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00405c20
add esp, 0xc
push eax
lea ecx, [ebp - 0x58]
call fcn.00405c40
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x24]
call fcn.00404e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00404c30
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
jmp 0x44a035
cmp dword [ebp - 0x28], 0
je 0x44a0d9
push 1
mov edx, dword [ebp - 0x28]
push edx
call sub.DNSAPI.dll_DnsFree
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
jmp 0x44a0eb
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x24]
call fcn.00404df0
cmp dword [ebp - 0x34], eax
jae 0x44a182
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00404e10
cmp dword [eax], 0xd
jne 0x44a17d
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x24]
call fcn.00404e10
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 0x44a17d
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.00404e10
add eax, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0044a2f0
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.00445a50
test eax, eax
je 0x44a162
call fcn.004463f0
call fcn.00448840
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00404d90
mov eax, dword [ebp - 0x64]
jmp 0x44a1bc
jmp 0x44a0e2
mov dword [ebp - 0x68], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00404d90
mov eax, dword [ebp - 0x68]
jmp 0x44a1bc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4