Function at 0x100156d0
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b64b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x101aa2a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 0x10]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x10c], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x108], 0
push eax
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x120], eax
call fcn.1000b3c0
lea eax, [esi + 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x100], eax
call fcn.1000b3c0
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x108], 0x60
cmovae esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x1001579a
cmp byte [eax], 0
jne 0x100157a4
mov dword [ebp - 0xfc], 0
test esi, esi
je 0x100157ad
cmp byte [esi], 0
jne 0x100157af
xor esi, esi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x110]
push esi
push dword [ebp - 0xfc]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea ecx, [ebp - 0x12c]
call fcn.10012220
mov ecx, dword [ebp - 0x30]
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
cmp ecx, 0x10
jb 0x10015820
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015816
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015d25
push ecx
push edx
call fcn.10046108
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x1001586d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015863
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015d25
push ecx
push edx
call fcn.10046108
add esp, 8
mov esi, dword [ebp - 0x104]
mov dword [ebp - 0x110], esi
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ecx, eax
movq xmm0, qword [edi]
test ecx, ecx
je 0x1001589a
cmp ecx, 1
je 0x1001589a
and eax, 1
or eax, 0x101a125c
movq qword [edi], xmm0
mov dword [edi + 8], eax
test al, 1
je 0x100158d3
cmp eax, 1
jne 0x100158af
cmp dword [edi], 0
je 0x100158d3
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edi, [ebp - 0x20]
mov ecx, 0x61
xor edx, edx
jmp 0x10015bb7
push dword [ebp - 0x120]
lea ecx, [ebp - 0xa8]
call fcn.1000b3c0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x90]
push dword [ebp - 0x100]
mov dword [ebp - 0x108], 0xe2
call fcn.1000b3c0
mov edi, dword [ebp - 0x104]
xor edx, edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], 5
mov dword [ebp - 0x108], 0x3e6
test edi, edi
je 0x10015bac
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x78]
call fcn.1000b3c0
mov dword [ebp - 4], 6
mov edx, dword [edi + 0x14]
test edx, edx
je 0x10015978
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x100], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015961
sub ecx, dword [ebp - 0x100]
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.1000b4c0
push 0xc
call fcn.10045ca9
add esp, 4
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x100], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push 0x10
mov byte [ebp - 4], 7
call fcn.10045ca9
mov dword [ebp - 0x100], eax
xorps xmm0, xmm0
mov edx, dword [ebp - 0xfc]
add esp, 4
mov byte [ebp - 4], 6
mov ecx, 2
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 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
mov dword [eax + 0xc], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 4]
cmp eax, 2
je 0x10015a07
cmp eax, 0x17
jne 0x10015b67
cmp dword [edi + 0x10], 0x80
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x5c], 0
jbe 0x10015ac2
mov ecx, dword [0x101ace90]
mov eax, dword [0x101ace94]
cmp ecx, 0x257edfd1
jne 0x10015a50
cmp eax, 0xb2ab117a
je 0x10015a5f
cmp ecx, 0x257edfd0
jne 0x10015a63
cmp eax, 0xb2ab117a
jne 0x10015a63
mov al, 1
jmp 0x10015a77
mov eax, dword [0x101ace88]
mov ecx, 0x101ace88
push 0x2726
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x20], 0x2726
mov dword [ebp - 0x1c], 0x101ace88
movq xmm0, qword [ebp - 0x20]
movq qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x3c], str.C:ProjectTrading_boost_1_81_0_boost_asiodetail_throw_error.hpp
mov dword [ebp - 0x38], str.resize
mov dword [ebp - 0x34], 0x27
mov dword [ebp - 0x30], 5
test al, 1
jne 0x10015d2f
push dword [edi + 0x10]
lea eax, [ebp - 0x60]
push dword [edi + 0x18]
push eax
call fcn.10047810
movups xmm0, xmmword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0xdc]
add esp, 0xc
mov dword [ebp - 0xe0], eax
movups xmmword [ebp - 0xf8], xmm0
lea eax, [ebp - 0x78]
movq xmm0, qword [ebp - 0x50]
push eax
movq qword [ebp - 0xe8], xmm0
call fcn.1000b3c0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xc4]
call fcn.1000b3c0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x10015b44
lea eax, [ebp - 0xf8]
push eax
call fcn.10017e80
mov eax, dword [ebp - 0xfc]
add dword [eax + 4], 0x4c
jmp 0x10015b53
lea edx, [ebp - 0xf8]
push edx
push ecx
mov ecx, eax
call fcn.10017b10
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 6
call fcn.10015d40
mov ecx, 2
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x100159f6
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x10015ba6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10015b9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015d2a
push ecx
push edx
call fcn.10046108
add esp, 8
mov edx, dword [ebp - 0xfc]
lea edi, [ebp - 0x11c]
mov ecx, 8
mov eax, dword [ebp - 0x10c]
or ecx, 0x10
mov dword [edi], 0
mov dword [eax], edx
mov edx, dword [ebp - 0x10c]
mov dword [eax + 4], 0
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
mov dword [edx + 4], eax
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov dword [edi + 8], 0
test cl, 8
je 0x10015c2e
mov edi, dword [ebp - 0x118]
and ecx, 0xfffffff7
mov dword [ebp - 0xfc], ecx
test edi, edi
je 0x10015c2e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10015c2e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10015c28
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xfc]
test cl, 4
je 0x10015c7b
mov eax, dword [ebp - 0x7c]
and ecx, 0xfffffffb
mov dword [ebp - 0xfc], ecx
cmp eax, 0x10
jb 0x10015c7b
mov edx, dword [ebp - 0x90]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10015c6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015d2a
push ecx
push edx
call fcn.10046108
mov ecx, dword [ebp - 0xfc]
add esp, 8
test cl, 2
je 0x10015cc7
mov eax, dword [ebp - 0x94]
and ecx, 0xfffffffd
mov dword [ebp - 0xfc], ecx
cmp eax, 0x10
jb 0x10015cc7
mov edx, dword [ebp - 0xa8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10015cb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015d2a
push ecx
push edx
call fcn.10046108
mov ecx, dword [ebp - 0xfc]
add esp, 8
test cl, 1
je 0x10015cf4
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x10015cf4
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10015cf4
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10015cf4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test esi, esi
je 0x10015cff
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100459e9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.100526a2
call fcn.100526a2
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x12c]
call fcn.1000f940
int3