Function at 0x14018f020
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, 0x3b8
movaps xmmword [rsp + 0x3a0], xmm11
movaps xmmword [rsp + 0x390], xmm10
movaps xmmword [rsp + 0x380], xmm9
movaps xmmword [rsp + 0x370], xmm8
movaps xmmword [rsp + 0x360], xmm7
movaps xmmword [rsp + 0x350], xmm6
mov rax, qword [rdx + 0x148]
lock inc qword [rax]
jle 0x14018fb25
mov rdi, r8
mov r15, rdx
mov rsi, rcx
movups xmm6, xmmword [rdx + 0x148]
mov r13, qword [rdx + 0x158]
test r13, r13
je 0x14018f09f
lock inc qword [r13]
jle 0x14018fb25
movsd xmm7, qword [r15 + 0xb0]
movzx ebp, byte [r15 + 0xba]
movzx r12d, byte [r15 + 0xb8]
movzx ebx, byte [r15 + 0xb9]
mov rax, qword [r15 + 0x80]
mov rcx, qword [r15 + 0x88]
mov rdx, qword [r15 + 0x90]
mov r8, qword [r15 + 0x98]
mov r9, qword [r15 + 0xa0]
mov r10, qword [r15 + 0xa8]
mov r11, qword [r15 + 0x128]
mov r14, qword [r15 + 0x130]
mov qword [rsp + 0x1d8], r14
lock inc qword [r11]
jle 0x14018fb25
mov r14, qword [r15 + 0x138]
test r14, r14
mov qword [rsp + 0x1d0], r11
je 0x14018f138
mov r11, qword [r15 + 0x140]
mov qword [rsp + 0x120], r11
lock inc qword [r14]
jg 0x14018f138
jmp 0x14018fb25
mov byte [rsp + 0x3e], r12b
mov byte [rsp + 0x3f], bpl
movzx r11d, byte [r15 + 0x120]
mov byte [rsp + 0x3d], r11b
movups xmm8, xmmword [r15 + 0x110]
mov r11d, dword [r15 + 0xf8]
mov dword [rsp + 0xac], r11d
mov r11, qword [r15 + 0xf0]
mov qword [rsp + 0x1c8], r11
mov r11, qword [r15 + 0xe0]
mov qword [rsp + 0x1c0], r11
mov r11d, dword [r15 + 0xe8]
mov dword [rsp + 0xa8], r11d
movzx r11d, byte [r15 + 0x121]
mov byte [rsp + 0x3c], r11b
mov r11, qword [r15 + 0xc0]
mov qword [rsp + 0x1b8], r11
mov r11, qword [r15 + 0xc8]
mov qword [rsp + 0x1b0], r11
movups xmm9, xmmword [r15 + 0x100]
mov r11, qword [r15 + 0xd0]
mov qword [rsp + 0x1a8], r11
mov r11, qword [r15 + 0xd8]
mov qword [rsp + 0x1a0], r11
movzx r11d, byte [r15 + 0x162]
mov rbp, qword [r15 + 0x20]
mov qword [rsp + 0x198], rbp
lock inc qword [rbp]
jle 0x14018fb25
mov rbp, qword [r15 + 0x28]
mov r12, qword [r15 + 0x30]
mov qword [rsp + 0x188], r12
mov qword [rsp + 0x190], rbp
lock inc qword [rbp]
jle 0x14018fb25
cmp dword [r15], 1
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x168], rdx
mov qword [rsp + 0x160], r8
mov qword [rsp + 0x158], r9
mov qword [rsp + 0x150], r10
mov byte [rsp + 0x3b], r11b
jne 0x14018f27a
mov rcx, qword [r15 + 8]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov qword [rsp + 0x118], rax
mov r12d, 1
jmp 0x14018f27d
xor r12d, r12d
mov rcx, qword [r15 + 0x10]
call sub.crypt32.dll_CertDuplicateStore
mov qword [rsp + 0x148], rax
movzx eax, byte [r15 + 0x1c]
mov byte [rsp + 0x3a], al
movzx eax, byte [r15 + 0x1d]
mov byte [rsp + 0x39], al
movsd xmm10, qword [r15 + 0x18]
mov rax, qword [r15 + 0x70]
lock inc qword [rax]
jle 0x14018fb25
mov eax, dword [r15 + 0x40]
mov dword [rsp + 0xa4], eax
cmp eax, 0x3b9aca00
je 0x14018f2d2
mov rax, qword [r15 + 0x38]
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x38], bl
mov rax, qword [r15 + 0x70]
mov qword [rsp + 0x138], rax
movzx eax, byte [r15 + 0x78]
mov byte [rsp + 0x37], al
movzx eax, byte [r15 + 0x79]
mov byte [rsp + 0x36], al
movzx eax, byte [r15 + 0x7a]
mov byte [rsp + 0x35], al
mov al, 2
cmp byte [r15 + 0x68], 2
je 0x14018f322
lea rdx, [r15 + 0x60]
mov rax, qword [r15 + 0x48]
mov r8, qword [r15 + 0x50]
mov r9, qword [r15 + 0x58]
lea rcx, [rsp + 0x40]
call qword [rax]
movzx eax, byte [r15 + 0x68]
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x340], xmm1
movups xmmword [rsp + 0x330], xmm0
movzx ebx, byte [rdi]
test ebx, ebx
mov qword [rsp + 0x140], r12
mov byte [rsp + 0x34], al
je 0x14018f35a
cmp ebx, 1
jne 0x14018f35c
movzx eax, byte [rdi + 1]
jmp 0x14018f3ae
jmp 0x14018f3ae
mov rbp, r14
mov r14, qword [rdi + 8]
movzx eax, byte [0x14031a2c8]
mov edx, 0x20
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14018fc1d
mov r15, rax
lea rdx, [r14 + 0x18]
mov rax, qword [r14]
mov r8, qword [r14 + 8]
mov r9, qword [r14 + 0x10]
lea rcx, [rsp + 0x40]
call qword [rax]
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [r15 + 0x10], xmm1
movups xmmword [r15], xmm0
mov r14, rbp
mov byte [rsp + 0x1e0], bl
mov byte [rsp + 0x1e1], al
mov qword [rsp + 0x1e8], r15
lea rcx, [rsp + 0x1f0]
lea rdx, [rdi + 0x28]
mov rax, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
mov qword [rsp + 0x180], rdi
mov r9, qword [rdi + 0x20]
call qword [rax]
movups xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x280], xmm0
movups xmm1, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0x270], xmm1
movzx r12d, byte [rsp + 0x1e0]
movzx r10d, byte [rsp + 0x1e1]
movzx r15d, byte [rsp + 0x1e2]
mov rax, qword [rsp + 0x1e8]
mov ecx, dword [rsp + 0x1e3]
mov dword [rsp + 0x9c], ecx
movzx ecx, byte [rsp + 0x1e7]
mov byte [rsp + 0xa0], cl
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
cmp r12b, 4
je 0x14018fb27
mov qword [rsp + 0x128], r14
mov qword [rsp + 0x130], r13
movzx ecx, byte [rsp + 0xa0]
mov byte [rsp + 0x47], cl
mov ecx, dword [rsp + 0x9c]
mov dword [rsp + 0x43], ecx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], 0
movaps xmm0, xmmword [rsp + 0x270]
movaps xmm1, xmmword [rsp + 0x280]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rsp + 0x83]
movaps xmmword [rsp + 0x250], xmm0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x25d], rax
mov eax, dword [rsp + 0x43]
mov dword [rsp + 0x210], eax
movzx eax, byte [rsp + 0x47]
mov byte [rsp + 0x214], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x215], rax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x21d], ax
movzx eax, byte [rsp + 0x52]
mov byte [rsp + 0x21f], al
movups xmm0, xmmword [rsp + 0x53]
movaps xmmword [rsp + 0x220], xmm0
movups xmm0, xmmword [rsp + 0x63]
movaps xmmword [rsp + 0x230], xmm0
movups xmm0, xmmword [rsp + 0x73]
movaps xmmword [rsp + 0x240], xmm0
mov rax, qword [rsp + 0x25d]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0x250]
movups xmmword [rsp + 0x83], xmm0
mov eax, dword [rsp + 0x210]
movzx ecx, byte [rsp + 0x214]
mov rdx, qword [rsp + 0x215]
movzx r8d, word [rsp + 0x21d]
movzx r9d, byte [rsp + 0x21f]
movaps xmm0, xmmword [rsp + 0x220]
movaps xmm1, xmmword [rsp + 0x230]
movaps xmm2, xmmword [rsp + 0x240]
movups xmmword [rsp + 0x73], xmm2
movups xmmword [rsp + 0x63], xmm1
movups xmmword [rsp + 0x53], xmm0
mov dword [rsp + 0x43], eax
mov byte [rsp + 0x47], cl
mov qword [rsp + 0x48], rdx
mov word [rsp + 0x50], r8w
mov byte [rsp + 0x52], r9b
mov byte [rsp + 0x40], r12b
mov ebx, r10d
mov byte [rsp + 0x41], r10b
mov edi, r15d
mov byte [rsp + 0x42], r15b
lea rdx, [0x1403004d0]
lea r15, [rsp + 0x270]
mov r8d, 1
mov rcx, r15
call fcn.140037470
lea rcx, [rsp + 0xb0]
mov rdx, r15
call fcn.14007c740
mov r13, qword [rsp + 0xb0]
movzx r15d, byte [rsp + 0xb8]
test r13, r13
je 0x14018fb4f
lea rbp, [rsp + 0x43]
movzx r14d, byte [rsp + 0xb9]
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rsp + 0x27e], xmm0
movups xmm0, xmmword [rsp + 0xba]
movaps xmmword [rsp + 0x270], xmm0
mov rax, qword [rsp + 0x70]
test rax, rax
mov edx, edi
je 0x14018f679
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
call qword [rax + 0x20]
movzx r12d, byte [rsp + 0x40]
movzx ebx, byte [rsp + 0x41]
movzx edx, byte [rsp + 0x42]
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x78], r15b
mov byte [rsp + 0x79], r14b
movaps xmm0, xmmword [rsp + 0x270]
movups xmmword [rsp + 0x7a], xmm0
movups xmm0, xmmword [rsp + 0x27e]
movups xmmword [rsp + 0x88], xmm0
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x2d0], xmm0
movaps xmmword [rsp + 0x2e0], xmm1
movaps xmmword [rsp + 0x2f0], xmm2
movaps xmmword [rsp + 0x300], xmm3
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rsp + 0x310], xmm0
mov rax, qword [rbp + 0x4d]
mov qword [rsp + 0x31d], rax
cmp r12b, 4
mov rdi, qword [rsp + 0x180]
je 0x14018fb89
mov rax, qword [rsp + 0x31d]
mov qword [rsp + 0x100], rax
movaps xmm0, xmmword [rsp + 0x310]
movups xmmword [rsp + 0xf3], xmm0
movaps xmm0, xmmword [rsp + 0x2d0]
movaps xmm1, xmmword [rsp + 0x2e0]
movaps xmm2, xmmword [rsp + 0x2f0]
movaps xmm3, xmmword [rsp + 0x300]
movups xmmword [rsp + 0xe3], xmm3
movups xmmword [rsp + 0xd3], xmm2
movups xmmword [rsp + 0xc3], xmm1
movups xmmword [rsp + 0xb3], xmm0
mov byte [rsp + 0xb0], r12b
mov byte [rsp + 0xb1], bl
mov byte [rsp + 0xb2], dl
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0xb0]
call fcn.140078f70
movzx eax, byte [rsp + 0x40]
movzx r15d, byte [rsp + 0x41]
cmp al, 3
mov r8, qword [rsp + 0x130]
movzx r9d, byte [rsp + 0x3f]
mov r10, qword [rsp + 0x128]
je 0x14018fb8e
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x2bd], rcx
movups xmm0, xmmword [rsp + 0x83]
movaps xmmword [rsp + 0x2b0], xmm0
movups xmm0, xmmword [rsp + 0x73]
movups xmm1, xmmword [rsp + 0x63]
movups xmm2, xmmword [rsp + 0x53]
movups xmm3, xmmword [rsp + 0x43]
movaps xmm4, xmmword [rsp + 0x2b0]
movzx ecx, byte [rsp + 0x42]
movaps xmmword [rsp + 0x80], xmm4
mov rdx, qword [rsp + 0x2bd]
mov qword [rsp + 0x8d], rdx
movups xmm4, xmmword [rdi]
movups xmm5, xmmword [rdi + 0x10]
movups xmm11, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x170], xmm11
movups xmmword [rsi + 0x160], xmm5
movups xmmword [rsi + 0x150], xmm4
mov edx, dword [rsp + 0x34c]
mov dword [rsi + 0x6c], edx
movups xmm4, xmmword [rsp + 0x32c]
movups xmmword [rsi + 0x4c], xmm4
movups xmm4, xmmword [rsp + 0x33c]
movups xmmword [rsi + 0x5c], xmm4
mov qword [rsi], 6
mov rdx, qword [rsp + 0x140]
mov qword [rsi + 8], rdx
mov rdx, qword [rsp + 0x118]
mov qword [rsi + 0x10], rdx
mov rdx, qword [rsp + 0x148]
mov qword [rsi + 0x18], rdx
movss dword [rsi + 0x20], xmm10
movzx edx, byte [rsp + 0x3a]
mov byte [rsi + 0x24], dl
movzx edx, byte [rsp + 0x39]
mov byte [rsi + 0x25], dl
mov rdx, qword [rsp + 0x198]
mov qword [rsi + 0x28], rdx
mov rdx, qword [rsp + 0x190]
mov qword [rsi + 0x30], rdx
mov rdx, qword [rsp + 0x188]
mov qword [rsi + 0x38], rdx
mov rdx, qword [rsp + 0x110]
mov qword [rsi + 0x40], rdx
mov edx, dword [rsp + 0xa4]
mov dword [rsi + 0x48], edx
movzx edx, byte [rsp + 0x34]
mov byte [rsi + 0x70], dl
mov rdx, qword [rsp + 0x138]
mov qword [rsi + 0x78], rdx
movzx edx, byte [rsp + 0x37]
mov byte [rsi + 0x80], dl
movzx edx, byte [rsp + 0x36]
mov byte [rsi + 0x81], dl
movzx edx, byte [rsp + 0x35]
mov byte [rsi + 0x82], dl
mov rdx, qword [rsp + 0x1b8]
mov qword [rsi + 0x88], rdx
mov rdx, qword [rsp + 0x1b0]
mov qword [rsi + 0x90], rdx
mov rdx, qword [rsp + 0x1a8]
mov qword [rsi + 0x98], rdx
mov rdx, qword [rsp + 0x1a0]
mov qword [rsi + 0xa0], rdx
mov rdx, qword [rsp + 0x1c0]
mov qword [rsi + 0xa8], rdx
mov edx, dword [rsp + 0xa8]
mov dword [rsi + 0xb0], edx
mov rdx, qword [rsp + 0x1c8]
mov qword [rsi + 0xb8], rdx
mov edx, dword [rsp + 0xac]
mov dword [rsi + 0xc0], edx
movups xmmword [rsi + 0xc8], xmm9
movups xmmword [rsi + 0xd8], xmm8
movzx edx, byte [rsp + 0x3d]
mov byte [rsi + 0xe8], dl
movzx edx, byte [rsp + 0x3c]
mov byte [rsi + 0xe9], dl
mov rdx, qword [rsp + 0x1d0]
mov qword [rsi + 0xf0], rdx
mov rdx, qword [rsp + 0x1d8]
mov qword [rsi + 0xf8], rdx
mov qword [rsi + 0x100], r10
mov rdx, qword [rsp + 0x120]
mov qword [rsi + 0x108], rdx
mov rdx, qword [rsp + 0x178]
mov qword [rsi + 0x110], rdx
mov rdx, qword [rsp + 0x170]
mov qword [rsi + 0x118], rdx
mov rdx, qword [rsp + 0x168]
mov qword [rsi + 0x120], rdx
mov rdx, qword [rsp + 0x160]
mov qword [rsi + 0x128], rdx
mov rdx, qword [rsp + 0x158]
mov qword [rsi + 0x130], rdx
mov rdx, qword [rsp + 0x150]
mov qword [rsi + 0x138], rdx
movlps qword [rsi + 0x140], xmm7
movzx edx, byte [rsp + 0x3e]
mov byte [rsi + 0x148], dl
movzx edx, byte [rsp + 0x38]
mov byte [rsi + 0x149], dl
mov byte [rsi + 0x14a], r9b
mov byte [rsi + 0x180], al
mov byte [rsi + 0x181], r15b
mov byte [rsi + 0x182], cl
mov rax, qword [rsp + 0x8d]
mov qword [rsi + 0x1d0], rax
movaps xmmword [rsp + 0x40], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x1c3], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x1b3], xmm3
movups xmmword [rsi + 0x1a3], xmm2
movups xmmword [rsi + 0x193], xmm1
movups xmmword [rsi + 0x183], xmm0
movups xmmword [rsi + 0x1d8], xmm6
mov qword [rsi + 0x1e8], r8
movzx eax, byte [rsp + 0x3b]
mov byte [rsi + 0x1f0], al
mov byte [rsi + 0x1f1], al
movaps xmm6, xmmword [rsp + 0x350]
movaps xmm7, xmmword [rsp + 0x360]
movaps xmm8, xmmword [rsp + 0x370]
movaps xmm9, xmmword [rsp + 0x380]
movaps xmm10, xmmword [rsp + 0x390]
movaps xmm11, xmmword [rsp + 0x3a0]
add rsp, 0x3b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
mov ebx, r10d
lea rcx, [rsp + 0xc8]
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc0]
call qword [rax + 0x20]
jmp 0x14018fb90
cmp r12b, 2
je 0x14018fbc2
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x14018fbf8
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14018fb85
lea rcx, [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
call qword [rax + 0x20]
mov bl, 2
jmp 0x14018fb90
mov r15d, edx
jmp 0x14018fb90
mov bl, 3
mov byte [rsp + 0x40], bl
mov byte [rsp + 0x41], r15b
lea rax, str._redacted_
mov qword [rsp + 0x20], rax
lea rcx, [0x14026c0ba]
lea r9, [0x1402d6398]
lea r8, [rsp + 0x40]
mov edx, 0x13
call fcn.14005b770
mov rsi, qword [rsp + 0x48]
lea rcx, [rsi + 0x18]
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
call qword [rax + 0x20]
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, rsi
call fcn.1401fb9c4
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14018fb63
lea rcx, [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14018fb6d
jmp 0x14018fb85
mov ecx, 8
mov edx, 0x20
call fcn.140033f80
int3