Function at 0x140038620
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 [0x140076010]
xor rax, rsp
mov qword [rbp + 0x380], rax
lea rcx, [0x14004ecb0]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea r14, [0x140078150]
xor esi, esi
lea r12, [0x14007a3b8]
nop word [rax + rax]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140038762
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.14000d030
nop
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140038720
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 0x140038706
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 0x1400386f0
mov r9, r14
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [0x140078138]
call fcn.14003baf0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140038762
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14003875d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038859
call fcn.1400437d4
add r14, 0x18
cmp r14, r12
jne 0x140038680
mov dword [rbp - 0x80], 0x11c
xor edx, edx
mov r8d, pe_nt_image_headers64
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 0x1400387f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x14003884f
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 0x140038860
mov eax, 1
jmp 0x140038c0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003cb50
call fcn.14003c9d0
lea r8, [0x1400563e8]
lea rdx, str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CertDllOpenStoreProv
call fcn.140038c40
lea r8, str.Image_Path
lea rdx, str.SOFTWAREMicrosoftCryptographyDefaultsProvider
call fcn.140038c40
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 0x1400388fc
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 0x14003890c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1400760b0], 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 0x1400389cb
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 0x1400389cb
cmp dword [rsp + 0x48], 4
jne 0x1400389be
cmp dword [rsp + 0x40], 4
jne 0x1400389be
mov eax, esi
cmp dword [rsp + 0x44], esi
sete al
mov dword [0x140078130], eax
jmp 0x1400389d5
mov eax, 1
mov dword [0x140078130], eax
jmp 0x1400389d5
mov dword [0x140078130], 1
cmp dword [0x1400780b0], 0
jne 0x140038b8b
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 0x140038b8b
lea r8, [0x140056724]
mov edx, 0x400
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x1400566e8]
cmp qword [0x140078098], 0
je 0x140038a4c
lea r8, [0x140078088]
cmp qword [0x1400780a0], 0x10
cmovae r8, qword [0x140078088]
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 [0x140078128], rax
cmp rax, 0xffffffffffffffff
je 0x140038ac9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140078128], 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 [0x140078128], rax
cmp rax, 0xffffffffffffffff
je 0x140038b8b
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x140078110], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140078118], rax
cmp qword [0x140078110], 0
je 0x140038b8b
test rax, rax
je 0x140038b8b
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
lea r9, [0x1400760b0]
lea r8, [0x14003a4d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140078120], rax
test rax, rax
je 0x140038b8b
mov dword [0x1400780b0], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.140039020
call fcn.140038190
mov dword [0x1400760b4], eax
call fcn.140039340
test eax, eax
je 0x140038c0b
lea rcx, [0x14004e868]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x140038c06
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 0x140038c06
test rax, rax
je 0x140038c06
lea r9, [0x1400780a8]
lea r8, [0x1400760b0]
lea rdx, [0x14003a240]
xor ecx, ecx
mov rax, rdi
call qword [case.0x1400118dc.0]
mov esi, 1
mov eax, esi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140042f10
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