joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034c0c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
jne 0x140034c24
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140034c40
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140034c40
mov edx, 0x410
mov ecx, 1
and eax, edx
cmp eax, edx
cmove ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140034d30
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1400b7a38]
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 fcn.14007c680
or r15, 0xffffffffffffffff
mov rdi, r15
test rbp, rbp
je 0x140034e92
mov rcx, rbp
call fcn.1400583bc
test rax, rax
je 0x140034e92
mov r9, r15
lea r8, [0x14009fe60]
mov rdx, r15
mov rcx, rbp
call fcn.140033f30
mov rsi, rax
test rax, rax
jne 0x140034db9
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140034e82
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, r15
je 0x140034e7a
test byte [rsp + 0x20], 0x10
je 0x140034e04
lea rdx, [0x14009fe64]
lea rcx, [rsp + 0x4c]
call fcn.1400580fc
test eax, eax
je 0x140034e64
lea rdx, [0x14009e73c]
lea rcx, [rsp + 0x4c]
call fcn.1400580fc
test eax, eax
je 0x140034e64
mov r9, r15
lea r8, [rsp + 0x4c]
mov rdx, r15
mov rcx, rbp
call fcn.140033f30
mov rbx, rax
test rax, rax
je 0x140034e64
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x140034e4b
call fcn.140034c0c
test eax, eax
jne 0x140034e40
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.140034d30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140034e5c
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x14002e391.0]
mov rcx, rbx
call fcn.1400044d8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140034dd3
mov rcx, rsi
call fcn.1400044d8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x140034e9f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140034ec8
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 0x140034ee9
lea ecx, [rdi + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140034f25
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140034efa
mov eax, 1
jmp 0x140034f25
mov rcx, rdi
call fcn.140034c0c
test eax, eax
jne 0x140034f15
lea rdx, [0x140034c50]
mov rcx, rdi
call fcn.140034d30
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 0x140034f30
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edi, 0x400
lea rcx, [rsp + 0x40]
mov r8d, edi
xor edx, edx
call fcn.14007c680
xor ebx, ebx
cmp dword [0x1400bb9b0], ebx
je 0x140034f78
mov eax, dword [0x1400b7cec]
jmp 0x140035033
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x14003500c
lea r8, [0x14009a058]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14005896c
lea r8, [0x14009a070]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14005896c
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, str._appsafecheck.txt
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14005896c
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x40]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1400b7d08], rax
call fcn.140034b9c
mov edi, 1
test eax, eax
je 0x140035025
call fcn.140034a20
test eax, eax
je 0x140035025
mov ebx, edi
mov dword [0x1400b7cec], ebx
mov eax, ebx
mov dword [0x1400bb9b0], edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret

Function at 0x140035054
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x1400350ae
mov rcx, qword [0x1400b7d08]
cmp rcx, 0xffffffffffffffff
je 0x1400350ae
and dword [rsp + 0x40], 0
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rbx
call fcn.1400583bc
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, qword [0x1400b7d08]
mov rdx, rbx
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400350b0
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400350b8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rdx
mov rsi, rcx
or r13, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x250
mov r14, r13
call fcn.14007c680
xor ebp, ebp
and dword [rsp + 0x20], ebp
test rsi, rsi
je 0x140035252
mov rcx, rsi
call fcn.1400583bc
test rax, rax
je 0x140035252
test rbx, rbx
je 0x140035252
and dword [rbx], ebp
call fcn.140034ad8
test eax, eax
jne 0x140035245
call fcn.140034f30
test eax, eax
je 0x140035245
mov rcx, rsi
call fcn.140034c0c
test eax, eax
je 0x14003516f
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14003556c
test eax, eax
jne 0x14003516f
mov dword [rbx], 1
jmp 0x140035245
mov r9, r13
lea r8, [0x14009fe60]
mov rdx, r13
mov rcx, rsi
call fcn.140033f30
mov r15, rax
test rax, rax
jne 0x140035195
lea eax, [r15 + 0xe]
jmp 0x140035257
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, r13
jne 0x1400351b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x14003523d
test byte [rsp + 0x30], 0x10
je 0x140035221
lea rdx, [0x14009fe64]
lea rcx, [rsp + 0x5c]
call fcn.1400580fc
test eax, eax
je 0x140035221
lea rdx, [0x14009e73c]
lea rcx, [rsp + 0x5c]
call fcn.1400580fc
test eax, eax
je 0x140035221
mov r9, r13
lea r8, [rsp + 0x5c]
mov rdx, r13
mov rcx, rsi
call fcn.140033f30
mov rdi, rax
test rax, rax
je 0x140035221
mov rdx, rbx
mov rcx, rax
call fcn.1400350b8
mov ebp, eax
test eax, eax
jne 0x140035219
cmp dword [rbx], eax
jne 0x140035235
mov rcx, rdi
call fcn.1400044d8
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14003523d
jmp 0x1400351b8
mov rcx, rdi
call fcn.1400044d8
mov rcx, r15
call fcn.1400044d8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
jmp 0x140035257
mov eax, 0x57
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140077b20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140035848
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rdi, rcx
test rcx, rcx
je 0x1400358ee
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400358e9
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14007c680
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400358ee
cmp word [rsp + 0x20], si
je 0x1400358ee
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov r9, rdx
mov r8, rdi
call fcn.140033f30
mov rdi, rax
test rax, rax
je 0x1400358ee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rdi
mov rbx, rax
call fcn.1400044d8
mov rax, rbx
jmp 0x1400358f0
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140077b20
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140035d48
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 [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x730], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call fcn.14007c680
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 0x140035e32
mov ebx, 0x400
lea r8, [0x14009a660]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14005ddf0
lea r8, str.Zoom
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14005ddf0
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400350b8
test eax, eax
jne 0x140035df3
cmp dword [rsp + 0x20], eax
je 0x140035df3
lea rcx, [rsp + 0x30]
call fcn.140034ec8
test eax, eax
je 0x140035e32
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.14005ddf0
mov ecx, 2
call fcn.14005d9c0
mov r8, rax
lea rdx, [0x1400a01b0]
lea rcx, [rsp + 0x30]
call fcn.140062454
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rbp
ret
Function at 0x1400376d0
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, [0x1400a05d4]
call fcn.14002c794
mov esi, 1
test al, al
je 0x140037709
mov dword [rbx + 0x2318], esi
jmp 0x140037745
lea rdx, str.chrome
mov rcx, rdi
call fcn.14002c794
test al, al
je 0x140037728
mov dword [rbx + 0x2318], 2
jmp 0x140037745
lea rdx, [0x1400a05f0]
mov rcx, rdi
call fcn.14002c794
test al, al
je 0x140037745
mov dword [rbx + 0x2318], 3
lea rdi, [rbx + 0x998]
mov rcx, rdi
lea rdx, str.start
call fcn.14002c794
test al, al
je 0x140037767
mov dword [rbx + 0x231c], esi
jmp 0x140037784
lea rdx, str.join
mov rcx, rdi
call fcn.14002c794
test al, al
je 0x140037784
mov dword [rbx + 0x231c], 2
lea rcx, [rbx + 0xaa8]
lea rdx, str.silent
call fcn.14002c794
test al, al
je 0x1400377a1
mov dword [rbx + 0x2320], esi
lea rsi, [rbx + 0x118]
mov rcx, rsi
call fcn.14002c554
test al, al
je 0x1400377c0
lea rdx, str.Zoom.msi
call fcn.14002c5cc
lea rcx, [rbx + 0x338]
call fcn.14002c554
test al, al
je 0x1400377dc
lea rdx, str.908F2965_E831_4F9C_AB57_3618FC81651E
call fcn.14002c5cc
mov rcx, rbx
lea rdi, [rbx + 0x2338]
call fcn.1400376cc
mov rcx, rdi
cmp eax, 0x32
jne 0x140037801
call fcn.14002cd90
lea rdx, str.Airhost.CAB
jmp 0x140037863
call fcn.14002cd90
mov rdx, rsi
mov rcx, rdi
call fcn.14002c70c
mov rcx, rdi
call fcn.14002c3d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003786b
mov rcx, rdi
call fcn.14002cd90
lea rdx, str.ZoomFull_Sip.CAB
mov rcx, rdi
call fcn.14002c734
mov rcx, rdi
call fcn.14002c3d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003786b
mov rcx, rdi
call fcn.14002cd90
lea rdx, str.ZoomFull.CAB
mov rcx, rdi
call fcn.14002c734
lea rcx, [rbx + 0x668]
call fcn.14002c554
test al, al
jne 0x140037883
mov rdx, rsi
call fcn.14002c70c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140037894
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
lea rcx, [rsp + 0x130]
call fcn.14002c1f4
nop
lea rcx, [rsp + 0x20]
call fcn.14002c1f4
nop
lea rcx, [rsp + 0x130]
call fcn.14002cd90
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x130]
call fcn.14002c734
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14002c5a0
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x20]
call fcn.14002c734
lea rcx, [rsp + 0x20]
call fcn.14002c3d0
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.14002c3d0
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x20]
call fcn.14002c340
nop
lea rcx, [rsp + 0x130]
call fcn.14002c340
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077b20
add rsp, 0x250
pop rbx
ret
Function at 0x1400382e8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x768]
sub rsp, 0x850
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x740], rax
xor r15d, r15d
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0xc30], r15
je 0x14003833f
cmp qword [rcx + 0xc38], r15
je 0x14003833f
lea eax, [r15 + 1]
jmp 0x1400384cf
test rdi, rdi
jne 0x14003834b
xor eax, eax
jmp 0x1400384cf
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.14007c680
lea rax, [rsp + 0x20]
mov r14d, 0x82
sub rdi, rax
lea rcx, [rsp + 0x20]
mov edx, r14d
mov ebx, 1
lea rax, [rdx + 0x7fffff7c]
test rax, rax
je 0x140038399
movzx eax, word [rcx + rdi]
test ax, ax
je 0x140038399
mov word [rcx], ax
add rcx, 2
sub rdx, rbx
jne 0x140038378
test rdx, rdx
lea rax, [rcx - 2]
mov edi, 0x104
lea r8, [0x14009a660]
cmovne rax, rcx
mov edx, edi
lea rcx, [rsp + 0x20]
mov word [rax], r15w
call fcn.140037f9c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x1400383e7
lea rcx, str._CptShareAPIWrapper::Init__Failed_to_call_SetDllDirectory_to:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea rcx, [rbp + 0x330]
mov r8d, 0x410
call fcn.14007c680
lea rdx, [rsp + 0x20]
lea rax, [rbp + 0x330]
sub rdx, rax
lea rcx, [rbp + 0x330]
lea rax, [r14 + 0x7fffff7c]
test rax, rax
je 0x140038432
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140038432
mov word [rcx], ax
add rcx, 2
sub r14, rbx
jne 0x140038411
lea rax, [rcx - 2]
test r14, r14
lea r8, [0x1400a0860]
mov rdx, rdi
cmovne rax, rcx
lea rcx, [rbp + 0x330]
mov word [rax], r15w
call fcn.140037f9c
xor edx, edx
lea rcx, [rbp + 0x330]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea r8, str.CptShare.dll
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140037f9c
lea rcx, [rsp + 0x20]
call fcn.140038178
mov qword [rsi + 0xc30], rax
lea rdi, [rsi + 0xc38]
mov qword [rdi], r15
test rax, rax
je 0x1400384bc
lea rdx, str.cpt_create_helper
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400384bc
mov rcx, rdi
call qword [case.0x14002e391.0]
cmp qword [rsi + 0xc30], r15
je 0x1400384ca
cmp qword [rdi], r15
jne 0x1400384cd
mov ebx, r15d
mov eax, ebx
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.140077b20
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400384fc
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rdx
test rdx, rdx
je 0x1400385bf
mov rcx, rdx
call fcn.1400583bc
test rax, rax
je 0x1400385bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400385bf
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.14007c680
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14009b62c]
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 0x1400385ae
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400385bf
lea rbx, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1400385c4
mov eax, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140077b20
add rsp, 0x440
pop rbx
ret
Function at 0x14003c2d4
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 [0x1400b7a38]
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.14002c1f4
nop
lea rcx, [rbp + 0xf0]
call fcn.14002c1f4
nop
lea rcx, [rbp - 0x20]
call fcn.14002cd90
lea rdx, str.vcredist_x86.exe
lea rcx, [rbp - 0x20]
call fcn.14002c734
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xf0]
call fcn.14002c5a0
lea rdx, [0x1400a1310]
lea rcx, [rbp + 0xf0]
call fcn.14002c734
lea rcx, [rbp + 0xf0]
call fcn.14002c3d0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14002c3d0
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 0x14003c3dc
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 0x14003c42a
mov r9d, 0x798
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerInstallerManager.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000e798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str._CInstallerManager::LaunchVS2008RedInstaller__Failed_created_a_process:
lea rcx, [0x1400ba0c0]
call fcn.140007bcc
mov rcx, rax
mov edx, edi
call fcn.140005920
nop
lea rcx, [rsp + 0x50]
call fcn.14000e9c4
nop
lea rcx, [rbp + 0xf0]
call fcn.14002c340
nop
lea rcx, [rbp - 0x20]
call fcn.14002c340
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140077b20
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 0x14003c520
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x14003c532
xor eax, eax
jmp 0x14003c56b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003c559
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 0x14003c52e
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 0x140040a20
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 0x140040a9a
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 0x140040b18
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400b7a38]
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 fcn.14007c680
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x140040b83
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400089c4
mov al, 1
jmp 0x140040b85
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x140041b2c
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 [0x1400b7a38]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x10], rdi
jne 0x140041b5e
xor al, al
jmp 0x140041cfa
cmp qword [rcx + 0x18], 8
jb 0x140041b68
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x140041bbf
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000e798
nop
cmp qword [rbx + 0x18], 8
jb 0x140041b95
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Return_false_as_its_a_network_driver:
lea rcx, [0x1400ba1e0]
call fcn.14000d398
mov rcx, rax
mov rdx, rbx
call fcn.14000d398
nop
lea rcx, [rbp - 0x30]
call fcn.14000e9c4
jmp 0x140041b57
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000c6ec
nop
lea rcx, [0x14009a660]
call fcn.1400583bc
mov r8, rax
lea rdx, [0x14009a660]
lea rcx, [rbp - 0x28]
call fcn.140008aac
lea rcx, str.Zoom
call fcn.1400583bc
mov r8, rax
lea rdx, str.Zoom
lea rcx, [rbp - 0x28]
call fcn.140008aac
lea rcx, [0x14009a660]
call fcn.1400583bc
mov r8, rax
lea rdx, [0x14009a660]
lea rcx, [rbp - 0x28]
call fcn.140008aac
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 0x140041c55
test al, 0x10
je 0x140041c55
mov dil, 1
mov r9d, 0x225
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000e798
nop
cmp qword [rbx + 0x18], 8
jb 0x140041c78
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Has_Zoom:
lea rcx, [0x1400ba1e0]
call fcn.14000d398
mov rcx, rax
mov dl, dil
call fcn.14000b970
mov rcx, rax
lea rdx, str._for_path:
call fcn.14000d398
mov rcx, rax
mov rdx, rbx
call fcn.14000d398
nop
lea rcx, [rbp - 0x30]
call fcn.14000e9c4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140041cf7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041cf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041d16
call fcn.14002ae70
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.140058c18
int3
Function at 0x140042738
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 0x14004277e
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14004277e
mov eax, 1
jmp 0x140042789
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret