Function at 0x485560
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 [0x5a205c]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
push edi
push 0x4e5eac
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call fcn.00487460
push 0x118
xor edi, edi
mov dword [esp + 0x1c], 0x11c
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00498440
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 0x485605
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x485a0c
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 0x485a0c
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x5b4260]
cmp eax, dword [esi + 4]
jle 0x4856b3
push 0x5b4260
call fcn.0049606a
add esp, 4
cmp dword [0x5b4260], 0xffffffff
jne 0x4856b3
call fcn.0048be70
push 0x4cd3d0
call fcn.00495c4f
add esp, 4
push 0x5b4260
call fcn.00496020
add esp, 4
mov eax, dword [0x5b425c]
cmp eax, dword [esi + 4]
jle 0x4856f5
push 0x5b425c
call fcn.0049606a
add esp, 4
cmp dword [0x5b425c], 0xffffffff
jne 0x4856f5
call fcn.0048bac0
push 0x4cd320
call fcn.00495c4f
add esp, 4
push 0x5b425c
call fcn.00496020
add esp, 4
push 0x4f3050
push str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CertDllOpenStoreProv
call fcn.00485a30
push str.Image_Path
push str.SOFTWAREMicrosoftCryptographyDefaultsProvider
call fcn.00485a30
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 0x48576a
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 0x485779
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 8]
mov dword [0x5a30e8], 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 0x485812
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 str.Disable3rdModuleVerify
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 0x485812
cmp dword [esp + 0x14], 4
jne 0x485806
cmp dword [esp + 0xc], 4
jne 0x485806
xor eax, eax
cmp dword [esp + 0x10], eax
sete al
mov dword [0x5a50e0], eax
jmp 0x48581c
mov eax, 1
mov dword [0x5a50e0], eax
jmp 0x48581c
mov dword [0x5a50e0], 1
cmp dword [0x5a509c], edi
jne 0x485989
push 0x400
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00498440
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 0x485989
push 0x4f017c
lea eax, [esp + 0x1c]
push 0x400
push eax
call fcn.004ab034
add esp, 0xc
mov eax, 0x4f0194
cmp dword [0x5a5090], edi
je 0x48588c
cmp dword [0x5a5094], 0x10
mov eax, 0x5a5080
cmovae eax, dword [0x5a5080]
push eax
lea eax, [esp + 0x1c]
push 0x400
push eax
call fcn.004ab034
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.004ab034
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 [0x5a50dc], eax
cmp eax, 0xffffffff
je 0x4858fb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5a50dc], 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 [0x5a50dc], eax
cmp eax, 0xffffffff
je 0x485989
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 [0x5a50d0], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5a50d4], eax
cmp dword [0x5a50d0], edi
je 0x485989
test eax, eax
je 0x485989
push 0
push 4
push 0x5a30e8
push 0x487210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5a50d8], eax
test eax, eax
je 0x485989
push eax
mov dword [0x5a509c], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00485d60
call fcn.004851f0
mov dword [0x5a30ec], eax
call fcn.004862d0
test eax, eax
je 0x4859f4
push 0x4f012c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4859ef
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 0x4859ef
test eax, eax
je 0x4859ef
push 0x5a5098
push 0x5a30e8
push 0x486ca0
push 0
mov ecx, edi
call dword [0x4ce460]
call edi
mov edi, 1
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004959d0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x41c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004959d0
mov esp, ebp
pop ebp
ret 4