Function at 0x14000baa0
Capabilities:
Check if file exists
Get file attributes
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rdx
mov qword [rbp - 1], r8
mov qword [rbp + 7], r9
xor r13d, r13d
mov rcx, r9
cmp qword [r9 + 0x18], 8
jb 0x14000baf3
mov rcx, qword [r9]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
mov qword [rbp - 0x49], rax
test rax, rax
jne 0x14000bc65
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000bb48
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x14000bb43
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1cb
mov rcx, r8
call fcn.1400c6a2c
mov word [rbx], r13w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14000bb97
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x14000bb92
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1d2
mov rcx, r8
call fcn.1400c6a2c
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000bbe6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000bbe1
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1d9
mov rcx, r8
call fcn.1400c6a2c
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000bc35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000bc30
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1e0
mov rcx, r8
call fcn.1400c6a2c
mov word [rdi], r13w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r13
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c69d0
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000bc72
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r15, rax
mov qword [rbp - 0x51], rax
test rax, rax
jne 0x14000bc92
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000bb09
lea rdx, str.NSS_Init
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e87d0], rax
lea rdx, str.NSS_Shutdown
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e87d8], rax
lea rdx, str.PK11_GetInternalKeySlot
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e8810], rax
lea rdx, str.PK11_FreeSlot
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e87f8], rax
lea rdx, str.PK11_CheckUserPassword
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e8800], rax
lea rdx, str.PK11_Authenticate
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e87f0], rax
lea rdx, str.PL_Base64Decode
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e8808], rax
lea rdx, str.PK11SDR_Decrypt
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e87e8], rax
lea rdx, str.SECITEM_ZfreeItem
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e87e0], rax
cmp qword [0x1400e87d0], 0
je 0x14000c1b4
cmp qword [0x1400e87d8], 0
je 0x14000c1b4
cmp qword [0x1400e8810], 0
je 0x14000c1b4
cmp qword [0x1400e87f8], 0
je 0x14000c1b4
cmp qword [0x1400e8800], 0
je 0x14000c1b4
cmp qword [0x1400e87f0], 0
je 0x14000c1b4
cmp qword [0x1400e8808], 0
je 0x14000c1b4
cmp qword [0x1400e87e8], 0
je 0x14000c1b4
test rax, rax
je 0x14000c1b4
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000bde7
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000bb09
lea rax, [rsp + 0x48]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rbp - 0x79], r13
mov rax, r14
mov qword [rsp + 0x40], rax
cmp qword [r14 + 0x18], 8
jb 0x14000be2f
mov rax, qword [r14]
mov qword [rsp + 0x40], rax
mov r12, qword [r14 + 0x10]
movabs r15, 0x7ffffffffffffffe
cmp r12, r15
ja 0x14000c1ed
movabs rdx, 0x7fffffffffffffff
mov ecx, 0xa
mov qword [rbp - 0x79], 7
cmp r12, 8
jae 0x14000be75
mov qword [rsp + 0x58], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
jmp 0x14000bf10
mov r13, r12
or r13, 7
cmp r13, r15
jbe 0x14000be8a
mov r13, r15
lea rcx, [rdx + rdx]
jmp 0x14000beaa
cmp r13, rcx
cmovb r13, rcx
lea rcx, [r13 + 1]
cmp rcx, rdx
ja 0x14000c1e7
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000bedc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c1e7
mov rcx, rax
call fcn.1400c69f0
mov rcx, rax
test rax, rax
je 0x14000bed5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000beea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000bee8
call fcn.1400c69f0
jmp 0x14000beea
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r12
mov qword [rbp - 0x79], r13
lea r8, [r12*2 + 2]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor r13d, r13d
mov rcx, qword [rbx + 0x10]
mov rax, r15
sub rax, rcx
cmp rax, 2
jb 0x14000c1f3
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000bf31
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
lea rax, [0x1400caad4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x31]
call fcn.140005e60
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], r13
mov r13, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000bf71
mov r13, qword [rbx]
mov r12, qword [rbx + 0x10]
cmp r12, r15
ja 0x14000c1f9
mov qword [rbp - 0x59], 7
cmp r12, 8
jae 0x14000bf9e
mov qword [rbp - 0x61], r12
movups xmm0, xmmword [r13]
movups xmmword [rbp - 0x71], xmm0
jmp 0x14000c04d
mov rax, r12
or rax, 7
cmp rax, r15
jbe 0x14000bfba
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000bfed
mov r15, rax
cmp rax, 0xa
mov eax, 0xa
cmovb r15, rax
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000c1ff
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000c01f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c1ff
mov rcx, rax
call fcn.1400c69f0
mov rcx, rax
test rax, rax
je 0x14000c018
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000c02d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000c02b
call fcn.1400c69f0
jmp 0x14000c02d
xor eax, eax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], r15
lea r8, [r12*2 + 2]
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x71]
call fcn.14000b650
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000c0b3
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c0ae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1cb
mov rcx, r8
call fcn.1400c6a2c
xor r15d, r15d
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14000c105
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c100
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1d2
mov rcx, r8
call fcn.1400c6a2c
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 7
mov word [r14], r15w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000c154
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c14f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1d9
mov rcx, r8
call fcn.1400c6a2c
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000c19f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000c19a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c1e0
mov rcx, r8
call fcn.1400c6a2c
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
jmp 0x14000bc45
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000bb09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001120
int3
call fcn.1400011c0
nop
call fcn.1400011c0
nop
call fcn.1400011c0
int3
call fcn.140001120
int3