Function at 0x448a00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450050
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x4622c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x4c], 0
jne 0x448a42
mov eax, 0x80004005
jmp 0x448e0a
push 0
call fcn.004079f0
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x44]
cmp eax, dword [ebp - 0x84]
jl 0x448a83
jg 0x448a7c
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp - 0x88]
jbe 0x448a83
xor eax, eax
jmp 0x448e0a
push 0
call fcn.004079f0
add esp, 4
add eax, 0xe10
adc edx, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
mov dword [ebp - 0x24], 0
jmp 0x448ab0
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x7c]
call fcn.00449210
cmp dword [ebp - 0x24], eax
jae 0x448ad6
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00449230
add eax, 0x1c
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
jmp 0x448aa7
push 4
push 0
mov ecx, dword [ebp - 0x7c]
add ecx, 0x38
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x7c]
add ecx, 0x1c
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.WS2_32.dll_gethostbyname
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x448b45
mov eax, 0x80004005
jmp 0x448e0a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x38], edx
call fcn.004448b0
test eax, eax
je 0x448b68
call fcn.004271f0
call fcn.0043df70
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
push 0x46
push 0xf
call fcn.0041ede0
add esp, 8
cmp eax, 0x8c
jne 0x448b94
jmp 0x448ba2
call fcn.00446c00
call fcn.00446c70
jmp 0x448ba2
mov dword [ebp - 0x28], 0
jmp 0x448bb4
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x7c]
call fcn.00449210
cmp dword [ebp - 0x28], eax
jae 0x448db5
mov dword [ebp - 0x44], 0
push 0xfe
push 0x81
call fcn.0041ede0
add esp, 8
cmp eax, 0x7f
jne 0x448be5
jmp 0x448bf3
call fcn.00446d00
call fcn.00446de0
jmp 0x448bf3
lea ecx, [ebp - 0x40]
call fcn.00405f10
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push 0xf
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00449230
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 - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x448d89
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0
je 0x448cf6
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx + 8]
cmp eax, 0xf
jne 0x448ce9
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00449230
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 0x448ce9
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax + 0x1c]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.00406f30
add esp, 0xc
push eax
lea ecx, [ebp - 0x70]
call fcn.00406f50
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00405e20
mov byte [ebp - 4], 2
call fcn.0041e5a0
jmp 0x448ce2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
jmp 0x448c3d
mov dword [ebp - 0x50], 0
jmp 0x448d08
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x40]
call fcn.00405fe0
cmp dword [ebp - 0x50], eax
jae 0x448d89
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00406000
cmp dword [eax], 0xd
jne 0x448d84
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x40]
call fcn.00406000
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 0x448d84
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406000
add eax, 4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00449230
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 - 0x18], 1
jmp 0x448d89
jmp 0x448cff
cmp dword [ebp - 0x44], 0
je 0x448da1
push 1
mov edx, dword [ebp - 0x44]
push edx
call sub.DNSAPI.dll_DnsFree
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405f80
jmp 0x448bab
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x48], 0
push 0x85
push 0x86
call fcn.0043da00
add esp, 8
cmp eax, 0x459e
jne 0x448dda
jmp 0x448de8
call fcn.00424720
call fcn.00446ff0
jmp 0x448de8
cmp dword [ebp - 0x18], 0
je 0x448e05
xor eax, eax
jmp 0x448e0a
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret