Function at 0x14018bc80
Capabilities:
Load assembly via iassembly

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x9d8
movaps xmmword [rsp + 0x9c0], xmm6
mov rsi, qword [rdx]
mov rbx, qword [rdx + 0x120]
mov r14, qword [rdx + 0x128]
mov r15, qword [rdx + 0x130]
mov qword [rdx], 3
cmp rsi, 3
je 0x14018c650
mov rdi, r8
mov qword [rsp + 0x40], rcx
add rdx, 8
lea rcx, [rsp + 0x568]
mov r8d, 0x118
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x560], rsi
mov qword [rsp + 0x680], rdi
movabs rbp, 0x8000000000000000
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 8
mov qword [rsp + 0xb0], 0
movzx eax, byte [rbx + 0x1c]
movzx ecx, byte [rbx + 0x1d]
lea edx, [rcx + 1]
cmp cl, 4
movzx edx, dl
mov ecx, 4
cmovne ecx, edx
movzx edi, cl
cmp al, 4
jne 0x14018bd5a
lea r12, [0x14036f20e]
jmp 0x14018bd7a
xor edx, edx
cmp cl, al
movzx eax, al
cmovb eax, edx
movzx eax, al
lea r12, [0x14036f20e]
add r12, rax
sub rdi, rax
je 0x14018bf97
movzx eax, byte [0x14043f240]
xor ecx, ecx
mov rdx, rdi
call fcn.1401d3670
test rax, rax
je 0x14018c668
mov r13, rax
mov rcx, r13
mov rdx, r12
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xe0], rdi
cmp qword [rbx], 0
je 0x14018bdf4
mov rcx, qword [rbx + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov rdi, rax
lea rcx, [rsp + 0xa0]
call fcn.140088000
mov rax, qword [rsp + 0xa8]
mov qword [rax], rdi
mov qword [rsp + 0xb0], 1
lea rcx, [rsp + 0xa0]
call fcn.1401c51f0
mov rdi, rdx
test rax, rax
je 0x14018becd
mov rax, qword [rsp + 0xb8]
cmp rax, rbp
je 0x14018be36
test rax, rax
je 0x14018be36
mov r8, qword [rsp + 0xc0]
mov rcx, qword [0x14043f190]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0xd0]
cmp rax, rbp
je 0x14018be5f
test rax, rax
je 0x14018be5f
mov r8, qword [rsp + 0xd8]
mov rcx, qword [0x14043f190]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r14, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
je 0x14018be8f
xor r15d, r15d
mov r12, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
nop
mov rcx, qword [r14 + r15*8]
inc r15
call r12
cmp rbx, r15
jne 0x14018be80
cmp qword [rsp + 0xa0], 0
je 0x14018beac
mov rcx, qword [0x14043f190]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
cmp rsi, 2
mov r14, qword [rsp + 0x40]
jne 0x14018bf85
lea rcx, [rsp + 0x568]
call fcn.14015fe40
jmp 0x14018c56c
mov qword [rsp + 0x58], rbp
mov word [rsp + 0x98], 1
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x70], rbp
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov rdx, r14
mov r8, r15
call fcn.1401c5730
movzx r14d, byte [rbx + 0x18]
mov byte [rsp + 0x98], r14b
movzx eax, byte [rbx + 0x19]
mov byte [rsp + 0x99], al
cmp byte [rbx + 0x1a], 0
je 0x14018bfa4
movzx eax, byte [0x14043f240]
mov edx, 0x10
xor ecx, ecx
call fcn.1401d3670
test rax, rax
je 0x14018c675
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14018c021
lock dec qword [rcx]
lea rsi, [0x1403d21f0]
je 0x14018c004
jmp 0x14018c031
lea rcx, [rsp + 0x560]
call fcn.140177c40
jmp 0x14018c56c
mov r13d, 1
xor edi, edi
jmp 0x14018bd97
cmp byte [rbx + 0x1b], 0
je 0x14018c04a
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov rbx, rax
movzx eax, byte [0x14043f240]
mov edx, 0x18
xor ecx, ecx
call fcn.1401d3670
test rax, rax
je 0x14018c684
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rbx
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14018c02a
lock dec qword [rcx]
lea rsi, [0x1403d2250]
jne 0x14018c031
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rbx, rax
call fcn.140180e30
mov rax, rbx
jmp 0x14018c031
lea rsi, [0x1403d21f0]
jmp 0x14018c031
lea rsi, [0x1403d2250]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rsi
movzx r14d, byte [rsp + 0x98]
lea rbx, [rsp + 0x70]
lea rcx, [rsp + 0x688]
lea rdx, [rsp + 0x560]
mov r8d, 0x128
call sub.VCRUNTIME140.dll_memcpy
mov rsi, qword [rsp + 0x58]
xor eax, eax
mov r8d, 0
test r14b, r14b
je 0x14018c081
mov r8, qword [rsp + 0x60]
cmp rsi, rbp
cmove r8, rax
lea rcx, [rsp + 0x110]
mov rdx, rdi
mov r9, rbx
call fcn.1401c5ab0
mov r15, qword [rsp + 0x120]
cmp r15, 2
jne 0x14018c0f3
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x340], 2
mov qword [rsp + 0x348], rax
mov qword [rsp + 0x338], 1
cmp dword [rsp + 0x688], 2
jne 0x14018c13e
lea rcx, [rsp + 0x690]
call fcn.14015fe40
lock dec qword [rdi]
je 0x14018c155
jmp 0x14018c465
movaps xmm6, xmmword [rsp + 0x110]
mov ebx, dword [rsp + 0x128]
mov r12, qword [rsp + 0x130]
cmp qword [rsp + 0x48], 0
je 0x14018c162
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov qword [rsp + 0xf8], rax
mov eax, 1
mov qword [rsp + 0x38], rax
mov rsi, qword [rsp + 0x58]
cmp rsi, rbp
jne 0x14018c16e
jmp 0x14018c1dd
lea rcx, [rsp + 0x688]
call fcn.140177c40
lock dec qword [rdi]
jne 0x14018c465
mov rcx, rdi
call case.0x14017a72b.33
jmp 0x14018c465
xor eax, eax
mov qword [rsp + 0x38], rax
cmp rsi, rbp
je 0x14018c139
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
test rbp, rbp
mov qword [rsp + 0xe8], rbp
je 0x14018c1c0
mov rax, rbp
shr rax, 0x3e
lea r13, [rbp*2]
test rax, rax
jne 0x14018c693
movzx eax, byte [0x14043f240]
xor ecx, ecx
mov rdx, r13
call fcn.1401d3670
test rax, rax
jne 0x14018c1ca
mov ecx, 2
mov rdx, r13
call fcn.14032afb0
mov eax, 2
xor r13d, r13d
xor ebp, ebp
mov qword [rsp + 0x30], rax
mov rcx, rax
mov rdx, r14
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
movzx esi, byte [rsp + 0x98]
movzx r13d, byte [rsp + 0x99]
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x14018c213
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xf0], rax
lock inc qword [r14]
jg 0x14018c213
ud2
lea rcx, [rsp + 0x338]
lea rdx, [rsp + 0x688]
mov r8d, 0x128
call sub.VCRUNTIME140.dll_memcpy
test r15, r15
mov byte [rsp + 0x2f], sil
mov byte [rsp + 0x2e], r13b
je 0x14018c26d
test ebx, ebx
je 0x14018c295
movzx eax, byte [0x14043f240]
xor ecx, ecx
mov rdx, rbx
call fcn.1401d3670
mov r13, rax
mov rdx, r12
mov r15, rbx
test rax, rax
jne 0x14018c2a3
mov ecx, 1
mov rdx, rbx
call fcn.14032afb0
mov rsi, qword [rsp + 0x38]
mov r13d, 1
xor ebx, ebx
xor r15d, r15d
mov rax, qword [rsp + 0x30]
movabs r12, 0x8000000000000000
cmp qword [rsp + 0x70], r12
jne 0x14018c2d2
jmp 0x14018c309
mov edx, 1
xor r15d, r15d
mov r13d, 1
mov rsi, qword [rsp + 0x38]
mov rcx, r13
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
call qword [sym.imp.secur32.dll_FreeContextBuffer]
mov rax, qword [rsp + 0x30]
movabs r12, 0x8000000000000000
cmp qword [rsp + 0x70], r12
je 0x14018c309
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
lea rcx, [rsp + 0x110]
call fcn.140165990
mov rax, qword [rsp + 0x30]
mov r12, qword [rsp + 0x110]
movups xmm0, xmmword [rsp + 0x118]
movaps xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x2b8], rax
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x338]
mov r8d, 0x128
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x110], rsi
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x248], 0
mov qword [rsp + 0x250], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x258], xmm0
mov qword [rsp + 0x268], 0
mov qword [rsp + 0x270], 1
movups xmmword [rsp + 0x278], xmm0
mov qword [rsp + 0x288], r15
mov qword [rsp + 0x290], r13
mov qword [rsp + 0x298], rbx
mov qword [rsp + 0x2a0], 0
mov qword [rsp + 0x2a8], rbp
mov qword [rsp + 0x2c0], r12
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rsp + 0x2c8], xmm0
mov dword [rsp + 0x2d8], 0x10000
mov byte [rsp + 0x2dc], 0
mov qword [rsp + 0x2f0], rdi
movups xmmword [rsp + 0x2f8], xmm6
mov qword [rsp + 0x308], r14
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x310], rax
mov qword [rsp + 0x318], 1
mov qword [rsp + 0x320], 0
movzx eax, byte [rsp + 0x2f]
mov byte [rsp + 0x328], al
movzx eax, byte [rsp + 0x2e]
mov byte [rsp + 0x329], al
mov word [rsp + 0x32a], pe_nt_image_headers64
lea rcx, [rsp + 0x338]
lea rdx, [rsp + 0x110]
call fcn.14018c6a0
mov r14, qword [rsp + 0x338]
mov rsi, qword [rsp + 0x340]
mov rdi, qword [rsp + 0x348]
test r14, r14
je 0x14018c488
cmp rsi, 2
je 0x14018c4a3
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x7b0]
mov r8d, 0x210
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x48]
call fcn.14018a090
mov rax, qword [rsp + 0xb8]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x14018c4e0
test rax, rax
je 0x14018c4e0
mov r8, qword [rsp + 0xc0]
mov rcx, qword [0x14043f190]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0xd0]
cmp rax, rbx
je 0x14018c509
test rax, rax
je 0x14018c509
mov r8, qword [rsp + 0xd8]
mov rcx, qword [0x14043f190]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xb0]
test r15, r15
je 0x14018c53f
xor r12d, r12d
mov r13, qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
nop dword [rax + rax]
mov rcx, qword [rbx + r12*8]
inc r12
call r13
cmp r15, r12
jne 0x14018c530
cmp qword [rsp + 0xa0], 0
je 0x14018c55c
mov rcx, qword [0x14043f190]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
test r14, r14
mov r14, qword [rsp + 0x40]
je 0x14018c57d
cmp rsi, 2
jne 0x14018c5d0
mov qword [r14], 2
mov eax, 8
jmp 0x14018c630
lea rbx, [rsp + 0x338]
lea rdx, [rsp + 0x7b0]
mov r8d, 0x210
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r14 + 0x18]
mov r8d, 0x120
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x460]
lea rcx, [r14 + 0x140]
mov r8d, 0xe8
call sub.VCRUNTIME140.dll_memcpy
mov qword [r14], 0
jmp 0x14018c621
lea rbx, [rsp + 0x338]
lea rdx, [rsp + 0x7b0]
mov r8d, 0x210
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r14 + 0x18]
mov r8d, 0x120
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x460]
lea rcx, [r14 + 0x140]
mov r8d, 0xe8
call sub.VCRUNTIME140.dll_memcpy
mov qword [r14], 1
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rdi
mov eax, 0x138
xor edi, edi
mov qword [r14 + rax], rdi
movaps xmm6, xmmword [rsp + 0x9c0]
add rsp, 0x9d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.future_polled_after_completion
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_native_tls_0.3.1_srclib.rs
mov edx, 0x1e
call fcn.14032ba50
mov ecx, 1
mov rdx, rdi
call fcn.14032afb0
mov ecx, 8
mov edx, 0x10
call fcn.14032afd0
mov ecx, 8
mov edx, 0x18
call fcn.14032afd0
xor ecx, ecx
mov rdx, r13
call fcn.14032afb0
int3