Function at 0x140005de0
Capabilities:
Create directory
Create thread
Get common file path
Query or enumerate registry value
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rbp + 0x380], rax
lea rcx, [0x140021664]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea r14, [0x140035120]
xor esi, esi
lea r12, [0x140037730]
nop word [rax + rax]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140005f22
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
lea rcx, [rsp + 0x60]
call fcn.140002268
nop
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140005ee0
lea rdi, [rsp + 0x60]
mov rdx, qword [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdi, rdx
lea rax, [rsp + 0x60]
cmovae rax, rdx
lea r15, [rax + r8*2]
lea rbx, [rsp + 0x60]
cmovae rbx, rdx
cmp rbx, r15
je 0x140005ec6
sub rdi, rbx
nop dword [rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x140005eb0
mov r9, r14
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [0x140035108]
call fcn.1400098b0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140005f22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140005f1d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006019
call fcn.14001c23c
add r14, 0x18
cmp r14, r12
jne 0x140005e40
mov dword [rbp - 0x80], 0x11c
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x7c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x7c], 6
mov r8b, 3
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 0x33
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jg 0x140005fb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x14000600f
mov dword [rbp - 0x80], 0x11c
mov dword [rbp - 0x7c], 6
mov qword [rbp - 0x78], 1
mov qword [rbp + 0x94], rsi
mov dword [rbp - 0x70], esi
mov word [rbp - 0x6c], si
mov r8b, 1
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 1
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 3
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jle 0x140006020
mov eax, 1
jmp 0x1400063cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400185e0
call fcn.140018460
lea r8, [0x140024b18]
lea rdx, str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CertDllOpenStoreProv
call fcn.140006400
lea r8, str.Image_Path
lea rdx, str.SOFTWAREMicrosoftCryptographyDefaultsProvider
call fcn.140006400
xor edx, edx
mov r8d, 0x800
lea rcx, str.cryptnet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, esi
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x48]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400060bc
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x40]
lea edx, [r9 + 0x10]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400060cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1400330a0], ebx
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesZoomZoom_MeetingsGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000618b
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
lea r8, str.Disable3rdModuleVerify
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000618b
cmp dword [rsp + 0x48], 4
jne 0x14000617e
cmp dword [rsp + 0x40], 4
jne 0x14000617e
mov eax, esi
cmp dword [rsp + 0x44], esi
sete al
mov dword [0x140035100], eax
jmp 0x140006195
mov eax, 1
mov dword [0x140035100], eax
jmp 0x140006195
mov dword [0x140035100], 1
cmp dword [0x140035080], 0
jne 0x14000634b
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x14000634b
lea r8, [0x1400216c4]
mov edx, 0x400
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x1400216c8]
cmp qword [0x140035068], 0
je 0x14000620c
lea r8, [0x140035058]
cmp qword [0x140035070], 0x10
cmovae r8, qword [0x140035058]
mov edx, 0x400
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, str._appsafecheck.txt
mov edx, 0x400
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x10000000
lea r8d, [r9 + 3]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1400350f8], rax
cmp rax, 0xffffffffffffffff
je 0x140006289
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400350f8], 0xffffffffffffffff
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1400350f8], rax
cmp rax, 0xffffffffffffffff
je 0x14000634b
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x1400350e0], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400350e8], rax
cmp qword [0x1400350e0], 0
je 0x14000634b
test rax, rax
je 0x14000634b
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
lea r9, [0x1400330a0]
lea r8, [0x140007930]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400350f0], rax
test rax, rax
je 0x14000634b
mov dword [0x140035080], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.1400067e0
call fcn.140005a10
mov dword [0x1400330a4], eax
call fcn.140006b00
test eax, eax
je 0x1400063cb
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1400063c6
lea rdx, str.LdrRegisterDllNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.LdrUnregisterDllNotification
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rdi, rdi
je 0x1400063c6
test rax, rax
je 0x1400063c6
lea r9, [0x140035078]
lea r8, [0x1400330a0]
lea rdx, [0x140007630]
xor ecx, ecx
mov rax, rdi
call qword [0x140020f60]
mov esi, 1
mov eax, esi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14001c1e0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret