Function at 0x140066f40
Capabilities:
Check os version
Create directory
Delete file
Get common file path
Read .ini file

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x140162170]
xor rax, rsp
mov qword [rbp + 0x450], rax
xor r9d, r9d
lea rdx, [rbp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140066ffe
lea r8, str.ZoomdataZoom.us.ini
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
test eax, eax
jne 0x140066ffe
lea rax, [rbp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], 8
lea rdx, str.com.zoom.test.disable_crash_handler
lea rcx, str.ZoomChat
movups xmmword [rbp + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x140066ffe
lea rdx, [0x1401466c0]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140066ffe
mov eax, 0x8f
jmp 0x140067183
xor r9d, r9d
lea rdx, [rbp + 0x240]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14006717e
lea r8, [0x140146620]
mov edx, 0x104
lea rcx, [rbp + 0x240]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.logs
mov edx, 0x104
lea rcx, [rbp + 0x240]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor edx, edx
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x30]
xor r8d, r8d
lea rdx, str.zoomtest
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14006717e
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x580], rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 0xb8
lea rcx, [rsp + 0x30]
mov r8d, ebx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x240]
mov word [rsp + 0x30], bx
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x34]
lea rax, str.aomhost.Zoom.us
xor ebx, ebx
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, str.Zoom.us_Video_Meeting_0.9.2_Error_Report
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rax
mov r8d, 0x110
lea rax, str.support_zoom.us
mov qword [rsp + 0x48], rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x30]
mov dword [rbp + 0x30], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp + 0x34], 6
mov eax, 5
mov rdx, qword [0x140168f80]
mov ecx, 0x1a25
cmovae eax, ecx
mov qword [rsp + 0x68], rbx
or dword [rbp - 0x7c], 0x1807fff
mov dword [rbp - 0x68], eax
lea rax, str.https:__zoom.us_privacy_
mov qword [rbp - 0x78], rax
lea eax, [rbx - 1]
mov rbx, qword [rsp + 0x580]
mov dword [rsp + 0x70], 3
mov dword [rsp + 0x74], 2
mov dword [rsp + 0x78], 1
test rdx, rdx
je 0x140067183
lea rcx, [rsp + 0x30]
mov rax, rdx
call qword [0x14013fad8]
jmp 0x140067183
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1400f0460
add rsp, 0x560
pop rbp
ret