Function at 0x140036520
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 [0x140071010]
xor rax, rsp
mov qword [rbp + 0x380], rax
lea rcx, [0x14004bb30]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea r14, [0x140073150]
xor esi, esi
lea r12, [0x1400752f8]
nop word [rax + rax]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140036662
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.14000d110
nop
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140036620
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 0x140036606
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 0x1400365f0
mov r9, r14
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [0x140073138]
call fcn.1400397e0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140036662
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14003665d
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036759
call fcn.1400405c4
add r14, 0x18
cmp r14, r12
jne 0x140036580
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 0x1400366f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x14003674f
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 0x140036760
mov eax, 1
jmp 0x140036b03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r8, [0x140052b40]
lea rdx, str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CertDllOpenStoreProv
call fcn.140036b40
lea r8, str.Image_Path
lea rdx, str.SOFTWAREMicrosoftCryptographyDefaultsProvider
call fcn.140036b40
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 0x1400367f2
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 0x140036802
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1400710b0], 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 0x1400368c1
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 0x1400368c1
cmp dword [rsp + 0x48], 4
jne 0x1400368b4
cmp dword [rsp + 0x40], 4
jne 0x1400368b4
mov eax, esi
cmp dword [rsp + 0x44], esi
sete al
mov dword [0x140073130], eax
jmp 0x1400368cb
mov eax, 1
mov dword [0x140073130], eax
jmp 0x1400368cb
mov dword [0x140073130], 1
cmp dword [0x1400730b0], 0
jne 0x140036a81
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 0x140036a81
lea r8, [0x140052e34]
mov edx, 0x400
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x140052e2c]
cmp qword [0x140073098], 0
je 0x140036942
lea r8, [0x140073088]
cmp qword [0x1400730a0], 0x10
cmovae r8, qword [0x140073088]
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 [0x140073128], rax
cmp rax, 0xffffffffffffffff
je 0x1400369bf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140073128], 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 [0x140073128], rax
cmp rax, 0xffffffffffffffff
je 0x140036a81
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x140073110], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140073118], rax
cmp qword [0x140073110], 0
je 0x140036a81
test rax, rax
je 0x140036a81
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
lea r9, [0x1400710b0]
lea r8, [0x1400381f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140073120], rax
test rax, rax
je 0x140036a81
mov dword [0x1400730b0], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.140036f20
call fcn.140036090
mov dword [0x1400710b4], eax
call fcn.1400371c0
test eax, eax
je 0x140036b01
lea rcx, [0x14004b728]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x140036afc
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 0x140036afc
test rax, rax
je 0x140036afc
lea r9, [0x1400730a8]
lea r8, [0x1400710b0]
lea rdx, [0x140037f60]
xor ecx, ecx
mov rax, rdi
call qword [case.0x1400178c5.0]
mov esi, 1
mov eax, esi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14003fd00
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