Function at 0x1003e680
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015b6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101cd100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xfc], eax
lea eax, [esi + 0x38]
mov dword [ebp - 0x104], 0
push eax
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x118], eax
call fcn.10017170
lea eax, [esi + 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xfc], eax
call fcn.10017170
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x104], 0x60
cmova esi, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0xf
cmova eax, dword [ebp - 0x40]
mov dword [ebp - 0xf4], eax
test eax, eax
je 0x1003e736
cmp byte [eax], 0
jne 0x1003e740
mov dword [ebp - 0xf4], 0
test esi, esi
je 0x1003e749
cmp byte [esi], 0
jne 0x1003e74b
xor esi, esi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0xf8]
push esi
push dword [ebp - 0xf4]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.100423b0
mov ecx, dword [ebp - 0x2c]
add esp, 8
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
cmp ecx, 0xf
jbe 0x1003e7bf
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e7b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed49
push ecx
push edx
call fcn.101326bd
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1003e80c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e802
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed49
push ecx
push edx
call fcn.101326bd
add esp, 8
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0x128], esi
mov eax, dword [edi + 8]
mov ecx, eax
movq xmm0, qword [edi]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1003e839
cmp ecx, 1
je 0x1003e839
and eax, 1
or eax, 0x1016ae40
movq qword [edi], xmm0
mov dword [edi + 8], eax
test al, 1
je 0x1003e872
cmp eax, 1
jne 0x1003e84e
cmp dword [edi], 0
je 0x1003e872
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, 0x61
xor eax, eax
jmp 0x1003eb9e
push dword [ebp - 0x118]
lea ecx, [ebp - 0xa4]
call fcn.10017170
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 3
mov dword [ebp - 0x104], 0xe2
call fcn.10017170
mov edi, dword [ebp - 0x100]
xor eax, eax
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x104], 0x3e6
test edi, edi
je 0x1003eb93
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.10017170
mov edx, dword [edi + 0x14]
mov dword [ebp - 4], 6
test edx, edx
je 0x1003e91d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xfc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e906
sub ecx, dword [ebp - 0xfc]
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.10025e30
push 0xc
call fcn.10132688
add esp, 4
test eax, eax
je 0x1003e941
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x1003e943
xor eax, eax
push eax
lea ecx, [ebp - 0x110]
call fcn.100161d0
mov eax, dword [ebp - 0x110]
mov ecx, 2
mov dword [ebp - 0xf4], eax
mov eax, dword [edi + 4]
cmp eax, 2
je 0x1003e971
cmp eax, 0x17
jne 0x1003eb48
cmp dword [edi + 0x10], 0x80
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], 0
jbe 0x1003ea3a
mov ecx, dword [0x101ad290]
mov eax, dword [0x101ad294]
cmp ecx, 0x257edfd1
jne 0x1003e9ba
cmp eax, 0xb2ab117a
je 0x1003e9c9
cmp ecx, 0x257edfd0
jne 0x1003e9cd
cmp eax, 0xb2ab117a
jne 0x1003e9cd
mov al, 1
jmp 0x1003e9ef
mov eax, dword [0x101ad288]
push 0x2726
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x101653ec]
mov ecx, 0x101ad288
call edi
mov edi, dword [ebp - 0xf8]
movzx eax, al
add eax, 2
mov dword [ebp - 0x1c], 0x2726
mov dword [ebp - 0x18], 0x101ad288
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x38], str.C:jkpackagey_artifact_library_boost1.84.0_basew2016_vs2022_release32mtinclude_boost_asio_ip_detail_impl_endpoint.ipp
mov dword [ebp - 0x34], str.resize
mov dword [ebp - 0x30], 0x6a
mov dword [ebp - 0x2c], 0x1d
test al, 1
jne 0x1003ed53
push dword [edi + 0x10]
lea eax, [ebp - 0x5c]
push dword [edi + 0x18]
push eax
call fcn.101346d0
movups xmm0, xmmword [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0xd8], eax
movups xmmword [ebp - 0xf0], xmm0
lea eax, [ebp - 0x74]
movq xmm0, qword [ebp - 0x4c]
push eax
movq qword [ebp - 0xe0], xmm0
call fcn.10017170
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xbc]
call fcn.10017170
mov eax, dword [ebp - 0xf4]
mov byte [ebp - 4], 8
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x1003eabc
lea eax, [ebp - 0xf0]
push eax
call fcn.10017080
mov eax, dword [ebp - 0xf4]
add dword [eax + 4], 0x4c
jmp 0x1003eacb
lea edx, [ebp - 0xf0]
push edx
push ecx
mov ecx, eax
call fcn.10010520
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x1003eb09
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003eaff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed4e
push ecx
push edx
call fcn.101326bd
add esp, 8
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x1003eb43
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003eb39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed4e
push ecx
push edx
call fcn.101326bd
add esp, 8
mov ecx, 2
mov edi, dword [edi + 0x1c]
mov dword [ebp - 0xf8], edi
test edi, edi
jne 0x1003e960
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1003eb8d
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003eb83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed4e
push ecx
push edx
call fcn.101326bd
add esp, 8
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0x110]
mov ecx, 8
mov edi, dword [ebp - 0x114]
or ecx, 0x10
mov dword [edx], 0
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], 0
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
or edi, 0xffffffff
mov dword [edx + 4], 0
mov dword [edx + 8], 0
test cl, 8
je 0x1003ec38
mov edx, dword [ebp - 0x10c]
and ecx, 0xfffffff7
mov dword [ebp - 0xf4], ecx
test edx, edx
je 0x1003ec38
mov eax, edi
lock xadd dword [edx + 4], eax
jne 0x1003ec38
mov eax, dword [edx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x101653ec]
mov ecx, dword [ebp - 0x10c]
call edi
mov ecx, dword [ebp - 0x10c]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1003ec32
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x101653ec]
mov ecx, dword [ebp - 0x10c]
call edi
or edi, 0xffffffff
mov ecx, dword [ebp - 0xf4]
test cl, 4
je 0x1003ec85
mov eax, dword [ebp - 0x78]
and ecx, 0xfffffffb
mov dword [ebp - 0xf4], ecx
cmp eax, 0xf
jbe 0x1003ec85
mov edx, dword [ebp - 0x8c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ec75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed63
push ecx
push edx
call fcn.101326bd
mov ecx, dword [ebp - 0xf4]
add esp, 8
test cl, 2
je 0x1003ecd5
mov eax, dword [ebp - 0x90]
and ecx, 0xfffffffd
mov dword [ebp - 0xf4], ecx
cmp eax, 0xf
jbe 0x1003ecd5
mov edx, dword [ebp - 0xa4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ecc5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ed63
push ecx
push edx
call fcn.101326bd
mov ecx, dword [ebp - 0xf4]
add esp, 8
test cl, 1
je 0x1003ed1b
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003ed1b
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1003ed1b
mov eax, dword [ecx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x101653ec]
mov ecx, dword [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x1003ed1b
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x101653ec]
mov ecx, dword [ebp - 0x18]
call edi
test esi, esi
je 0x1003ed26
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10132a90
mov esp, ebp
pop ebp
ret 0x10
call fcn.101381df
call fcn.101381df
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.1002ce00
call fcn.101381df
int3