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

Disassembly:
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140162170]
xor rax, rsp
mov qword [rbp + 0x360], rax
lea rcx, [0x140147640]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call fcn.1400e1550
xor edx, edx
mov dword [rsp + 0x60], 0x11c
mov r8d, 0x118
lea rcx, [rsp + 0x64]
xor edi, edi
call sub.VCRUNTIME140.dll_memset
mov r8b, 3
mov dword [rsp + 0x64], 6
lea edx, [rdi + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [rdi + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [rdi + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
lea edx, [rdi + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
lea edx, [rdi + 0x33]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jg 0x1400df806
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x1400dfc22
mov r8b, 1
mov dword [rsp + 0x60], 0x11c
mov edx, 2
mov dword [rsp + 0x64], 6
xor ecx, ecx
mov qword [rsp + 0x68], 1
mov qword [rbp + 0x74], rdi
mov dword [rsp + 0x70], edi
mov word [rsp + 0x74], di
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 1
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edx, 3
lea rcx, [rsp + 0x60]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jg 0x1400dfc22
lea r8, [0x14014a208]
mov qword [rsp + 0x490], rbx
lea rdx, str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CertDllOpenStoreProv
call fcn.1400dfc50
lea r8, str.Image_Path
lea rdx, str.SOFTWAREMicrosoftCryptographyDefaultsProvider
call fcn.1400dfc50
xor edx, edx
lea rcx, str.cryptnet.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, edi
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x48]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400df902
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov r9d, 4
mov dword [rsp + 0x44], 4
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x10]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400df912
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x50]
mov dword [0x140162220], ebx
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x50], rdi
lea rdx, str.SOFTWAREPoliciesZoomZoom_MeetingsGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400df9d1
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, str.Disable3rdModuleVerify
lea rax, [rsp + 0x44]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x28], rax
mov r9d, 0xffff
lea rax, [rsp + 0x48]
mov dword [rsp + 0x44], edi
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400df9d1
cmp dword [rsp + 0x48], 4
jne 0x1400df9c4
cmp dword [rsp + 0x40], 4
jne 0x1400df9c4
cmp dword [rsp + 0x44], edi
mov eax, edi
sete al
mov dword [0x140164280], eax
jmp 0x1400df9db
mov eax, 1
mov dword [0x140164280], eax
jmp 0x1400df9db
mov dword [0x140164280], 1
cmp dword [0x140164200], edi
jne 0x1400dfb96
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x60]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1400dfb96
lea r8, [0x14014a584]
mov edx, 0x400
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
cmp qword [0x1401641e8], rdi
lea r8, [0x14014a57c]
je 0x1400dfa53
cmp qword [0x1401641f0], 0x10
lea r8, [0x1401641d8]
cmovae r8, qword [0x1401641d8]
mov edx, 0x400
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, str._appsafecheck.txt
mov edx, 0x400
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x60]
mov edx, 0x10000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x140164278], rax
cmp rax, 0xffffffffffffffff
je 0x1400dfad4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140164278], 0xffffffffffffffff
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x60]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x140164278], rax
cmp rax, 0xffffffffffffffff
je 0x1400dfb96
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [0x140164260], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
cmp qword [0x140164260], rdi
mov qword [0x140164268], rax
je 0x1400dfb96
test rax, rax
je 0x1400dfb96
mov qword [rsp + 0x28], rdi
lea r9, [0x140162220]
lea r8, [0x1400e11d0]
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140164270], rax
test rax, rax
je 0x1400dfb96
mov rcx, rax
mov dword [0x140164200], 1
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.1400e0040
call fcn.1400df5e0
mov dword [0x140162224], eax
call fcn.1400e0320
test eax, eax
je 0x1400dfc16
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1400dfc11
lea rdx, str.LdrRegisterDllNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LdrUnregisterDllNotification
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rdi, rdi
je 0x1400dfc11
test rax, rax
je 0x1400dfc11
lea r9, [0x1401641f8]
xor ecx, ecx
lea r8, [0x140162220]
mov rax, rdi
lea rdx, [0x1400e0f20]
call qword [0x14013fad8]
mov edi, 1
mov rbx, qword [rsp + 0x490]
mov eax, edi
jmp 0x1400dfc27
mov eax, 1
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400f0460
mov rdi, qword [rsp + 0x498]
add rsp, 0x470
pop rbp
ret