joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032a88
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rbx, rcx
test rcx, rcx
je 0x140032b79
xor eax, eax
lock cmpxchg dword [0x1400bf9e4], esi
mov ecx, eax
jne 0x140032aff
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140032af2
lea rdx, str.RemoveDllDirectory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [rsi + 2]
test rax, rax
jne 0x140032af7
mov ecx, 1
mov eax, ecx
xchg dword [0x1400bf9e4], eax
cmp ecx, 1
jne 0x140032b66
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call main
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140032b79
cmp word [rsp + 0x20], si
je 0x140032b79
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov r9, rdx
mov r8, rbx
call fcn.14003116c
mov rdi, rax
test rax, rax
je 0x140032b79
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rdi
mov rbx, rax
call fcn.140031124
mov rax, rbx
jmp 0x140032b7b
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x140032b7b
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140032fd4
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x740]
sub rsp, 0x840
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x730], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call main
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400330be
mov ebx, 0x400
lea r8, [0x14009e290]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14005f080
lea r8, str.Zoom
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14005f080
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400322f8
test eax, eax
jne 0x14003307f
cmp dword [rsp + 0x20], eax
je 0x14003307f
lea rcx, [rsp + 0x30]
call fcn.140032108
test eax, eax
je 0x1400330be
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.installer.txt
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14005f080
mov ecx, 2
call fcn.14005ec50
mov r8, rax
lea rdx, [0x1400a3ec0]
lea rcx, [rsp + 0x30]
call fcn.140063b00
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.1400793d0
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rbp
ret
Function at 0x1400348d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rdi, [rcx + 0x778]
mov rbx, rcx
mov rcx, rdi
lea rdx, [0x1400a42ec]
call fcn.1400299a4
mov esi, 1
test al, al
je 0x14003490d
mov dword [rbx + 0x2318], esi
jmp 0x140034949
lea rdx, str.chrome
mov rcx, rdi
call fcn.1400299a4
test al, al
je 0x14003492c
mov dword [rbx + 0x2318], 2
jmp 0x140034949
lea rdx, [0x1400a4308]
mov rcx, rdi
call fcn.1400299a4
test al, al
je 0x140034949
mov dword [rbx + 0x2318], 3
lea rdi, [rbx + 0x998]
mov rcx, rdi
lea rdx, str.start
call fcn.1400299a4
test al, al
je 0x14003496b
mov dword [rbx + 0x231c], esi
jmp 0x140034988
lea rdx, str.join
mov rcx, rdi
call fcn.1400299a4
test al, al
je 0x140034988
mov dword [rbx + 0x231c], 2
lea rcx, [rbx + 0xaa8]
lea rdx, str.silent
call fcn.1400299a4
test al, al
je 0x1400349a5
mov dword [rbx + 0x2320], esi
lea rsi, [rbx + 0x118]
mov rcx, rsi
call fcn.140029764
test al, al
je 0x1400349c4
lea rdx, str.Zoom.msi
call fcn.1400297dc
lea rcx, [rbx + 0x338]
call fcn.140029764
test al, al
je 0x1400349e0
lea rdx, str.908F2965_E831_4F9C_AB57_3618FC81651E
call fcn.1400297dc
mov rcx, rbx
lea rdi, [rbx + 0x2338]
call fcn.1400348d0
mov rcx, rdi
cmp eax, 0x32
jne 0x140034a05
call fcn.140029f90
lea rdx, str.Airhost.CAB
jmp 0x140034a67
call fcn.140029f90
mov rdx, rsi
mov rcx, rdi
call fcn.14002991c
mov rcx, rdi
call fcn.1400295e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140034a6f
mov rcx, rdi
call fcn.140029f90
lea rdx, str.ZoomFull_Sip.CAB
mov rcx, rdi
call fcn.140029944
mov rcx, rdi
call fcn.1400295e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140034a6f
mov rcx, rdi
call fcn.140029f90
lea rdx, str.ZoomFull.CAB
mov rcx, rdi
call fcn.140029944
lea rcx, [rbx + 0x668]
call fcn.140029764
test al, al
jne 0x140034a87
mov rdx, rsi
call fcn.14002991c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140034a98
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x130]
mov rbx, rdx
call fcn.140029414
lea rcx, [rsp + 0x20]
call fcn.140029414
lea rcx, [rsp + 0x130]
call fcn.140029f90
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x130]
call fcn.140029944
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400297b0
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x20]
call fcn.140029944
lea rcx, [rsp + 0x20]
call fcn.1400295e0
lea rcx, [rsp + 0x130]
mov rdx, rax
call fcn.1400295e0
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x20]
call fcn.140029560
lea rcx, [rsp + 0x130]
call fcn.140029560
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x250
pop rbx
ret
Function at 0x140035618
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0xc30], rbx
je 0x140035668
cmp qword [rcx + 0xc38], rbx
je 0x140035668
lea eax, [rbx + 1]
jmp 0x140035865
test rsi, rsi
jne 0x140035674
xor eax, eax
jmp 0x140035865
mov r14d, 0x410
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x60]
call main
mov r8, rsi
mov esi, 0x104
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14003519c
lea r8, [0x14009e290]
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.140035208
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x1400356d2
lea rcx, str._CptShareAPIWrapper::Init__Failed_to_call_SetDllDirectory_to:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x3b0]
call main
lea r8, [rbp - 0x60]
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.14003519c
lea r8, [0x1400a4580]
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.140035208
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea r8, str.CptShare.dll
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140035208
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140056760
nop
mov rsi, qword [rsp + 0x58]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140035839
mov word [rsp + 0x4c], bx
mov word [rsp + 0x48], bx
mov word [rsp + 0x44], bx
mov word [rsp + 0x40], bx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp - 0x60]
call fcn.1400565c0
test al, al
je 0x140035850
mov r14d, 0x40
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x60]
call main
movzx eax, word [rsp + 0x40]
movzx ecx, word [rsp + 0x44]
movzx r8d, word [rsp + 0x48]
movzx r9d, word [rsp + 0x4c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._d._d._d._d
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140001368
lea rdx, str.5.17.11.34827
lea rcx, [rsp + 0x60]
call fcn.14005f110
mov ecx, ebx
test eax, eax
sete cl
mov dword [rdi + 0xc40], ecx
lea rcx, [rbp - 0x60]
call fcn.1400354a8
mov qword [rdi + 0xc30], rax
lea r14, [rdi + 0xc38]
mov qword [r14], rbx
test rax, rax
je 0x140035839
lea rdx, str.cpt_create_helper
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140035839
mov rcx, r14
call qword [case.0x14002b591.0]
cmp qword [rdi + 0xc30], rbx
je 0x140035850
cmp qword [rdi + 0xc38], rbx
je 0x140035850
mov ebx, 1
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140035863
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14003588c
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rdx
test rdx, rdx
je 0x14003594f
mov rcx, rdx
call fcn.14005e824
test rax, rax
je 0x14003594f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003594f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call main
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14009f26c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14003593e
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003594f
lea rbx, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140035954
mov eax, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x440
pop rbx
ret
Function at 0x140039854
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x218]
sub rsp, 0x310
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rcx
lea rdi, [rsp + 0x70]
xor eax, eax
lea edx, [rax + 0x68]
mov ecx, edx
rep stosb byte [rdi], al
mov dword [rsp + 0x70], edx
lea rcx, [rbp - 0x20]
call fcn.140029414
nop
lea rcx, [rbp + 0xf0]
call fcn.140029414
nop
lea rcx, [rbp - 0x20]
call fcn.140029f90
lea rdx, str.vcredist_x86.exe
lea rcx, [rbp - 0x20]
call fcn.140029944
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xf0]
call fcn.1400297b0
lea rdx, [0x1400a5030]
lea rcx, [rbp + 0xf0]
call fcn.140029944
lea rcx, [rbp + 0xf0]
call fcn.1400295e0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400295e0
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14003995c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x28a8], rax
mov ebx, 1
jmp 0x1400399aa
mov r9d, 0x7a0
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerInstallerManager.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str._CInstallerManager::LaunchVS2008RedInstaller__Failed_created_a_process:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, edi
call fcn.1400024b0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b5e4
nop
lea rcx, [rbp + 0xf0]
call fcn.140029560
nop
lea rcx, [rbp - 0x20]
call fcn.140029560
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140039aa0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x140039ab2
xor eax, eax
jmp 0x140039aeb
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140039ad9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str._CInstallerManager::IsAppRunning__Return_FALSE
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140039aae
lea rcx, str._CInstallerManager::IsAppRunning__Return_TRUE
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14003e130
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rax - 0x18], 0x208
lea rax, [rax + 8]
mov rdi, r9
mov qword [rsp + 0x20], rax
mov rsi, r8
mov r9d, 0x101
xor r8d, r8d
or ebx, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003e1aa
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, rdi
mov rax, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove ebx, dword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14003e228
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call main
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x14003e293
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400055a4
mov al, 1
jmp 0x14003e295
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400793d0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x14003f23c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x10], rdi
jne 0x14003f26e
xor al, al
jmp 0x14003f40a
cmp qword [rcx + 0x18], 8
jb 0x14003f278
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x14003f2cf
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000b3b8
nop
cmp qword [rbx + 0x18], 8
jb 0x14003f2a5
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Return_false_as_its_a_network_driver:
lea rcx, [0x1400be210]
call fcn.140009fb8
mov rcx, rax
mov rdx, rbx
call fcn.140009fb8
nop
lea rcx, [rbp - 0x30]
call fcn.14000b5e4
jmp 0x14003f267
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000930c
nop
lea rcx, [0x14009e290]
call fcn.14005e824
mov r8, rax
lea rdx, [0x14009e290]
lea rcx, [rbp - 0x28]
call fcn.14000568c
lea rcx, str.Zoom
call fcn.14005e824
mov r8, rax
lea rdx, str.Zoom
lea rcx, [rbp - 0x28]
call fcn.14000568c
lea rcx, [0x14009e290]
call fcn.14005e824
mov r8, rax
lea rdx, [0x14009e290]
lea rcx, [rbp - 0x28]
call fcn.14000568c
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003f365
test al, 0x10
je 0x14003f365
mov dil, 1
mov r9d, 0x225
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000b3b8
nop
cmp qword [rbx + 0x18], 8
jb 0x14003f388
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Has_Zoom:
lea rcx, [0x1400be210]
call fcn.140009fb8
mov rcx, rax
mov dl, dil
call fcn.140008560
mov rcx, rax
lea rdx, str._for_path:
call fcn.140009fb8
mov rcx, rax
mov rdx, rbx
call fcn.140009fb8
nop
lea rcx, [rbp - 0x30]
call fcn.14000b5e4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14003f407
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f402
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f426
call fcn.140028090
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400793d0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.14005e65c
int3
Function at 0x14003fe48
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.zoom.us_Installer_Mutex_1.0.0.0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14003fe93
test rbx, rbx
je 0x14003fea1
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003fe98
mov eax, 1
jmp 0x14003fea3
test rbx, rbx
je 0x14003fea1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140041688
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
and dword [rcx], 0
mov dword [rcx + 4], 1
lea rdi, [rcx + 8]
and qword [rdi], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbx], eax
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140041712
cmp eax, 0x80010106
je 0x140041712
mov r9d, 0x103
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14000b3b8
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, dword [rbx]
call fcn.14001f078
nop
lea rcx, [rsp + 0x40]
call fcn.14000b5e4
and dword [rbx + 4], 0
cmp dword [rbx + 4], 0
je 0x140041786
mov qword [rsp + 0x20], rdi
lea r9, [0x1400a7440]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400a7480]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x140041786
mov r9d, 0x114
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14000b3b8
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, edi
call fcn.14001f078
nop
lea rcx, [rsp + 0x40]
call fcn.14000b5e4
and dword [rbx + 4], 0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140046ad8
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call main
or rdi, 0xffffffffffffffff
test rbp, rbp
je 0x140046c2e
mov rcx, rbp
call fcn.14005e824
test rax, rax
je 0x140046c2e
lea r8, [0x1400a3b48]
mov rcx, rbp
call fcn.1400468c8
mov rsi, rax
test rax, rax
jne 0x140046b5a
lea ecx, [rdi + 0xf]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140046c1e
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140046c16
test byte [rsp + 0x20], 0x10
je 0x140046ba6
lea rdx, [0x1400a3b4c]
lea rcx, [rsp + 0x4c]
call fcn.1400608a0
test eax, eax
je 0x140046c00
lea rdx, [0x1400a242c]
lea rcx, [rsp + 0x4c]
call fcn.1400608a0
test eax, eax
je 0x140046c00
lea r8, [rsp + 0x4c]
mov rcx, rbp
call fcn.1400468c8
mov rbx, rax
test rax, rax
je 0x140046c00
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x140046be7
call fcn.140031e48
test eax, eax
jne 0x140046bdc
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.140046ad8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140046bf8
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x14002b591.0]
mov rcx, rbx
call fcn.140031124
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140046b75
mov rcx, rsi
call fcn.140031124
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x140046c3b
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140046c64
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x140046c85
lea ecx, [rdi + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140046cc1
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140046c96
mov eax, 1
jmp 0x140046cc1
mov rcx, rdi
call fcn.140031e48
test eax, eax
jne 0x140046cb1
lea rdx, [0x140031e90]
mov rcx, rdi
call fcn.140046ad8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140046d94
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x202
call main
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x100
call fcn.140046ccc
test eax, eax
je 0x140046e2c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140046e2c
mov rax, qword [0x1400bf9c8]
lea r9, [rsp + 0x38]
mov r8d, 1
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [case.0x14002b591.0]
test eax, eax
jne 0x140046e2c
mov rcx, qword [rsp + 0x38]
mov rax, qword [0x1400bf9b8]
cmp dword [rcx + 0x14], 2
sete bl
call qword [case.0x14002b591.0]
mov al, bl
jmp 0x140046e2e
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x260
pop rbx
ret

Function at 0x140047344
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400294bc
lea rdx, [0x14009e290]
lea rcx, [rsp + 0x20]
call fcn.140029944
mov rcx, rbx
call fcn.140029764
lea rcx, [rsp + 0x20]
test al, al
je 0x14004739f
lea rdx, str.Zoom.lnk
call fcn.140029944
jmp 0x1400473a7
mov rdx, rbx
call fcn.14002991c
lea rcx, [rsp + 0x20]
call fcn.1400295e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea rcx, [rsp + 0x20]
setne bl
call fcn.140029560
mov al, bl
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x140
pop rbx
ret

Function at 0x14004773c
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rcx
test rcx, rcx
je 0x140047805
call fcn.14005e824
test rax, rax
je 0x140047805
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140047805
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call main
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14009f26c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400477ef
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140047805
lea rbx, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
jmp 0x140047807
mov al, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x440
pop rbx
ret