joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034754
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 [0x1400c4a20]
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.140023644
nop
lea rcx, [rbp + 0xf0]
call fcn.140023644
nop
lea rcx, [rbp - 0x20]
call fcn.140024150
lea rdx, str.vcredist_x86.exe
lea rcx, [rbp - 0x20]
call fcn.140023b2c
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xf0]
call fcn.140023970
lea rdx, [0x1400acac0]
lea rcx, [rbp + 0xf0]
call fcn.140023b2c
lea rcx, [rbp + 0xf0]
call fcn.1400237a0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400237a0
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 0x14003485c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x28b8], rax
mov ebx, 1
jmp 0x1400348aa
mov r9d, 0x7f5
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerInstallerManager.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str._CInstallerManager::LaunchVS2008RedInstaller__Failed_created_a_process:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, edi
call fcn.1400024c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000b9c4
nop
lea rcx, [rbp + 0xf0]
call fcn.140023720
nop
lea rcx, [rbp - 0x20]
call fcn.140023720
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140080bf0
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 0x1400349f0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x140034a02
xor eax, eax
jmp 0x140034a3b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140034a29
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 0x1400349fe
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 0x140039614
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 0x14003968e
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 0x14003970c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400c4a20]
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 0x140039777
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000559c
mov al, 1
jmp 0x140039779
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x14003a708
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 [0x1400c4a20]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x10], rdi
jne 0x14003a73a
xor al, al
jmp 0x14003a8c7
cmp qword [rcx + 0x18], 8
jb 0x14003a744
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x14003a79b
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000b798
nop
cmp qword [rbx + 0x18], 8
jb 0x14003a771
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Return_false_as_its_a_network_driver:
lea rcx, [0x1400c7310]
call fcn.14000a398
mov rcx, rax
mov rdx, rbx
call fcn.14000a398
nop
lea rcx, [rbp - 0x30]
call fcn.14000b9c4
jmp 0x14003a733
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400096ec
nop
lea rbx, [0x1400a6488]
mov rcx, rbx
call fcn.140065fe4
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140005684
lea rcx, [0x1400a6f68]
call fcn.140065fe4
mov r8, rax
lea rdx, [0x1400a6f68]
lea rcx, [rbp - 0x28]
call fcn.140005684
mov rcx, rbx
call fcn.140065fe4
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140005684
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 0x14003a828
test al, 0x10
je 0x14003a828
mov dil, 1
mov r9d, 0x225
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000b798
nop
lea rdx, str.___HasZoomUnder__Has_Zoom:
lea rcx, [0x1400c7310]
call fcn.14000a398
mov rcx, rax
mov dl, dil
call fcn.140008924
mov rcx, rax
lea rdx, str._for_path:
call fcn.14000a398
mov rcx, rax
lea rdx, [0x1400adae0]
call fcn.14000a398
nop
lea rcx, [rbp - 0x30]
call fcn.14000b9c4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14003a8c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a8bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a8e3
call fcn.1400222c0
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.140065e1c
int3
Function at 0x14003b320
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 0x14003b36b
test rbx, rbx
je 0x14003b379
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003b370
mov eax, 1
jmp 0x14003b37b
test rbx, rbx
je 0x14003b379
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14003ca64
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 0x14003caee
cmp eax, 0x80010106
je 0x14003caee
mov r9d, 0x104
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14000b798
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, dword [rbx]
call fcn.140016ef0
nop
lea rcx, [rsp + 0x40]
call fcn.14000b9c4
and dword [rbx + 4], 0
cmp dword [rbx + 4], 0
je 0x14003cb62
mov qword [rsp + 0x20], rdi
lea r9, [0x1400af240]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400aec38]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x14003cb62
mov r9d, 0x115
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14000b798
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, edi
call fcn.140016ef0
nop
lea rcx, [rsp + 0x40]
call fcn.14000b9c4
and dword [rbx + 4], 0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140042c00
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 [0x1400c4a20]
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 0x140042d56
mov rcx, rbp
call fcn.140065fe4
test rax, rax
je 0x140042d56
lea r8, [0x1400ab594]
mov rcx, rbp
call fcn.1400429f0
mov rsi, rax
test rax, rax
jne 0x140042c82
lea ecx, [rdi + 0xf]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140042d46
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140042d3e
test byte [rsp + 0x20], 0x10
je 0x140042cce
lea rdx, [0x1400ab598]
lea rcx, [rsp + 0x4c]
call fcn.1400680d0
test eax, eax
je 0x140042d28
lea rdx, [0x1400ab59c]
lea rcx, [rsp + 0x4c]
call fcn.1400680d0
test eax, eax
je 0x140042d28
lea r8, [rsp + 0x4c]
mov rcx, rbp
call fcn.1400429f0
mov rbx, rax
test rax, rax
je 0x140042d28
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x140042d0f
call fcn.14002bef0
test eax, eax
jne 0x140042d04
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.140042c00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140042d20
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x140025751.0]
mov rcx, rbx
call fcn.14002b278
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140042c9d
mov rcx, rsi
call fcn.14002b278
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x140042d63
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140080bf0
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 0x140042d8c
Capabilities:
Check if file exists
Delete directory

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140042dab
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140042dc0
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call fcn.14002bef0
test eax, eax
jne 0x140042ddf
lea rdx, [fcn.14002bf30]
mov rcx, rbx
call fcn.140042c00
test eax, eax
je 0x140042de8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add rsp, 0x20
pop rbx
ret
Function at 0x140042eb8
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400c4a20]
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.140042df0
test eax, eax
je 0x140042f50
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140042f50
mov rax, qword [0x1400cbb20]
lea r9, [rsp + 0x38]
mov r8d, 1
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [case.0x140025751.0]
test eax, eax
jne 0x140042f50
mov rcx, qword [rsp + 0x38]
mov rax, qword [0x1400cbb10]
cmp dword [rcx + 0x14], 2
sete bl
call qword [case.0x140025751.0]
mov al, bl
jmp 0x140042f52
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140080bf0
add rsp, 0x260
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400236ec
lea rdx, [0x1400a6488]
lea rcx, [rsp + 0x20]
call fcn.140023b2c
mov rcx, rbx
call fcn.140023924
lea rcx, [rsp + 0x20]
test al, al
je 0x1400434c3
lea rdx, str.Zoom_Workplace.lnk
call fcn.140023b2c
jmp 0x1400434cb
mov rdx, rbx
call fcn.140023b04
lea rcx, [rsp + 0x20]
call fcn.1400237a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea rcx, [rsp + 0x20]
setne bl
call fcn.140023720
mov al, bl
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140080bf0
add rsp, 0x140
pop rbx
ret
Function at 0x140043860
Capabilities:
Copy file
Get file attributes
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor esi, esi
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400439e1
test rdx, rdx
je 0x1400439e1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400438bc
mov al, 1
jmp 0x1400439e3
mov r14d, 0x412
lea rcx, [rsp + 0x60]
mov r8d, r14d
xor edx, edx
call main
mov r8d, r14d
lea rcx, [rbp + 0x380]
xor edx, edx
call main
mov r8, rdi
lea rcx, [rsp + 0x60]
mov edx, 0x208
call fcn.140066840
mov rcx, rdi
call fcn.140065fe4
cdqe
lea rcx, [rax + rax]
cmp rcx, r14
jae 0x140043a0a
lea rax, [rax*2 + 2]
mov word [rsp + rcx + 0x60], si
cmp rax, r14
jae 0x140043a0a
mov r8, rbx
mov word [rsp + rax + 0x60], si
mov edx, 0x208
lea rcx, [rbp + 0x380]
call fcn.140066840
mov rcx, rbx
call fcn.140065fe4
cdqe
lea rcx, [rax + rax]
cmp rcx, r14
jae 0x140043a0a
lea rax, [rax*2 + 2]
mov word [rbp + rcx + 0x380], si
cmp rax, r14
jae 0x140043a0a
mov word [rbp + rax + 0x380], si
lea rcx, [rsp + 0x20]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x380]
mov qword [rsp + 0x38], rax
lea eax, [r14 + 2]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], 4
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [rsp + 0x44], esi
jne 0x1400439e1
test eax, eax
jne 0x1400439e1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1400439e1
mov rcx, rdi
call fcn.140042d8c
jmp 0x1400438b5
xor al, al
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140080bf0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140080fe4
int3
Function at 0x140043a10
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
test rcx, rcx
je 0x140043b2c
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140043b2c
lea r9, [rbp + 0x28]
mov word [rbp + 0x20], di
lea r8d, [rdi + 2]
mov dword [rbp + 0x28], edi
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140043b23
cmp dword [rbp + 0x28], 2
jne 0x140043b23
mov eax, 0x5a4d
cmp word [rbp + 0x20], ax
jne 0x140043b23
xor r9d, r9d
lea edx, [rdi + 0x3c]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp + 0x28]
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 2]
mov rcx, rbx
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140043b23
cmp dword [rbp + 0x28], 2
jne 0x140043b23
movzx edx, word [rbp + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp + 0x28]
mov dword [rbp + 0x30], edi
lea r8d, [rdi + 4]
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140043b23
cmp dword [rbp + 0x28], 4
jne 0x140043b23
cmp dword [rbp + 0x30], 0x4550
jne 0x140043b23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rdi + 1]
jmp 0x140043b2e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x140049850
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rcx
cmp dword [rcx + 0x448], 0
jne 0x1400498e6
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x1400a74e4]
lea rcx, [rbp + 0x40]
call fcn.140023694
nop
mov r8d, ebx
lea rdx, str.Operation_type_cannot_be_NONE
lea rcx, [rsp + 0x30]
call fcn.140023694
nop
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
lea edx, [rbx + 0xd]
mov ecx, 0x2712
call fcn.140041f8c
nop
lea rcx, [rsp + 0x30]
call fcn.140023720
nop
lea rcx, [rbp + 0x40]
jmp 0x140049a43
add rcx, 0x118
call fcn.140023924
test al, al
jne 0x1400499e9
lea rcx, [rbx + 8]
call fcn.140023924
test al, al
jne 0x1400499e9
lea rdx, [rbx + 0x228]
lea rcx, [rbp + 0x150]
call fcn.1400236ec
nop
lea rdx, [rbx + 8]
lea rcx, [rbp + 0x150]
call fcn.140023b04
mov ecx, dword [rbx + 0x448]
sub ecx, 1
jne 0x1400499e0
lea rcx, [rbp + 0x150]
call fcn.1400237a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400499e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400499e0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x140025751.0]
test al, al
jne 0x1400499e0
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x1400a74e4]
lea rcx, [rsp + 0x30]
call fcn.140023694
nop
mov r8d, ebx
lea rdx, str.DeleteFile_Failed
lea rcx, [rbp + 0x40]
call fcn.140023694
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x40]
lea edx, [rbx + 0xd]
mov ecx, 0x2717
call fcn.140041f8c
nop
lea rcx, [rbp + 0x40]
call fcn.140023720
nop
lea rcx, [rsp + 0x30]
call fcn.140023720
nop
lea rcx, [rbp + 0x150]
jmp 0x140049a43
or ebx, 0xffffffff
mov r8d, ebx
lea rdx, [0x1400a74e4]
lea rcx, [rsp + 0x30]
call fcn.140023694
nop
mov r8d, ebx
lea rdx, str.File_ops_src_and_name_cannot_be_empty
lea rcx, [rbp + 0x40]
call fcn.140023694
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x40]
lea edx, [rbx + 0xd]
mov ecx, 0x2712
call fcn.140041f8c
nop
lea rcx, [rbp + 0x40]
call fcn.140023720
nop
lea rcx, [rsp + 0x30]
call fcn.140023720
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140080bf0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14004a808
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r14, r8
mov rbx, rcx
xor dil, dil
mov rdx, qword [rcx]
add rdx, 0x118
lea rcx, [rbp + 0x150]
call fcn.1400236ec
nop
mov rdx, qword [rbx]
add rdx, 8
lea rcx, [rbp + 0x150]
call fcn.140023b04
lea rcx, [rbp + 0x150]
call fcn.1400237a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or r8d, 0xffffffff
lea rcx, [rsp + 0x30]
cmp eax, 0xffffffff
jne 0x14004a8e9
lea rdx, [0x1400a74e4]
call fcn.140023694
nop
or r8d, 0xffffffff
lea rdx, str.FileOpType_Unzip__Failed_to_pass_security_check__File_not_exist
lea rcx, [rbp + 0x40]
call fcn.140023694
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x40]
mov edx, 6
mov ecx, 0x2713
call fcn.140041f8c
nop
lea rcx, [rbp + 0x40]
call fcn.140023720
nop
lea rcx, [rsp + 0x30]
call fcn.140023720
jmp 0x14004a97c
mov rdx, r14
call fcn.140023694
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x150]
call fcn.14004a9b0
mov bl, al
lea rcx, [rsp + 0x30]
call fcn.140023720
test bl, bl
jne 0x14004a979
or r8d, 0xffffffff
lea rdx, [0x1400a74e4]
lea rcx, [rbp + 0x40]
call fcn.140023694
nop
or r8d, 0xffffffff
lea rdx, str.FileOpType_Unzip__Failed_to_pass_security_check
lea rcx, [rsp + 0x30]
call fcn.140023694
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov edx, 6
mov ecx, 0x2713
call fcn.140041f8c
nop
lea rcx, [rsp + 0x30]
call fcn.140023720
nop
lea rcx, [rbp + 0x40]
jmp 0x14004a8df
mov dil, 1
lea rcx, [rbp + 0x150]
call fcn.140023720
mov al, dil
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x398]
add rsp, 0x370
pop r14
pop rdi
pop rbp
ret
Function at 0x14004d128
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.140081b30
sub rsp, rax
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov rdi, rcx
call fcn.140023930
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x14004d1db
mov r9d, 0x1bb
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
lea edx, [rax + 1]
lea rcx, [rsp + 0x28]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._FindRunningInstance__failed_to_enum_processes__error_code:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x28]
call fcn.14000b9c4
xor eax, eax
jmp 0x14004d338
mov esi, dword [rsp + 0x20]
shr esi, 2
xor r15d, r15d
test esi, esi
je 0x14004d32a
lea r12, [rsp + 0x30]
mov r8d, dword [r12]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x14004d2de
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0xf30], xmm0
mov ebx, dword [0x1400b3150]
mov dword [rbp + 0xf40], ebx
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0xf44]
call main
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0x1140], xmm0
mov dword [rbp + 0x1150], ebx
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x1154]
call main
lea r9, [rsp + 0x20]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x14004d2b8
mov r9d, 0x104
lea r8, [rbp + 0xf30]
mov rdx, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov r9d, 0x104
lea r8, [rbp + 0x1140]
mov rdx, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 8
lea rdx, [rbp + 0xf30]
lea rcx, str.Zoom.exe
call fcn.14006b420
test eax, eax
je 0x14004d2ef
inc r15d
add r12, 4
cmp r15d, esi
jae 0x14004d32a
jmp 0x14004d1f2
lea rdx, [rbp + 0x1140]
mov rcx, rdi
call fcn.14002399c
mov edx, 0x5c
mov rcx, rdi
call fcn.140023df8
cmp eax, 0xffffffff
jne 0x14004d320
lea edx, [rax + 0x30]
mov rcx, rdi
call fcn.140023df8
cmp eax, 0xffffffff
je 0x14004d32a
mov edx, eax
mov rcx, rdi
call fcn.140023ba0
mov rcx, rdi
call fcn.140023924
movzx eax, al
xor eax, 1
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140080bf0
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret