Function at 0x416306
Capabilities:
Resolve dns

Disassembly:
push 0x124
mov eax, 0x43a8e5
call fcn.004380ee
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
lea ebx, [esi + 0x38]
mov dword [ebp - 0x108], edi
push ebx
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x104], edi
call fcn.0040417c
lea eax, [esi + 0x20]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x40]
call fcn.0040417c
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x108], 0x60
cmova esi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0xf
cmova edi, dword [ebp - 0x40]
test edi, edi
je 0x416388
cmp byte [edi], 0
jne 0x41638a
xor edi, edi
test esi, esi
je 0x416393
cmp byte [esi], 0
jne 0x416395
xor esi, esi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x100]
push esi
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea ecx, [ebp - 0x12c]
call fcn.00412034
mov edi, dword [ebp - 0xfc]
lea ecx, [ebp - 0x40]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004027a6
lea ecx, [ebp - 0x28]
call fcn.004027a6
mov esi, dword [ebp - 0x104]
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x130], esi
mov ecx, dword [ebp - 0xfc]
push 0x446584
push ecx
mov dword [ebp - 4], 1
call fcn.00410524
call fcn.00410564
test al, al
je 0x416425
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
push 0x61
lea ecx, [ebp - 0x1c]
mov eax, edx
pop ebx
jmp 0x416668
push ebx
lea ecx, [ebp - 0xa4]
call fcn.0040417c
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x8c]
add eax, 0x20
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x108], 0xe2
call fcn.0040417c
mov edi, dword [ebp - 0x104]
xor edx, edx
mov eax, edx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], 5
mov dword [ebp - 0x108], 0x3e6
push 8
pop ebx
test edi, edi
je 0x416662
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040417c
mov dword [ebp - 4], 6
mov edx, dword [edi + 0x14]
test edx, edx
je 0x4164ca
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4164b7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.004044fc
push 0xc
call fcn.0043596a
mov esi, eax
xor eax, eax
pop ecx
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x120], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x10
mov byte [ebp - 4], 7
call fcn.0043596a
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x120], ecx
mov edi, ecx
mov byte [ebp - 4], 6
push 2
mov dword [ebp - 0x118], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x114], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [ecx + 0xc], esi
mov esi, dword [ebp - 0xfc]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx], vtable.std::_Ref_count_class_std::vector_class_boost::asio::ip::basic_resolver_entry_class_boost::asio::ip::tcp___class_std::allocator_class_boost::asio::ip::basic_resolver_entry_class_boost::asio::ip::tcp____.0
pop eax
cmp dword [esi + 4], eax
je 0x41653f
cmp dword [esi + 4], 0x17
jne 0x41663b
and dword [ebp - 0x44], 0
xorps xmm0, xmm0
mov word [ebp - 0x5c], ax
xor eax, eax
and dword [ebp - 0x58], eax
cmp dword [esi + 0x10], 0x80
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov word [ebp - 0x5a], ax
jbe 0x4165a6
push ecx
push 0x2726
lea ecx, [ebp - 0x12c]
call fcn.00416bd5
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x38], str.C:Trunk2012Contribs_boost_1_84_0_boost_asioipdetailimplendpoint.ipp
mov dword [ebp - 0x34], str.resize
mov dword [ebp - 0x30], 0x6a
mov dword [ebp - 0x2c], 0x1a
call fcn.00410564
test al, al
jne 0x4166ea
push dword [esi + 0x10]
lea eax, [ebp - 0x5c]
push dword [esi + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0xf8]
lea eax, [ebp - 0x74]
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040417c
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040417c
mov esi, dword [ebp - 0x100]
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x416610
mov ecx, eax
call fcn.0041921d
add dword [esi + 4], 0x4c
jmp 0x416618
push eax
mov ecx, esi
call fcn.0041869b
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 6
call fcn.004027a6
lea ecx, [ebp - 0xdc]
call fcn.004027a6
mov esi, dword [ebp - 0xfc]
push 2
pop eax
mov esi, dword [esi + 0x1c]
mov dword [ebp - 0xfc], esi
test esi, esi
jne 0x416530
lea ecx, [ebp - 0x74]
call fcn.004027a6
mov esi, dword [ebp - 0x10c]
xor edx, edx
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x118]
mov edi, dword [ebp - 0x11c]
or ebx, 0x10
mov dword [ecx], edx
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 4], edx
mov dword [edi + 8], eax
mov dword [ecx + 8], edx
test bl, 8
je 0x41669e
mov ecx, dword [ebp - 0x114]
and ebx, 0xfffffff7
test ecx, ecx
je 0x41669e
call fcn.0041028b
test bl, 4
je 0x4166b1
lea ecx, [ebp - 0x8c]
and ebx, 0xfffffffb
call fcn.004027a6
test bl, 2
je 0x4166c4
lea ecx, [ebp - 0xa4]
and ebx, 0xfffffffd
call fcn.004027a6
test bl, 1
je 0x4166d5
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4166d5
call fcn.0041028b
test esi, esi
je 0x4166e0
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
call fcn.0043809d
ret 0x10
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x12c]
call fcn.0041071c
int3