Function at 0x1400274a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x678
mov r12, rdx
mov r15, rcx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
mov r13, qword [rdx + 0x68]
mov esi, dword [r13 + 0x18]
cmp esi, 0x3b9aca00
jne 0x1400274e7
mov rax, qword [r12 + 0x58]
mov qword [rsp + 0x78], rax
mov ebp, dword [r12 + 0x60]
jmp 0x140027510
mov rdi, qword [r13 + 0x10]
call fcn.14009b0a0
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
mov dword [rcx + 8], edx
mov rdx, rdi
mov r8d, esi
call fcn.14009b340
mov qword [rsp + 0x78], rax
mov ebp, edx
lea rdx, [r13 + 0x50]
lea rsi, [rsp + 0x218]
mov rcx, rsi
call fcn.140026836
cmp byte [rsi + 0x4c], 4
lea r14, [rsp + 0x68]
lea rbx, [0x140006129]
jne 0x140027586
lea rax, [rsp + 0x2c0]
mov qword [rax], r14
mov qword [rax + 8], rbx
lea rcx, [rsp + 0x6e0]
mov qword [rax + 0x10], rcx
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea rdx, [rsp + 0x100]
mov qword [rdx], rcx
mov ecx, 2
mov qword [rdx + 8], rcx
and qword [rdx + 0x20], 0
lea r8, [0x1400b4ec0]
mov qword [rax + 0x18], r8
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
jmp 0x1400275db
lea rax, [rsp + 0x260]
lea rcx, [rsp + 0x2c0]
mov qword [rcx], rsi
lea rdx, [0x1400012b0]
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rax
lea rax, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea rdx, [rsp + 0x100]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
lea r8, [0x1400b5100]
mov qword [rcx + 0x18], r8
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rsi, [rsp + 0x570]
mov rcx, rsi
call fcn.1400267b4
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x90], rax
mov rcx, r12
call fcn.14002410a
mov r10, rdx
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdx
mov rcx, qword [rdx + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
lea rdx, [rcx + rax]
add rdx, 0x10
lea rdi, [rsp + 0x80]
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
lea rsi, [rsp + 0x4c0]
mov rcx, rsi
call qword [r10 + 0x18]
cmp qword [rsi], 0
je 0x140027679
mov rax, qword [rsp + 0x4d0]
mov qword [rsp + 0x2d8], rax
movups xmm0, xmmword [rsp + 0x4c0]
movups xmmword [rsp + 0x2c8], xmm0
jmp 0x14002770c
mov rsi, qword [rsp + 0x4c8]
lea rax, [rsp + 0x268]
mov qword [rax], rdi
lea rcx, str.resolve_dns_name_
lea rdx, [rsp + 0x570]
mov qword [rdx], rcx
lea rcx, [0x1400012b0]
mov qword [rdx + 8], 2
and qword [rdx + 0x20], 0
mov qword [rax + 8], rcx
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 1
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.1400267b4
mov eax, 2
mov dword [rdi - 0x58], eax
and qword [rdi + 0x18], 0
mov byte [rdi + 0x28], 2
mov dword [rdi - 0x60], eax
lea rdi, [rsp + 0x2c0]
lea rdx, [rsp + 0x100]
mov rcx, rdi
mov r8, rsi
call fcn.140017617
mov esi, dword [rdi]
cmp esi, 3
jne 0x140027a75
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x3e4], rax
movups xmm0, xmmword [rsp + 0x2c8]
movups xmmword [rsp + 0x3d4], xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xa0]
call fcn.14001364a
mov rax, qword [rsp + 0xd0]
test rax, rax
je 0x140027a0a
mov qword [rsp + 0x48], r13
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x218]
mov cl, byte [rcx + 0x4c]
mov byte [rsp + 0x50], cl
lea rcx, [rsp + 0x58]
and qword [rcx], 0
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
shl rax, 5
add rax, rcx
mov qword [rsp + 0x3d0], rcx
mov qword [rsp + 0x3d8], rdx
mov qword [rsp + 0x3e0], rcx
mov qword [rsp + 0x3e8], rax
lea r15, [rsp + 0x572]
xor edi, edi
lea r14, [rsp + 0x268]
lea rbx, [rsp + 0x100]
mov r12w, 2
cmp rcx, rax
je 0x140027ad3
lea rax, [rcx + 0x20]
mov qword [rsp + 0x3e0], rax
movzx eax, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x4ce], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x4c0], xmm0
cmp ax, 2
je 0x140027aff
mov word [rsp + 0x570], ax
movups xmm0, xmmword [rsp + 0x4ce]
movups xmmword [r15 + 0xe], xmm0
movaps xmm0, xmmword [rsp + 0x4c0]
movups xmmword [r15], xmm0
mov esi, 0x3b9aca00
cmp ebp, 0x3b9aca00
je 0x14002786d
mov rcx, rbx
mov rdx, qword [rsp + 0x78]
mov r8d, ebp
call fcn.140026b02
mov esi, dword [rsp + 0x108]
cmp esi, 0x3b9aca00
je 0x140027c7a
mov r13, qword [rsp + 0x100]
mov rax, qword [str.___]
mov rax, qword [rax]
cmp rax, 3
jbe 0x140027924
lea rax, [rsp + 0x570]
mov qword [rsp + 0x268], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x2c0], rax
lea rax, [0x1400012b0]
mov qword [rsp + 0x2c8], rax
lea rax, str.connecting_to__at
mov qword [rsp + 0x100], rax
mov ecx, 2
mov qword [rsp + 0x108], rcx
and qword [rsp + 0x120], 0
mov qword [rsp + 0x2d0], r14
lea rax, [0x14002172f]
mov qword [rsp + 0x2d8], rax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rcx
and qword [rsp + 0x20], 0
mov edx, 4
mov rcx, rbx
lea r8, str.ureq::stream
mov r9d, 0x181
call fcn.140084ca8
test byte [rsp + 0x50], 3
jne 0x140027964
cmp esi, 0x3b9aca00
jne 0x1400279b9
movups xmm0, xmmword [rsp + 0x570]
movups xmm1, xmmword [rsp + 0x580]
movaps xmmword [rsp + 0x110], xmm1
movaps xmmword [rsp + 0x100], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.14001d7a0
jmp 0x1400279cf
mov rcx, rbx
lea rdx, [rsp + 0x218]
call fcn.140026836
cmp byte [rsp + 0x14c], 4
je 0x14002810c
mov ecx, 0xa
lea r12, [rsp + 0x2c0]
mov rdi, r12
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov r8d, 0x17
mov cl, 0x27
lea rdx, str.SOCKS_feature_disabled.unknown_scheme_
call fcn.1400800c8
mov rdi, rax
mov rcx, r12
call fcn.1400135d0
jmp 0x1400279e6
mov rcx, r14
lea rdx, [rsp + 0x570]
mov r8, r13
mov r9d, esi
call fcn.140097e20
cmp qword [rsp + 0x268], 0
je 0x140027ad5
mov rdi, qword [rsp + 0x270]
lea rcx, [rsp + 0x58]
call fcn.14001c731
mov qword [rsp + 0x58], rdi
mov rcx, qword [rsp + 0x3e0]
mov rax, qword [rsp + 0x3e8]
jmp 0x1400277d5
lea rax, [rsp + 0x2c0]
mov qword [rax], r14
lea rcx, str.No_ip_address_for
lea rdx, [rsp + 0x100]
mov qword [rdx], rcx
mov ecx, 1
mov qword [rdx + 8], rcx
and qword [rdx + 0x20], 0
mov qword [rax + 8], rbx
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
lea rcx, [r15 + 0x60]
call fcn.1400267b4
mov eax, 2
mov dword [r15 + 8], eax
and qword [r15 + 0x78], 0
mov byte [r15 + 0x88], 2
mov dword [r15], eax
lea rcx, [rsp + 0xc0]
call fcn.140011cb7
jmp 0x140027cab
lea rdx, [rsp + 0x2e0]
movups xmm0, xmmword [rdx - 0x1c]
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rsp + 0x3dc], xmm1
movaps xmmword [rsp + 0x3d0], xmm0
lea rcx, [r15 + 0x20]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rsp + 0x3dc]
movups xmmword [r15 + 0x10], xmm0
movaps xmm0, xmmword [rsp + 0x3d0]
movups xmmword [r15 + 4], xmm0
mov dword [r15], esi
lea rcx, [rsp + 0xa0]
call fcn.14001364a
jmp 0x140027cab
jmp 0x140027aff
mov rsi, qword [rsp + 0x270]
movzx r12d, word [rsp + 0x570]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0xe]
movaps xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xae], xmm1
lea rcx, [rsp + 0x3d0]
call fcn.1400137b5
cmp r12w, 2
jne 0x140027b8c
test rdi, rdi
mov r15, qword [rsp + 0x60]
je 0x140028126
mov ecx, reloc.WS2_32.dll_listen
xor edx, edx
call fcn.14000f8ee
movabs rcx, 0x207463656e6e6f43
mov qword [rax], rcx
movabs rcx, 0x726f727265207463
mov qword [rax + 5], rcx
mov ecx, 2
lea r8, [rsp + 0x100]
mov dword [r8 + 8], ecx
mov qword [r8 + 0x60], rax
mov qword [r8 + 0x68], rdx
mov qword [r8 + 0x70], reloc.WS2_32.dll_listen
and qword [r8 + 0x78], 0
mov byte [r8 + 0x88], 4
mov dword [r8], ecx
mov rcx, r15
mov rdx, r8
mov r8, rdi
call fcn.140017617
jmp 0x140027cab
movups xmm0, xmmword [rsp + 0xae]
movups xmmword [rsp + 0xee], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0xe0], xmm0
lea rcx, [rsp + 0x40]
mov qword [rcx], rsi
mov rax, qword [rsp + 0x48]
mov dl, byte [rax + 0xcd]
call fcn.1400980d0
test rax, rax
mov r15, qword [rsp + 0x60]
je 0x140027be9
mov rcx, r15
mov rdx, rax
call fcn.140017943
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140027c9c
mov r13, qword [rsp + 0xd8]
mov ebp, dword [r13 + 0x60]
cmp ebp, 0x3b9aca00
jne 0x140027cdc
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsi + 0x20]
mov r8d, dword [rsi + 0x28]
lea rcx, [rsp + 0x40]
call fcn.140097f00
test rax, rax
jne 0x140027bce
mov rdx, qword [rsi + 0x30]
mov r8d, dword [rsi + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140097fb0
test rax, rax
jne 0x140027bce
cmp byte [rsp + 0x50], 0
je 0x140027d83
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rsp + 0xee]
movups xmmword [r15 + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [r15 + 0x12], xmm0
mov qword [r15 + 8], rax
mov word [r15 + 0x10], r12w
mov dword [r15], 3
lea rcx, [rsp + 0x58]
call fcn.14001c731
jmp 0x140027cab
mov rdx, qword [rsp + 0x100]
mov r15, qword [rsp + 0x60]
mov rcx, r15
call fcn.140017943
lea rcx, [rsp + 0x3d0]
call fcn.1400137b5
test rdi, rdi
je 0x140027cab
lea rcx, [rsp + 0x58]
call fcn.140001f2b
lea rcx, [rsp + 0x80]
call fcn.14001051b
lea rcx, [rsp + 0x218]
call fcn.14001367e
mov rax, r15
add rsp, 0x678
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, rdi
mov rsi, qword [r13 + 0x58]
lea rdi, [rsp + 0x100]
mov rcx, rdi
mov rdx, rsi
mov r8d, ebp
call fcn.140026b02
mov r8d, dword [rdi + 8]
cmp r8d, 0x3b9aca00
jne 0x140027d1e
mov rdx, qword [rsp + 0x100]
mov rcx, r15
call fcn.140017943
mov rdi, rbx
jmp 0x140027bd9
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x40]
call fcn.140097f00
test rax, rax
je 0x140027d3d
mov rdi, rbx
jmp 0x140027bce
lea rdi, [rsp + 0x100]
mov rcx, rdi
mov rdx, rsi
mov r8d, ebp
call fcn.140026b02
mov r8d, dword [rdi + 8]
cmp r8d, 0x3b9aca00
je 0x140027d06
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x40]
call fcn.140097fb0
test rax, rax
mov rdi, rbx
jne 0x140027bce
jmp 0x140027c34
mov rcx, r13
call fcn.1400266a6
lea r8, [0x14017408c]
mov r9d, 5
mov rcx, rax
call fcn.140005e37
test al, al
je 0x140027c3f
cmp byte [rsp + 0x264], 4
je 0x140027c3f
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x70]
movzx eax, word [rsp + 0x6e0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx + 0xa0]
mov rdx, qword [rdx + 0xb0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x218]
lea rsi, [rsp + 0x2c0]
mov rcx, rsi
call fcn.14002102b
lea rax, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea rdx, [rsp + 0x100]
mov qword [rdx], rax
mov eax, 1
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
mov qword [rsp + 0x570], rsi
lea rcx, [0x1400012b0]
mov qword [rsp + 0x578], rcx
lea rcx, [rsp + 0x570]
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rcx, [rsp + 0x40]
call fcn.14001d3cd
test rax, rax
jne 0x140028140
lea rcx, [rsp + 0x2c0]
call fcn.14001051b
lea rsi, [rsp + 0x100]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140098390
cmp qword [rsi], 0
je 0x140027e94
mov rdx, qword [rsp + 0x108]
mov rcx, r15
jmp 0x140027bd4
mov qword [rsp + 0x50], rdi
lea rdi, [rsp + 0x108]
mov rsi, qword [rdi]
mov rcx, r13
call fcn.1400266a6
mov r8, rdx
mov r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
movzx edx, word [rsp + 0x6e0]
mov word [rsp + 0x28], dx
mov qword [rsp + 0x20], rcx
lea r14, [rsp + 0x2c0]
mov rcx, r14
mov rdx, rax
call fcn.140022f53
lea rbx, [r13 + 0x70]
mov rcx, rbx
call fcn.140017fce
mov qword [rdi - 8], rax
mov r8d, 0x88
mov rcx, rdi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov word [r14], r12w
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [r14 + 2], xmm0
movups xmm0, xmmword [rsp + 0xae]
movups xmmword [r14 + 0x10], xmm0
lea rcx, [rsp + 0x3d0]
lea r8, [rsp + 0x2c0]
lea r9, [rsp + 0x100]
mov rdx, rsi
call fcn.140026c3c
mov rax, qword [rsp + 0x48]
lock inc qword [rax]
jle 0x140028171
mov rdi, qword [rbx]
lock inc qword [rdi]
jle 0x140028171
lea rdx, [r13 + 0x78]
lea rbx, [rsp + 0x538]
mov rcx, rbx
call fcn.1400aca30
lea rdx, [r13 + 0x10]
lea rsi, [rsp + 0x278]
mov rcx, rsi
call fcn.1400aca30
movups xmm0, xmmword [r13 + 0x2c]
movups xmm1, xmmword [r13 + 0x40]
movups xmmword [rsi + 0x30], xmm1
mov al, byte [r13 + 0x50]
mov byte [rsi + 0x40], al
mov eax, dword [r13 + 0x28]
mov ecx, dword [r13 + 0x3c]
movups xmm1, xmmword [r13]
movups xmmword [rsi + 0x1c], xmm0
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x2c], ecx
movups xmmword [rsi - 0x10], xmm1
mov r14b, byte [r13 + 0xa8]
mov ecx, 0x90
lea rdx, [rcx + r13]
lea rax, [rsp + 0x4c0]
add rcx, rax
call fcn.140010c33
mov rax, qword [r13 + 0x58]
mov rcx, qword [rsp + 0x48]
mov qword [rbx - 0x10], rcx
mov qword [rbx - 8], rdi
lea rsi, [rsp + 0x268]
mov ecx, listen
lea r8, [rsp + 0x4c0]
mov rdi, r8
rep movsq qword [rdi], qword [rsi]
mov byte [rbx + 0x30], r14b
mov qword [rbx - 0x20], rax
mov dword [rbx - 0x18], ebp
lea rsi, [rsp + 0x100]
lea rdx, [rsp + 0x3d0]
mov rcx, rsi
call fcn.140014d7f
mov edi, dword [rsi]
cmp edi, 3
jne 0x1400280bd
lea rdx, [rsp + 0x108]
lea rsi, [rsp + 0x2c4]
mov r8d, 0x108
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0x570]
mov r8d, 0x108
mov rcx, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, word [rdi + 0x100]
cmp ecx, 0xc8
je 0x1400280fa
cmp ecx, 0x197
mov rdi, qword [rsp + 0x50]
je 0x14002808c
mov al, 0xa
cmp ecx, 0x191
jne 0x14002808e
mov al, 0xb
mov ecx, 2
mov dword [r15 + 8], ecx
and qword [r15 + 0x60], 0
and qword [r15 + 0x78], 0
mov byte [r15 + 0x88], al
mov dword [r15], ecx
lea rcx, [rsp + 0x570]
call fcn.140026730
jmp 0x140027bd9
lea rdx, [rsp + 0x104]
lea rsi, [rsp + 0x2c0]
mov r8d, 0x10c
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r15 + 4]
mov r8d, 0x10c
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov dword [r15], edi
mov rdi, qword [rsp + 0x50]
jmp 0x140027bd9
lea rcx, [rsp + 0x570]
call fcn.140026730
jmp 0x140027c3f
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Users55779.cargo_registry_srcindex.crates.io_6f17d22bba15001fureq_2.9.1_src_stream.rstimed_out_reading_responseStream_Test_
mov edx, 0x2b
call fcn.1401495e0
ud2
lea rcx, str.shouldnt_happen:_failed_to_connect_to_all_IPs__but_no_error
lea r8, str.C:Users55779.cargo_registry_srcindex.crates.io_6f17d22bba15001fureq_2.9.1_src_stream.rstimed_out_reading_responseStream_Test_
mov edx, 0x3c
call fcn.140147f12
ud2
lea r8, [rsp + 0x100]
mov qword [r8], rax
lea rax, str.C:Users55779.cargo_registry_srcindex.crates.io_6f17d22bba15001fureq_2.9.1_src_stream.rstimed_out_reading_responseStream_Test_
mov qword [rsp + 0x20], rax
lea rcx, [0x140173b93]
lea r9, fcn.140001f2b
mov edx, 0x2b
call fcn.140149950
ud2
ud2