Function at 0x449d10
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4512e0
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 0x449d55
mov eax, 0x80004005
jmp 0x44a208
push 0
call fcn.0041e3a0
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 0x449d96
jg 0x449d8f
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp - 0x88]
jbe 0x449d96
xor eax, eax
jmp 0x44a208
push 0
call fcn.0041e3a0
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 0x449dc3
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x7c]
call fcn.0044a620
cmp dword [ebp - 0x24], eax
jae 0x449e09
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.0044a640
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_]
call fcn.00444d60
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
je 0x449dfd
jmp 0x449e07
call fcn.004465f0
call fcn.00421de0
jmp 0x449dba
push 4
push 0
mov ecx, dword [ebp - 0x7c]
add ecx, 0x38
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x24
push 0x2d
call fcn.00445200
add esp, 8
cmp eax, 0x48
jne 0x449e3b
call fcn.004051f0
test eax, eax
je 0x449e3b
call fcn.004226b0
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
push 0xbc
call fcn.00401060
add esp, 4
cmp eax, 0x11c
jne 0x449e72
call fcn.00444d30
test eax, eax
je 0x449e72
call fcn.00447fd0
cmp dword [ebp - 0x14], 0
jne 0x449e90
mov eax, 0x80004005
jmp 0x44a208
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 - 4], 0
call fcn.00444d00
jmp 0x449ec5
mov dword [ebp - 4], 0xffffffff
call fcn.00444c90
test eax, eax
je 0x449eda
call fcn.00402d20
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x1c], edx
call fcn.00444bb0
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 1
je 0x449f00
jmp 0x449f0a
call fcn.0043fdb0
call fcn.00421de0
mov dword [ebp - 0x18], 0
push 0xd
push 0x52
call fcn.00407ff0
add esp, 8
cmp eax, 0x42a
jne 0x449f32
call fcn.00444c30
test eax, eax
je 0x449f32
call fcn.00425b60
mov dword [ebp - 0x28], 0
jmp 0x449f44
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x7c]
call fcn.0044a620
cmp dword [ebp - 0x28], eax
jae 0x44a1b0
mov dword [ebp - 0x44], 0
push 0x60
push 0x42
call fcn.00445200
add esp, 8
cmp eax, 0xc0
jne 0x449f7d
call fcn.0041e620
test eax, eax
je 0x449f7d
call fcn.00402d20
lea ecx, [ebp - 0x40]
call fcn.00406440
mov dword [ebp - 4], 2
push 0xc
push 0x35
call fcn.00407ff0
add esp, 8
cmp eax, 0x27c
jne 0x449fad
call fcn.0041ea10
test eax, eax
je 0x449fad
call fcn.00402d20
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.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 - 0x48], eax
call fcn.00444bb0
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
je 0x449fee
jmp 0x449ff8
call fcn.004482d0
call fcn.00448360
cmp dword [ebp - 0x48], 0
jne 0x44a14d
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], ecx
call fcn.0041ea10
test eax, eax
je 0x44a01b
call fcn.0043fdb0
call fcn.00421de0
cmp dword [ebp - 0x4c], 0
je 0x44a0d0
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx + 8]
cmp eax, 0xf
jne 0x44a09a
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.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 0x44a09a
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.004073d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x70]
call fcn.004073f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00406350
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 4
call fcn.0041ea10
jmp 0x44a0c4
mov dword [ebp - 4], 2
jmp 0x44a01b
mov dword [ebp - 0x50], 0
jmp 0x44a0e2
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x40]
call fcn.00406510
cmp dword [ebp - 0x50], eax
jae 0x44a14d
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00406530
cmp dword [eax], 0xd
jne 0x44a14b
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x40]
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 0x44a14b
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406530
add eax, 4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x7c]
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__]
mov dword [ebp - 0x18], 1
jmp 0x44a14d
jmp 0x44a0d9
cmp dword [ebp - 0x44], 0
je 0x44a19c
push 1
mov edx, dword [ebp - 0x44]
push edx
call sub.DNSAPI.dll_DnsFree
push 0x85
call fcn.00401060
add esp, 4
cmp eax, 0xc9
jne 0x44a174
jmp 0x44a182
call fcn.0043fdb0
call fcn.004484f0
jmp 0x44a182
mov dword [ebp - 0x44], 0
call fcn.004013b0
test eax, eax
je 0x44a19c
call fcn.00402aa0
call fcn.004485d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004064b0
jmp 0x449f3b
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x48], 0
call fcn.00444bb0
test eax, eax
je 0x44a1c8
call fcn.004465f0
call fcn.0041ea10
test eax, eax
je 0x44a1d6
call fcn.00426060
cmp dword [ebp - 0x18], 0
je 0x44a1ee
xor eax, eax
jmp 0x44a208
mov eax, 0x80004005
jmp 0x44a208
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret