Function at 0x14014a8dc
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, 0xd78
mov rsi, rdx
mov rdi, rcx
mov r12b, byte [rdx + 0xb8]
movzx eax, byte [rdx + 0xd8]
lea ecx, [rax - 2]
cmp ecx, 2
jae 0x14014a929
movzx ebp, byte [rsi + 0x60]
test ebp, ebp
je 0x14014a9b2
cmp ebp, 1
jne 0x14014a9b4
mov r13b, byte [rsi + 0x61]
jmp 0x14014a9b2
cmp eax, 1
jne 0x14014a954
cmp r12b, 7
jne 0x14014a90b
lea rcx, [rsp + 0x2b0]
mov qword [rcx], 3
mov qword [rcx + 8], 0
mov byte [rcx + 0x18], 3
jmp 0x14014acaa
mov al, byte [0x140353270]
mov edx, 0x98
xor ecx, ecx
call fcn.140190370
test rax, rax
je 0x14014b3b6
mov rbx, rax
mov qword [rax], 3
mov qword [rax + 8], 0
mov byte [rax + 0x18], 4
mov al, byte [0x140353270]
mov edx, 8
xor ecx, ecx
call fcn.140190370
test rax, rax
je 0x14014b3c5
invalid
or al, byte [rax]
invalid
mov rdi, rax
mov qword [rax], rbx
lea rbx, [0x14028a4b0]
jmp 0x14014acb5
jmp 0x14014a9ed
call fcn.140076e4c
mov rbx, rax
mov rax, qword [rsi + 0x68]
lea rdx, [rax + 0x18]
push rax
sbb byte [rbx + rcx*4 + 0x10], cl
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
lea r14, [rsp + 0x1a0]
mov rcx, r14
call qword [r10]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
lea rdx, [rsi + 0x88]
mov rax, qword [rsi + 0x70]
mov r8, qword [rsi + 0x78]
mov r9, qword [rsi + 0x80]
mov es, word [rax + 0x4c000000]
lea esi, [rsp + 0x2c0]
mov rcx, r14
call qword [rax]
lea rdx, [rsi + 0xa8]
mov rax, qword [rsi + 0x90]
mov r8, qword [rsi + 0x98]
mov r9, qword [rsi + 0xa0]
lea r15, [rsp + 0x1a0]
mov rcx, r15
call qword [rax]
movzx eax, word [rsi + 0xb0]
mov word [r15 + 0x20], ax
mov byte [r14 - 0x10], bpl
mov byte [r14 - 0xf], r13b
mov qword [r14 - 8], rbx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm1
mov rax, qword [r15 + 0x20]
mov qword [r14 + 0x40], rax
mov r9, qword [r14 + 0x10]
test bpl, bpl
je 0x14014ac00
test r9, r9
je 0x14014ac62
cmp bpl, 1
je 0x14014aac4
call fcn.140076e4c
mov r14, rax
lea rdx, [rbx + 0x18]
mov rax, qword [rbx]
mov r8, qword [rbx + 8]
mov r9, qword [rbx + 0x10]
lea rbx, [rsp + 0x1a0]
mov rcx, rbx
call qword [rax]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmmword [r14], xmm0
mov r9, qword [rsp + 0x2d0]
lea rdx, [rsp + 0x2d8]
mov rax, qword [rdx - 0x18]
mov r8, qword [rdx - 0x10]
lea rbx, [rsp + 0x180]
mov rcx, rbx
call qword [rax]
mov byte [rbx - 0x10], bpl
mov byte [rbx - 0xf], r13b
mov qword [rbx - 8], r14
lea rcx, [rsp + 0x2b0]
call fcn.140065f2e
mov al, byte [rdi + 0x162]
mov byte [rsp + 0x38], al
movzx eax, word [rdi + 0x160]
mov word [rsp + 0x36], ax
mov rax, qword [rdi + 0x148]
lock inc qword [rax]
jle 0x14014b3a5
invalid
test byte [rax], cl
add byte [rax], al
mov rcx, qword [rdi + 0x150]
mov r15b, byte [rdi + 0xb0]
movzx edx, word [rdi + 0xb1]
mov word [rsp + 0x34], dx
mov dl, byte [rdi + 0xb3]
mov byte [rsp + 0x2f], dl
mov r12d, dword [rdi + 0xb4]
mov r14b, byte [rdi + 0xba]
mov r11b, byte [rdi + 0xb8]
mov bl, byte [rdi + 0xb9]
mov r10, qword [rdi + 0x80]
mov r13, qword [rdi + 0x88]
mov rbp, qword [rdi + 0x90]
mov rdx, qword [rdi + 0x98]
mov qword [rsp + 0x168], rdx
mov rdx, qword [rdi + 0xa0]
mov qword [rsp + 0x160], rdx
mov rdx, qword [rdi + 0xa8]
mov qword [rsp + 0x158], rdx
mov rdx, qword [rdi + 0x128]
lock inc qword [rdx]
jle 0x14014b3a5
mov r8, qword [rdi + 0x130]
mov r9, qword [rdi + 0x138]
test r9, r9
mov qword [rsp + 0x150], r10
mov qword [rsp + 0x148], r13
mov qword [rsp + 0x140], rbp
je 0x14014acd1
lock inc qword [r9]
jle 0x14014b3a5
mov r10, qword [rdi + 0x140]
mov qword [rsp + 0xa8], r10
jmp 0x14014acd1
test r9, r9
je 0x14014ac62
cmp r12b, 7
jne 0x14014ac62
lea rbx, [rsi + 0x60]
mov rdx, qword [rsp + 0x2c8]
lea r14, [rsp + 0x1a0]
mov rcx, r14
mov r8, r9
call fcn.14006ebb2
cmp qword [r14], 0
je 0x14014b342
movzx eax, word [rsp + 0x1b0]
cmp eax, 0x1bb
jne 0x14014b342
lea rdx, [0x140305830]
mov qword [rsp + 0x178], 0
mov r10b, byte [rdi + 0x120]
mov r13d, dword [rdi + 0x110]
mov ebp, dword [rdi + 0x114]
mov dword [rsp + 0x64], ebp
mov rbp, qword [rdi + 0x100]
mov qword [rsp + 0x138], rbp
mov ebp, dword [rdi + 0x118]
mov dword [rsp + 0x60], ebp
mov ebp, dword [rdi + 0x11c]
mov dword [rsp + 0x5c], ebp
mov ebp, dword [rdi + 0xf8]
mov dword [rsp + 0x58], ebp
mov rbp, qword [rdi + 0xf0]
add byte [rax - 0x77], cl
lodsb al, byte [rsi]
and al, 0x30
add dword [rax], eax
add byte [rax - 0x75], cl
scasd eax, dword [rdi]
loopne 0x14014ad2a
add byte [rax], al
mov qword [rsp + 0x128], rbp
mov ebp, dword [rdi + 0xe8]
mov dword [rsp + 0x54], ebp
mov bpl, byte [rdi + 0x121]
mov ch, byte [rdi + 0x121]
mov byte [rsp + 0x2e], bpl
mov rbp, qword [rdi + 0xc0]
mov qword [rsp + 0x118], rbp
mov rbp, qword [rdi + 0xc8]
mov qword [rsp + 0x110], rbp
mov rbp, qword [rdi + 0x108]
mov qword [rsp + 0x120], rbp
mov rbp, qword [rdi + 0xd0]
mov qword [rsp + 0x108], rbp
mov rbp, qword [rdi + 0xd8]
add byte [rax - 0x77], cl
lodsb al, byte [rsi]
and al, 0
add dword [rax], eax
add byte [rax - 0x75], cl
outsd dx, dword [rsi]
and byte [rax - 0x77], cl
lodsb al, byte [rsi]
and al, 0xf8
add byte [rax], al
add al, dh
inc qword [rbp]
jle 0x14014b3a5
mov rbp, qword [rdi + 0x28]
mov qword [rsp + 0xf0], rbp
lodsb al, byte [rsi]
and al, 0xf0
add byte [rax], al
add al, dh
inc qword [rbp]
jle 0x14014b3a5
mov rbp, qword [rdi + 0x30]
mov qword [rsp + 0xc0], rbp
cmp qword [rdi], 0
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 0xd0], r8
and al, 0xd0
add byte [rax], al
add byte [rcx + rcx*4 - 0x74], cl
and al, 0xc8
add byte [rax], al
add byte [rax + rcx*4 + 0x5c], al
and al, 0x2d
mov byte [rsp + 0x2c], bl
mov byte [rsp + 0x2b], r15b
mov byte [rsp + 0x2a], r10b
mov dword [rsp + 0x50], r13d
je 0x14014ae33
mov rcx, qword [rdi + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov qword [rsp + 0xa0], rax
mov eax, 1
mov qword [rsp + 0x68], rax
jmp 0x14014ae3a
xor eax, eax
mov qword [rsp + 0x68], rax
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
mov bpl, byte [rdi + 0x1c]
mov cl, byte [rdi + 0x1d]
mov dl, byte [rdi + 0x18]
mov r8b, byte [rdi + 0x19]
mov r9b, byte [rdi + 0x1a]
mov r10b, byte [rdi + 0x1b]
mov r13, qword [rdi + 0x70]
lock inc qword [r13]
jle 0x14014b3a5
mov byte [rsp + 0x22], r10b
mov byte [rsp + 0x23], r9b
mov byte [rsp + 0x24], r8b
mov byte [rsp + 0x25], dl
mov qword [rsp + 0xb8], rax
mov byte [rsp + 0x26], cl
mov al, byte [rdi + 0x78]
mov byte [rsp + 0x29], al
mov eax, dword [rdi + 0x40]
mov dword [rsp + 0x4c], eax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0xb0], rax
mov al, byte [rdi + 0x79]
mov byte [rsp + 0x28], al
mov al, byte [rdi + 0x7a]
mov byte [rsp + 0x27], al
mov bl, 2
cmp byte [rdi + 0x68], 2
je 0x14014af01
lea rdx, [rdi + 0x60]
mov rax, qword [rdi + 0x48]
mov r8, qword [rdi + 0x50]
mov r9, qword [rdi + 0x58]
lea r15, [rsp + 0x2b0]
mov rcx, r15
call qword [rax]
mov bl, byte [rdi + 0x68]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movaps xmmword [rsp + 0x1b0], xmm1
movaps xmmword [rsp + 0x1a0], xmm0
mov eax, dword [r15 + 0x21]
mov dword [rsp + 0x3c], eax
mov eax, dword [r15 + 0x24]
mov dword [rsp + 0x3f], eax
xor eax, eax
test r14b, r14b
setne al
cmp r14b, 2
mov r14d, 2
cmovne r14d, eax
movaps xmm0, xmmword [rsp + 0x1a0]
movaps xmm1, xmmword [rsp + 0x1b0]
movups xmmword [rsp + 0x2c4], xmm1
movups xmmword [rsp + 0x2b4], xmm0
mov r15, qword [rdi + 0x158]
test r15, r15
je 0x14014af4d
lock inc qword [r15]
jle 0x14014b3a5
mov al, byte [rsp + 0x38]
mov byte [rsp + 0x32], al
movzx eax, word [rsp + 0x36]
mov word [rsp + 0x30], ax
movups xmm0, xmmword [rsp + 0x2b0]
movups xmm1, xmmword [rsp + 0x2c0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
mov eax, dword [rsp + 0x2d0]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x3f]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x47], ecx
lea rcx, [rsp + 0x1a5]
mov r8d, 0x100
mov rdx, rsi
call fcn.140230440
mov al, byte [0x140353270]
mov edx, 0xd68
xor ecx, ecx
call fcn.140190370
test rax, rax
je 0x14014b3a7
mov rdi, rax
movzx eax, byte [rsp + 0x2f]
shl eax, 0x10
movzx ecx, word [rsp + 0x34]
or rcx, rax
shl r12, 0x18
or r12, rcx
mov rax, qword [rsp + 0x68]
mov qword [rdi], rax
mov rax, qword [rsp + 0xa0]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rdi + 0x10], rax
mov al, byte [rsp + 0x25]
mov byte [rdi + 0x18], al
mov al, byte [rsp + 0x24]
mov byte [rdi + 0x19], al
mov al, byte [rsp + 0x23]
mov byte [rdi + 0x1a], al
mov al, byte [rsp + 0x22]
mov byte [rdi + 0x1b], al
mov byte [rdi + 0x1c], bpl
mov al, byte [rsp + 0x26]
mov byte [rdi + 0x1d], al
mov rax, qword [rsp + 0xf8]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0xf0]
mov qword [rdi + 0x28], rax
mov rax, qword [rsp + 0xc0]
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x38], rax
mov eax, dword [rsp + 0x4c]
mov dword [rdi + 0x40], eax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x44], xmm0
movups xmmword [rdi + 0x54], xmm1
mov eax, dword [rsp + 0x90]
mov dword [rdi + 0x64], eax
mov byte [rdi + 0x68], bl
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x47]
mov dword [rdi + 0x69], eax
mov dword [rdi + 0x6c], ecx
mov qword [rdi + 0x70], r13
mov al, byte [rsp + 0x29]
mov byte [rdi + 0x78], al
mov al, byte [rsp + 0x28]
mov byte [rdi + 0x79], al
mov al, byte [rsp + 0x27]
mov byte [rdi + 0x7a], al
mov rax, qword [rsp + 0x150]
mov qword [rdi + 0x80], rax
mov rax, qword [rsp + 0x148]
mov qword [rdi + 0x88], rax
mov byte [rax], al
add byte [rax], al
mov rax, qword [rsp + 0x140]
mov qword [rdi + 0x90], rax
mov rax, qword [rsp + 0x168]
mov qword [rdi + 0x98], rax
mov rax, qword [rsp + 0x160]
mov qword [rdi + 0xa0], rax
mov rax, qword [rsp + 0x158]
mov qword [rdi + 0xa8], rax
mov al, byte [rsp + 0x2b]
mov byte [rdi + 0xb0], al
mov rax, r12
shr rax, 0x30
mov byte [rdi + 0xb7], al
mov rax, r12
shr rax, 0x20
mov word [rdi + 0xb5], ax
add byte [rcx + rcx*4 - 0x59], al
mov cl, 0
add byte [rax], al
mov al, byte [rsp + 0x2d]
mov byte [rdi + 0xb8], al
mov al, byte [rsp + 0x2c]
mov byte [rdi + 0xb9], al
mov byte [rdi + 0xba], r14b
mov rax, qword [rsp + 0x118]
and al, 0x18
add dword [rax], eax
add byte [rax - 0x77], cl
xchg eax, eax
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rdx], ah
add dword [rax], eax
add byte [rax - 0x77], cl
xchg eax, ecx
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rcx], ah
add dword [rax], eax
add byte [rax - 0x77], cl
xchg eax, edx
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rax], ah
add dword [rax], eax
add byte [rax - 0x77], cl
xchg eax, ebx
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rbp], ah
add dword [rax], eax
add byte [rax - 0x77], cl
xchg eax, esp
add byte [rax], al
add byte [rbx - 0x76abdbbc], cl
xchg eax, ebp
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rsi], ah
add dword [rax], eax
add byte [rax - 0x77], cl
xchg eax, esi
add byte [rax], al
add byte [rbx - 0x76a7dbbc], cl
xchg eax, edi
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rdi], ah
add dword [rax], eax
add byte [rax - 0x77], cl
mov dword [rdi + 0x100], eax
mov rax, qword [rsp + 0x120]
mov qword [rdi + 0x108], rax
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x110], eax
mov eax, dword [rsp + 0x64]
mov dword [rdi + 0x114], eax
add dword [rax], eax
add byte [rbx - 0x769fdbbc], cl
xchg dword [rax], ebx
add dword [rax], eax
add byte [rbx - 0x76a3dbbc], cl
xchg dword [rcx + rax], ebx
add byte [rax], al
mov al, byte [rsp + 0x2a]
mov byte [rdi + 0x120], al
mov al, byte [rsp + 0x2e]
mov byte [rdi + 0x121], al
movzx eax, word [rsp + 0x3a]
mov word [rdi + 0x126], ax
mov eax, dword [rsp + 0x36]
mov dword [rdi + 0x122], eax
xchg dword [rdx], esp
add dword [rax], eax
add byte [rax - 0x75], cl
test byte [rax + rbx*8], ah
add byte [rax], al
add byte [rax - 0x77], cl
xchg dword [rax], ebp
add dword [rax], eax
add byte [rax - 0x75], cl
test byte [rax + rdx*8], ah
add byte [rax], al
add byte [rax - 0x77], cl
xchg dword [rax], esi
add dword [rax], eax
add byte [rax - 0x75], cl
test byte [rax + rcx*8], ah
add byte [rax], al
add byte [rax - 0x77], cl
xchg dword [rax], edi
add dword [rax], eax
add byte [rax - 0x75], cl
test byte [rax + rbp*4], ah
add byte [rax], al
add byte [rax - 0x77], cl
xchg dword [rax + 1], eax
add byte [rax], al
mov rax, qword [rsp + 0xe8]
mov qword [rdi + 0x148], rax
mov rax, qword [rsp + 0xe0]
mov qword [rdi + 0x150], rax
xchg dword [rax + 1], edx
add byte [rax], al
mov qword [rdi + 0x158], r15
add byte [rax], al
movzx eax, word [rsp + 0x30]
mov word [rdi + 0x160], ax
mov al, byte [rsp + 0x32]
mov byte [rdi + 0x162], al
lea rcx, [rdi + 0x163]
lea rdx, [rsp + 0x1a0]
mov r8d, 0x105
call fcn.140230440
movaps xmm0, xmmword [rsp + 0x170]
movaps xmm1, xmmword [rsp + 0x180]
movaps xmm2, xmmword [rsp + 0x190]
movups xmmword [rdi + 0x268], xmm0
movups xmmword [rdi + 0x278], xmm1
movups xmmword [rdi + 0x288], xmm2
mov rcx, rdi
add rcx, 0x298
lea rdx, [rsp + 0x2b0]
mov r8d, 0xac8
call fcn.140230440
mov byte [rdi + 0xd60], 0
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x3f]
mov dword [rdi + 0xd61], eax
mov dword [rdi + 0xd64], ecx
lea rbx, [0x140303b08]
lea rdx, [0x140305880]
mov rcx, rbx
call fcn.1400767ce
dec dword [rdi]
adc byte [0x140305880], al
jmp 0x14014ac83
ud2
mov ecx, 8
mov edx, 0xd68
call fcn.1402316b0
mov ecx, 8
mov edx, 0x98
add byte [rax], al
call fcn.1402316b0
mov ecx, 8
mov edx, 8
call fcn.1402316b0
int3