Function at 0x140005e30
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 [0x14002f010]
xor rax, rsp
mov qword [rbp + 0x380], rax
lea rcx, [0x14001e544]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea r14, [0x140031120]
xor esi, esi
lea r12, [0x140033388]
nop word [rax + rax]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140005f72
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.140002258
nop
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140005f30
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 0x140005f16
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 0x140005f00
mov r9, r14
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [0x140031108]
call fcn.140009a50
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140005f72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140005f6d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006069
call fcn.140019b0c
add r14, 0x18
cmp r14, r12
jne 0x140005e90
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 0x140006004
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x14000605f
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 0x140006070
mov eax, 1
jmp 0x14000641d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017d30
call fcn.140017bb0
lea r8, [0x1400215d0]
lea rdx, str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CertDllOpenStoreProv
call fcn.140006450
lea r8, str.Image_Path
lea rdx, str.SOFTWAREMicrosoftCryptographyDefaultsProvider
call fcn.140006450
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 0x14000610c
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 0x14000611c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14002f080], 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 0x1400061db
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 0x1400061db
cmp dword [rsp + 0x48], 4
jne 0x1400061ce
cmp dword [rsp + 0x40], 4
jne 0x1400061ce
mov eax, esi
cmp dword [rsp + 0x44], esi
sete al
mov dword [0x140031100], eax
jmp 0x1400061e5
mov eax, 1
mov dword [0x140031100], eax
jmp 0x1400061e5
mov dword [0x140031100], 1
cmp dword [0x140031080], 0
jne 0x14000639b
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 0x14000639b
lea r8, [0x14001e5a4]
mov edx, 0x400
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x14001e5a8]
cmp qword [0x140031068], 0
je 0x14000625c
lea r8, [0x140031058]
cmp qword [0x140031070], 0x10
cmovae r8, qword [0x140031058]
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 [0x1400310f8], rax
cmp rax, 0xffffffffffffffff
je 0x1400062d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400310f8], 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 [0x1400310f8], rax
cmp rax, 0xffffffffffffffff
je 0x14000639b
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x1400310e0], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400310e8], rax
cmp qword [0x1400310e0], 0
je 0x14000639b
test rax, rax
je 0x14000639b
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
lea r9, [0x14002f080]
lea r8, [0x140007ad0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400310f0], rax
test rax, rax
je 0x14000639b
mov dword [0x140031080], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.140006830
call fcn.140005a00
mov dword [0x14002f084], eax
call fcn.140006b50
test eax, eax
je 0x14000641b
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x140006416
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 0x140006416
test rax, rax
je 0x140006416
lea r9, [0x140031078]
lea r8, [0x14002f080]
lea rdx, [0x1400077d0]
xor ecx, ecx
mov rax, rdi
call qword [0x14001dec0]
mov esi, 1
mov eax, esi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140019ab0
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