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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
mov eax, dword [0x58005c]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
push edi
push 0x4cb568
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call fcn.004714b0
push 0x118
xor edi, edi
mov dword [esp + 0x1c], 0x11c
lea eax, [esp + 0x20]
push edi
push eax
call fcn.004821f0
add esp, 0xc
mov dword [esp + 0x1c], 6
push 3
push 2
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 0x20
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 0x10
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 0x33
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jg 0x46f655
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x46fa5c
xor eax, eax
mov dword [esp + 0x18], 0x11c
push 1
push 2
push eax
push eax
mov dword [esp + 0x2c], 6
mov dword [esp + 0x30], 1
mov dword [esp + 0x13c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x140], eax
mov word [esp + 0x3c], ax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 1
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 3
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jg 0x46fa5c
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x5919b4]
cmp eax, dword [esi + 4]
jle 0x46f703
push 0x5919b4
call fcn.0047fefa
add esp, 4
cmp dword [0x5919b4], 0xffffffff
jne 0x46f703
call fcn.004761d0
push 0x4b3830
call fcn.0047fadf
add esp, 4
push 0x5919b4
call fcn.0047feb0
add esp, 4
mov eax, dword [0x5919b0]
cmp eax, dword [esi + 4]
jle 0x46f745
push 0x5919b0
call fcn.0047fefa
add esp, 4
cmp dword [0x5919b0], 0xffffffff
jne 0x46f745
call fcn.00475e20
push 0x4b3780
call fcn.0047fadf
add esp, 4
push 0x5919b0
call fcn.0047feb0
add esp, 4
push 0x4d7038
push str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CertDllOpenStoreProv
call fcn.0046fa80
push str.Image_Path
push str.SOFTWAREMicrosoftCryptographyDefaultsProvider
call fcn.0046fa80
push 0x800
push 0
push str.cryptnet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea eax, [esp + 8]
xor esi, esi
push eax
push 8
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x46f7ba
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
push 4
lea eax, [esp + 0x14]
push eax
push 0x14
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [esp + 0xc]
mov eax, dword [esp + 8]
test eax, eax
je 0x46f7c9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 8]
mov dword [0x581098], esi
push eax
push 0x20019
push 0
push str.SOFTWAREPoliciesZoomZoom_MeetingsGeneral
push 0x80000002
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46f862
lea eax, [esp + 0xc]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 4
push eax
push 0xffff
push 0x4d719c
push 0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x46f862
cmp dword [esp + 0x14], 4
jne 0x46f856
cmp dword [esp + 0xc], 4
jne 0x46f856
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
mov dword [0x5830a8], eax
jmp 0x46f86c
mov eax, 1
mov dword [0x5830a8], eax
jmp 0x46f86c
mov dword [0x5830a8], 1
cmp dword [0x583064], edi
jne 0x46f9d9
push 0x400
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004821f0
add esp, 0xc
lea eax, [esp + 0x18]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x46f9d9
push 0x4d73ac
lea eax, [esp + 0x1c]
push 0x400
push eax
call fcn.00494076
add esp, 0xc
mov eax, 0x4d73a4
cmp dword [0x583058], edi
je 0x46f8dc
cmp dword [0x58305c], 0x10
mov eax, 0x583048
cmovae eax, dword [0x583048]
push eax
lea eax, [esp + 0x1c]
push 0x400
push eax
call fcn.00494076
add esp, 0xc
lea eax, [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str._appsafecheck.txt
lea eax, [esp + 0x1c]
push 0x400
push eax
call fcn.00494076
add esp, 0xc
lea eax, [esp + 0x18]
push 0
push 0x80
push 2
push 0
push 3
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x5830a4], eax
cmp eax, 0xffffffff
je 0x46f94b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5830a4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x5830a4], eax
cmp eax, 0xffffffff
je 0x46f9d9
push 0
push 0x7fffffff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0
push 1
push 0
mov dword [0x583098], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x58309c], eax
cmp dword [0x583098], edi
je 0x46f9d9
test eax, eax
je 0x46f9d9
push 0
push 4
push 0x581098
push 0x471260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5830a0], eax
test eax, eax
je 0x46f9d9
push eax
mov dword [0x583064], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.0046fdb0
call fcn.0046f1f0
mov dword [0x58109c], eax
call fcn.00470320
test eax, eax
je 0x46fa44
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x46fa3f
push str.LdrRegisterDllNotification
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LdrUnregisterDllNotification
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x46fa3f
test eax, eax
je 0x46fa3f
push 0x583060
push 0x581098
push 0x470cf0
push 0
mov ecx, edi
call dword [0x4b4460]
call edi
mov edi, 1
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0047f860
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x41c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0047f860
mov esp, ebp
pop ebp
ret 4