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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1738
call fcn.1403aaf10
sub rsp, rax
movaps xmmword [rsp + 0x1720], xmm6
mov r15, rdx
mov rdi, rcx
mov dl, byte [rdx + 0x88]
movzx eax, byte [r15 + 0xf8]
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1401b3fb3
cmp eax, 1
jne 0x1401b3fdd
cmp dl, 7
jne 0x1401b3fb3
mov cl, 1
mov dl, 4
call fcn.14009a1d7
lea rcx, [rsp + 0xc58]
mov qword [rcx], rax
jmp 0x1401b4265
movzx eax, byte [r15 + 0xc0]
test rax, rax
mov byte [rsp + 0x38], dl
je 0x1401b4039
cmp eax, 1
jne 0x1401b4044
mov r14b, byte [r15 + 0xc1]
mov r13b, 1
mov dword [rsp + 0x34], 0
jmp 0x1401b4042
mov cl, 1
mov dl, 3
call fcn.14009a1d7
mov rdi, rax
mov ecx, 0xa0
mov edx, 8
call fcn.14002c720
test rax, rax
je 0x1401b49dd
mov rsi, rax
mov qword [rax], rdi
mov qword [rax + 0x40], 3
mov ecx, 8
mov edx, 8
call fcn.14002c720
test rax, rax
je 0x1401b49e4
mov rdi, rax
mov qword [rax], rsi
lea rsi, [0x14042ca50]
jmp 0x1401b4278
xor r13d, r13d
mov al, 1
mov dword [rsp + 0x34], eax
jmp 0x1401b408d
call fcn.1400999ef
mov r12, rax
mov rax, qword [r15 + 0xc8]
mov rbp, qword [rax + 0x18]
lea rdx, [rax + 0x10]
mov r8, qword [rax]
mov r9, qword [rax + 8]
lea rsi, [rsp + 0x190]
mov rcx, rsi
call qword [rbp]
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
mov r13b, 2
mov dword [rsp + 0x34], 0
mov rax, qword [r15 + 0xb8]
lea rdx, [r15 + 0xb0]
mov r8, qword [r15 + 0xa0]
mov r9, qword [r15 + 0xa8]
lea rsi, [rsp + 0xc58]
mov rcx, rsi
call qword [rax]
mov rax, qword [r15 + 0xe8]
lea rdx, [r15 + 0xe0]
mov r8, qword [r15 + 0xd0]
mov r9, qword [r15 + 0xd8]
lea rbx, [rsp + 0x190]
mov rcx, rbx
call qword [rax]
movzx eax, word [r15 + 0xf0]
mov word [rbx + 0x20], ax
mov byte [rsi + 0x20], r13b
mov byte [rsi + 0x21], r14b
mov qword [rsi + 0x28], r12
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm1
mov rax, qword [rbx + 0x20]
mov qword [rsi + 0x50], rax
mov rbx, qword [rsi + 8]
test rbx, rbx
mov rbp, rsi
cmove rbp, rbx
cmp byte [rsp + 0x34], 0
je 0x1401b4174
cmp byte [rsp + 0x38], 7
jne 0x1401b419c
lea r14, [r15 + 0xa0]
test rbx, rbx
je 0x1401b419c
mov rdx, qword [rbp]
mov rax, rsi
cmove rax, rbx
mov r8, qword [rax + 8]
lea r12, [rsp + 0x190]
mov rcx, r12
call fcn.14008ec00
cmp qword [r12], 0
je 0x1401b41ba
movzx eax, word [rsp + 0x1a0]
cmp eax, 0x1bb
jne 0x1401b41ba
movaps xmm6, xmmword [0x1403bca60]
jmp 0x1401b41c1
test rbx, rbx
je 0x1401b419c
test r13b, r13b
mov byte [rsp + 0x25], r14b
je 0x1401b428e
movzx eax, r13b
cmp eax, 1
jne 0x1401b4293
mov r14b, 1
jmp 0x1401b4291
mov cl, 1
mov dl, 5
call fcn.14009a1d7
mov rsi, rax
lea rcx, [rsp + 0xc58]
call fcn.140095d95
jmp 0x1401b425a
movups xmm6, xmmword [0x1404b8228]
lea rdx, [rsp + 0x190]
movaps xmmword [rdx], xmm6
mov rcx, r14
call fcn.140095f12
movaps xmmword [rsp + 0x70], xmm6
test rbx, rbx
movaps xmm0, xmmword [rsp + 0x70]
lea r14, [rsp + 0x1a0]
cmovne rbx, rsi
movaps xmmword [r14 - 0x10], xmm0
mov r9, qword [rbx + 8]
mov rax, qword [rbx + 0x18]
lea rcx, [rsp + 0xc68]
mov edx, 0x10
cmovne rdx, rcx
mov r8, qword [rbp]
mov rcx, r14
call qword [rax]
movaps xmm0, xmmword [r14 - 0x10]
movaps xmm1, xmmword [r14]
movaps xmm2, xmmword [r14 + 0x10]
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov bl, byte [rsp + 0x90]
mov rcx, rsi
call fcn.140095d95
cmp bl, 3
jne 0x1401b430d
mov rsi, qword [rsp + 0x98]
lea rcx, [rsp + 0xc58]
mov qword [rcx], rsi
mov qword [rcx + 0x40], 3
call fcn.1401b3e78
mov rdi, rax
mov rsi, rdx
lea rcx, [r15 + 0x20]
call fcn.14007e7fa
mov rcx, r15
call fcn.1401a4583
jmp 0x1401b49bb
xor r14d, r14d
jmp 0x1401b42d1
mov rsi, r12
call fcn.1400999ef
mov r12, rax
mov rax, qword [rsi + 0x18]
lea rdx, [rsi + 0x10]
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
lea r14, [rsp + 0x190]
mov rcx, r14
call qword [rax]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
mov r14b, 2
lea rdx, [rsp + 0xc68]
mov rax, qword [rdx + 8]
mov r8, qword [rbp]
lea rsi, [rsp + 0xa0]
mov rcx, rsi
mov r9, rbx
call qword [rax]
mov byte [rsi - 0x10], r14b
mov al, byte [rsp + 0x25]
mov byte [rsi - 0xf], al
mov qword [rsi - 8], r12
lea rcx, [rsp + 0xc58]
call fcn.140095d95
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x180], xmm2
movaps xmmword [rsp + 0x170], xmm1
movaps xmmword [rsp + 0x160], xmm0
movzx ecx, word [rdi + 0x110]
movzx eax, byte [rdi + 0x112]
mov rdx, qword [rdi + 0x88]
test rdx, rdx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x38], eax
je 0x1401b437f
lock inc qword [rdx]
jle 0x1401b4620
mov qword [rsp + 0x68], rdx
mov rax, qword [rdi + 0x90]
mov qword [rsp + 0xd0], rax
jmp 0x1401b4386
xor eax, eax
mov qword [rsp + 0x68], rax
mov al, byte [rdi + 0x101]
mov byte [rsp + 0x25], al
movzx eax, byte [rdi + 0x106]
mov qword [rsp + 0x110], rax
mov al, byte [rdi + 0x100]
xor ecx, ecx
test al, al
setne cl
cmp al, 2
mov edx, 2
cmovne edx, ecx
mov eax, dword [rdi + 0x102]
mov qword [rsp + 0x108], rax
mov r8b, byte [rdi + 0x107]
mov r10b, byte [rdi + 0x108]
mov r13, qword [rdi + 0x70]
mov rax, qword [rdi + 0x98]
mov qword [rsp + 0x158], rax
mov r14, qword [rdi + 0xa0]
mov rax, qword [rdi + 0xa8]
mov qword [rsp + 0x148], rax
mov rax, qword [rdi + 0xb0]
mov qword [rsp + 0x150], rax
mov r11b, byte [rdi + 0xfc]
mov r9d, dword [rdi + 0xf0]
mov esi, dword [rdi + 0xf4]
mov ecx, dword [rdi + 0xf8]
mov eax, dword [rdi + 0xc0]
mov dword [rsp + 0x64], eax
mov bl, byte [rdi + 0xfd]
mov al, byte [rdi + 0x109]
mov rbp, qword [rdi + 0xb8]
mov qword [rsp + 0x118], rbp
mov rbp, qword [rdi + 0xc8]
mov qword [rsp + 0x120], rbp
mov ebp, dword [rdi + 0xd0]
mov dword [rsp + 0x60], ebp
mov rbp, qword [rdi + 0xd8]
mov qword [rsp + 0x128], rbp
mov rbp, qword [rdi + 0xe0]
mov qword [rsp + 0x130], rbp
mov r12, qword [rdi + 0xe8]
mov qword [rsp + 0x138], r12
mov qword [rsp + 0x140], r13
lock inc qword [r13]
jle 0x1401b4620
mov rbp, qword [rdi + 0x60]
lock inc qword [rbp]
jle 0x1401b4620
mov byte [rsp + 0x2f], bl
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x58], r9d
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], r11b
mov dword [rsp + 0x5c], edx
mov byte [rsp + 0x32], r10b
mov byte [rsp + 0x33], r8b
mov r12, qword [rdi + 0x68]
cmp qword [rdi + 0x40], 0
mov qword [rsp + 0x100], r14
je 0x1401b4505
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov qword [rsp + 0xc8], rax
mov esi, 1
jmp 0x1401b4507
xor esi, esi
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov r8b, byte [rdi + 0x58]
mov r9b, byte [rdi + 0x59]
mov r10b, byte [rdi + 0x5a]
mov bl, byte [rdi + 0x5b]
mov dl, byte [rdi + 0x5c]
mov cl, byte [rdi + 0x5d]
mov r14, qword [rdi + 0x10]
lock inc qword [r14]
jle 0x1401b4620
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0x29], cl
mov byte [rsp + 0x2a], dl
mov byte [rsp + 0x2b], bl
mov byte [rsp + 0x2c], r10b
mov byte [rsp + 0x2d], r9b
mov byte [rsp + 0x2e], r8b
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], r12
mov r12b, byte [rdi + 0x78]
mov eax, dword [rdi + 8]
mov dword [rsp + 0x4c], eax
mov rax, qword [rdi]
mov qword [rsp + 0xd8], rax
mov bpl, byte [rdi + 0x79]
mov bl, byte [rdi + 0x7a]
mov dl, 2
cmp byte [rdi + 0x38], 2
je 0x1401b45d9
mov rax, qword [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
lea rsi, [rsp + 0xc58]
mov rcx, rsi
call qword [rax]
mov dl, byte [rdi + 0x38]
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x190], xmm0
movaps xmmword [rsp + 0x1a0], xmm1
mov eax, dword [rsi + 0x21]
mov dword [rsp + 0x70], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x73], eax
movaps xmm0, xmmword [rsp + 0x190]
movaps xmm1, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x73]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x3f], ecx
mov r13, qword [rdi + 0x80]
test r13, r13
mov byte [rsp + 0x28], dl
je 0x1401b4624
lock inc qword [r13]
jg 0x1401b4627
ud2
xor r13d, r13d
mov byte [rsp + 0x26], bl
mov byte [rsp + 0x27], bpl
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x3f]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x47], ecx
lea rsi, [rsp + 0xd58]
mov r8d, pe_nt_image_headers64
mov rcx, rsi
mov rdx, r15
call fcn.1403abad0
movaps xmm0, xmmword [rsp + 0x160]
movaps xmm1, xmmword [rsp + 0x170]
movaps xmm2, xmmword [rsp + 0x180]
movups xmmword [rsi + 0x130], xmm0
movups xmmword [rsi + 0x140], xmm1
movups xmmword [rsi + 0x150], xmm2
lea rcx, [rsp + 0x190]
lea rdx, [rsp + 0xc58]
mov r8d, 0xac8
call fcn.1403abad0
mov ecx, 0xbe8
mov edx, 8
call fcn.14002c720
test rax, rax
je 0x1401b49eb
mov rdi, rax
mov eax, dword [rsp + 0x38]
shl eax, 0x10
mov esi, dword [rsp + 0x34]
or esi, eax
mov rax, qword [rsp + 0x110]
shl rax, 0x20
mov rbp, qword [rsp + 0x108]
or rbp, rax
lea rdx, [rsp + 0x190]
mov r8d, 0xac8
mov rcx, rdi
call fcn.1403abad0
mov rax, qword [rsp + 0xd8]
mov qword [rdi + 0xac8], rax
mov eax, dword [rsp + 0x4c]
mov dword [rdi + 0xad0], eax
mov qword [rdi + 0xad8], r14
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rdi + 0xae0], xmm0
movups xmmword [rdi + 0xaf0], xmm1
mov al, byte [rsp + 0x28]
mov byte [rdi + 0xb00], al
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x47]
mov dword [rdi + 0xb01], eax
mov dword [rdi + 0xb04], ecx
mov rax, qword [rsp + 0xf0]
mov qword [rdi + 0xb08], rax
mov rax, qword [rsp + 0xc8]
mov qword [rdi + 0xb10], rax
mov rax, qword [rsp + 0xe8]
mov qword [rdi + 0xb18], rax
mov al, byte [rsp + 0x2e]
mov byte [rdi + 0xb20], al
mov al, byte [rsp + 0x2d]
mov byte [rdi + 0xb21], al
mov al, byte [rsp + 0x2c]
mov byte [rdi + 0xb22], al
mov al, byte [rsp + 0x2b]
mov byte [rdi + 0xb23], al
mov al, byte [rsp + 0x2a]
mov byte [rdi + 0xb24], al
mov al, byte [rsp + 0x29]
mov byte [rdi + 0xb25], al
mov rax, qword [rsp + 0xe0]
mov qword [rdi + 0xb28], rax
mov rax, qword [rsp + 0xf8]
mov qword [rdi + 0xb30], rax
mov rax, qword [rsp + 0x140]
mov qword [rdi + 0xb38], rax
mov byte [rdi + 0xb40], r12b
mov al, byte [rsp + 0x27]
mov byte [rdi + 0xb41], al
mov al, byte [rsp + 0x26]
mov byte [rdi + 0xb42], al
mov qword [rdi + 0xb48], r13
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0xb50], rax
mov rax, qword [rsp + 0xd0]
mov qword [rdi + 0xb58], rax
mov rax, qword [rsp + 0x158]
mov qword [rdi + 0xb60], rax
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0xb68], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0xb70], rax
mov rax, qword [rsp + 0x150]
mov qword [rdi + 0xb78], rax
mov rax, qword [rsp + 0x118]
mov qword [rdi + 0xb80], rax
mov eax, dword [rsp + 0x64]
mov dword [rdi + 0xb88], eax
mov rax, qword [rsp + 0x120]
mov qword [rdi + 0xb90], rax
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0xb98], eax
mov rax, qword [rsp + 0x128]
mov qword [rdi + 0xba0], rax
mov rax, qword [rsp + 0x130]
mov qword [rdi + 0xba8], rax
mov rax, qword [rsp + 0x138]
mov qword [rdi + 0xbb0], rax
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0xbb8], eax
mov eax, dword [rsp + 0x54]
mov dword [rdi + 0xbbc], eax
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0xbc0], eax
mov al, byte [rsp + 0x31]
mov byte [rdi + 0xbc4], al
mov al, byte [rsp + 0x2f]
mov byte [rdi + 0xbc5], al
mov eax, dword [rsp + 0x5c]
mov byte [rdi + 0xbc8], al
mov al, byte [rsp + 0x25]
mov byte [rdi + 0xbc9], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 0xbce], al
mov dword [rdi + 0xbca], ebp
mov al, byte [rsp + 0x33]
mov byte [rdi + 0xbcf], al
mov al, byte [rsp + 0x32]
mov byte [rdi + 0xbd0], al
mov al, byte [rsp + 0x30]
mov byte [rdi + 0xbd1], al
movzx eax, word [rsp + 0x94]
mov word [rdi + 0xbd6], ax
mov eax, dword [rsp + 0x90]
mov dword [rdi + 0xbd2], eax
mov eax, esi
shr eax, 0x10
mov byte [rdi + 0xbda], al
mov word [rdi + 0xbd8], si
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0xbdb], eax
mov al, byte [rsp + 0x40]
mov byte [rdi + 0xbdf], al
mov byte [rdi + 0xbe0], 0
mov eax, dword [rsp + 0xc58]
mov ecx, dword [rsp + 0xc5b]
mov dword [rdi + 0xbe1], eax
mov dword [rdi + 0xbe4], ecx
lea rsi, [0x1404b1de0]
mov rax, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0x1720]
add rsp, 0x1738
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0xa0
jmp 0x1401b49f0
mov ecx, 8
jmp 0x1401b49f0
mov ecx, 0xbe8
mov edx, 8
call fcn.1403af440
ud2