Function at 0x449ac0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450fb0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x84
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 - 0x7c], ecx
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x4c], 0
jne 0x449b05
mov eax, 0x80004005
jmp 0x449f17
push 0
call fcn.004037c0
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 0x449b46
jg 0x449b3f
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp - 0x88]
jbe 0x449b46
xor eax, eax
jmp 0x449f17
push 0
call fcn.004037c0
add esp, 4
add eax, 0xe10
adc edx, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
call fcn.0043f860
test eax, eax
je 0x449b6f
call fcn.00446a30
push 0x4d
call fcn.0041c880
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x75
je 0x449b8a
jmp 0x449b8c
jmp 0x449b96
call fcn.00447df0
call fcn.00424570
call fcn.0043f860
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 1
je 0x449bac
jmp 0x449bb6
call fcn.00447380
call fcn.00447f20
mov dword [ebp - 0x24], 0
jmp 0x449bc8
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x7c]
call fcn.0044a2d0
cmp dword [ebp - 0x24], eax
jae 0x449bee
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.0044a2f0
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 0x449bbf
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 0x449c26
mov eax, 0x80004005
jmp 0x449f17
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
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
mov dword [ebp - 0x28], 0
jmp 0x449c5f
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x7c]
call fcn.0044a2d0
cmp dword [ebp - 0x28], eax
jae 0x449ea3
mov dword [ebp - 0x44], 0
call fcn.0041c760
test eax, eax
je 0x449c85
call fcn.00448050
mov dword [ebp - 4], 0
call fcn.00445b70
jmp 0x449caa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404d20
mov dword [ebp - 4], 2
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.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 - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x449e44
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0
je 0x449d95
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx + 8]
cmp eax, 0xf
jne 0x449d7a
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.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 0x449d7a
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.00405c20
add esp, 0xc
push eax
lea ecx, [ebp - 0x70]
call fcn.00405c40
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404e60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00404c30
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
call fcn.00445b20
test eax, eax
je 0x449d90
call fcn.00448180
jmp 0x449cfb
mov dword [ebp - 0x50], 0
jmp 0x449da7
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x40]
call fcn.00404df0
cmp dword [ebp - 0x50], eax
jae 0x449e44
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00404e10
cmp dword [eax], 0xd
jne 0x449e3f
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x40]
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 0x449e3f
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404e10
add eax, 4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x7c]
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__]
mov dword [ebp - 0x18], 1
push 0xca
push 0x91
push 0x4c
call fcn.0043fb70
add esp, 0xc
cmp eax, 0x1a7
jne 0x449e2f
jmp 0x449e3d
call fcn.00428bd0
call fcn.004278c0
jmp 0x449e3d
jmp 0x449e44
jmp 0x449d9e
cmp dword [ebp - 0x44], 0
je 0x449e8f
push 1
mov edx, dword [ebp - 0x44]
push edx
call sub.DNSAPI.dll_DnsFree
call fcn.00445af0
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
je 0x449e6b
jmp 0x449e75
call fcn.004482b0
call fcn.004463f0
mov dword [ebp - 0x44], 0
call fcn.0043f860
test eax, eax
je 0x449e8f
call fcn.00448340
call fcn.004483b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404d90
jmp 0x449c56
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x48], 0
push 0x81
push 0xb7
call fcn.0041d0c0
add esp, 8
cmp eax, 0x40
jne 0x449ed2
call fcn.0041cda0
test eax, eax
je 0x449ed2
call fcn.004484f0
cmp dword [ebp - 0x18], 0
je 0x449edc
xor eax, eax
jmp 0x449f17
mov eax, 0x80004005
jmp 0x449f17
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret