Function at 0x4b9fc0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6144
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x61df80]
xor eax, ebp
mov dword [ebp - 0x34], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], 0
mov eax, dword [ebp + 0xc]
push eax
push 0x5deba8
lea ecx, [ebp - 0x78]
push ecx
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 4], 1
push 0x5deba4
mov eax, dword [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x154], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.00409180
add esp, 0xc
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 3
push 0x5deba0
mov ecx, dword [ebp - 0x15c]
push ecx
lea edx, [ebp - 0xcc]
push edx
call fcn.004090d0
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x164]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00409180
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xcc]
call fcn.00403180
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb0]
call fcn.00403180
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x94]
call fcn.00403180
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
call fcn.00403180
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 0x2c]
call fcn.004127a0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0x21
lea ecx, [ebp - 0x50]
call fcn.00403210
push eax
call sub.DNSAPI.dll_DnsQuery_UTF8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4ba1ad
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax + 8]
cmp ecx, 0x21
jne 0x4ba18f
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00403100
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x5c]
movzx esi, word [ecx + 0x20]
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040fd60
mov dword [eax], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.00403180
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0
jne 0x4ba146
push 1
mov edx, dword [ebp - 0x58]
push edx
call sub.DNSAPI.dll_DnsFree
jmp 0x4ba23a
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b9f90
add esp, 8
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x16c]
push eax
push 0x5debac
lea ecx, [ebp - 0x120]
push ecx
call fcn.00426690
add esp, 0xc
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x174]
push eax
push 0x20
mov ecx, dword [ebp + 0x18]
call sym.GNTKProProxy.exe_public:_void___thiscall_gloox::LogSink::warn_enum_gloox::LogArea__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__const
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x120]
call fcn.00403180
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x104]
call fcn.00403180
mov byte [ebp - 0x2d], 1
movzx ecx, byte [ebp - 0x2d]
test ecx, ecx
jne 0x4ba24e
lea ecx, [ebp - 0x2c]
call fcn.0046cfe0
test eax, eax
jne 0x4ba299
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x140]
push ecx
call sym.GNTKProProxy.exe__defaultHostMap_DNS_gloox__CA_AV__map_V__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__HU__less_
add esp, 0xc
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004ba2f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x140]
call fcn.004115e0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ba310
mov edx, dword [ebp - 0x144]
or edx, 1
mov dword [ebp - 0x144], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004115e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00403180
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.004c7d13
mov esp, ebp
pop ebp
ret