joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011970
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x10], 0
lea rax, [rbp + 0x10]
and qword [rbp - 0x10], 0
lea rdx, [0x14009fbb0]
mov ebx, r9d
mov qword [rsp + 0x20], rax
mov rdi, r8
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140011a69
mov rcx, qword [rbp + 0x10]
lea rax, [rbp - 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14009fbe8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140011a4b
and dword [rbp + 0x30], eax
lea r9, [rbp + 0x30]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, [0x14009fbf0]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140011a4b
mov eax, dword [rbp + 0x30]
dec eax
cmp eax, 1
ja 0x140011a4b
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140011a38
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140011a47
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x140011a6b
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140011a5a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140011a69
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x140011a7c
Capabilities:
Create directory
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, r8
mov rsi, rcx
cmp qword [r8], 0
jne 0x140011a9e
xor al, al
jmp 0x140011be0
cmp qword [rcx], 0
jne 0x140011ad0
mov ecx, 0x60
call fcn.1400793f0
mov rbx, rax
mov qword [rsp + 0x70], rax
and dword [rax + 0x50], 0
and qword [rax + 0x58], 0
xor edx, edx
lea r8d, [rdx + 0x50]
mov rcx, rax
call main
mov qword [rsi], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
cmp byte [rdi + 0xd], 0
jne 0x140011b39
mov r9d, dword [rdi + 8]
mov r8, qword [rdi]
call fcn.140011970
test al, al
je 0x140011b39
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea r8, [0x14009cddb]
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call fcn.140057980
test eax, eax
je 0x140011b39
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
je 0x140011b39
lea rcx, str._CPluginImpHelper::GetInstallPath__Get_Install_Path:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140011b7f
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi]
call fcn.140057f10
test eax, eax
jne 0x140011b4e
xor bl, bl
jmp 0x140011b81
mov r8, qword [rsp + 0x30]
cmp r8, qword [rsp + 0x38]
jne 0x140011b5e
xor bl, bl
jmp 0x140011b86
add r8, 8
movsxd rdx, dword [rdi + 8]
mov rcx, qword [rdi]
call fcn.14005f398
cmp byte [rdi + 0xc], 0
je 0x140011b7f
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov bl, 1
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140011bde
mov rcx, qword [rsp + 0x40]
sub rcx, r8
movabs rax, 0x73615a240e6c2b45
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x11c
mov rax, r8
cmp rdx, 0x1000
jb 0x140011bd6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011bf0
mov rcx, r8
call fcn.140028090
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.14005e65c
int3
Function at 0x14001238c
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x288
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call main
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140012410
lea r8, str.winsxsx86_microsoft.vc90.crt_
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.14005f4d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140012410
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x140012412
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x288
ret

Function at 0x1400124c4
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x11c
call main
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14001251d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140012536
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14001253a
sub eax, 1
je 0x14001253a
cmp eax, 1
jne 0x140012536
cmp dword [rsp + 0x24], 6
jb 0x14001253a
xor al, al
jmp 0x14001253c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x158
ret

Function at 0x140012ba0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140012bc8
mov rdx, rcx
mov r9d, 1
xor ecx, ecx
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140012bc8
mov eax, 1
jmp 0x140012bca
xor eax, eax
add rsp, 0x28
ret

Function at 0x140012bd0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140012bf9
mov r9d, 1
mov rdx, rcx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140012bf9
mov eax, 1
jmp 0x140012bfb
xor eax, eax
add rsp, 0x28
ret
Function at 0x140013960
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
test rdx, rdx
je 0x1400139c1
lea r9d, [rbx + 0x18]
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400139c1
mov rcx, qword [rdi]
lea rsi, [rdi + 8]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400139c1
cmp qword [rsi], rbx
je 0x1400139c1
mov bl, 1
jmp 0x1400139c9
mov rdx, rdi
call fcn.140013924
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400139dc
Capabilities:
Hash data via wincrypt

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x38], rdx
and dword [rsp + 0x34], 0
and qword [rdx], 0
and qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0xf
mov byte [rdx], 0
mov dword [rsp + 0x34], 1
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x40]
call main
test rsi, rsi
je 0x140013aa6
test rdi, rdi
je 0x140013aa6
mov r8d, dword [rsp + 0xd0]
test r8d, r8d
jle 0x140013aa6
xor r9d, r9d
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140013aa6
mov dword [rsp + 0x30], 0x40
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, 2
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140013aa6
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
add rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14001532c
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400793d0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400165a8
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
call fcn.140012d10
xor edi, edi
test eax, eax
je 0x140016618
mov r9d, 0x93
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerInclude_vdi_plugin_installer_helper.cpp
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b3b8
nop
lea rdx, str._InstallAutoUpdateVDIPlugin__not_support_arm64_machine
lea rcx, [0x1400be0f0]
call fcn.14000475c
nop
lea rcx, [rbp - 0x39]
call fcn.14000b5e4
xor al, al
jmp 0x14001676d
lea r8, [0x14009e290]
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.14000a290
nop
lea r8, str.ZoomPluginAutoUpdateService64.dll
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.14000a310
nop
lea rcx, [rbp + 0xf]
call fcn.140005628
lea r8, [0x14009e290]
mov rdx, rbx
lea rcx, [rbp + 0x2f]
call fcn.14000a290
nop
lea r8, str.ZoomPluginAutoUpdateService32.dll
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14000a310
nop
lea rcx, [rbp + 0x2f]
call fcn.140005628
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x1400166dd
mov r9d, 0x9b
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerInclude_vdi_plugin_installer_helper.cpp
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b3b8
nop
lea rbx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rbx, qword [rbp - 0x11]
lea rdx, str._IsNeedInstallAutoUpdateVDIPlugin__file_not_exist:
lea rcx, [0x1400be210]
call fcn.140009fb8
mov rcx, rax
mov rdx, rbx
call fcn.140009fb8
nop
jmp 0x14001673b
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x140016746
mov r9d, 0x9b
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerInclude_vdi_plugin_installer_helper.cpp
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b3b8
nop
lea rbx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rbx, qword [rbp - 0x31]
lea rdx, str._IsNeedInstallAutoUpdateVDIPlugin__file_not_exist:
lea rcx, [0x1400be210]
call fcn.140009fb8
mov rcx, rax
mov rdx, rbx
call fcn.140009fb8
nop
lea rcx, [rbp - 0x39]
call fcn.14000b5e4
jmp 0x140016757
call fcn.140005590
test eax, eax
je 0x140016757
call fcn.1400055a0
mov dil, al
lea rcx, [rbp - 0x31]
call fcn.140005628
nop
lea rcx, [rbp - 0x11]
call fcn.140005628
mov al, dil
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140016f7c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140017012
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140016fec
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001700b
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001700b
mov rdx, qword [rdi]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x14002b591.0]
jmp 0x140016ffb
cmp dword [rdi + 8], 0
je 0x14001700b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
jmp 0x140016ffb
cmp byte [0x1400beb08], 0
jne 0x14001705d
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017049
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x1400beb00], rax
jmp 0x140017050
mov r10, qword [0x1400beb00]
mov eax, 1
mov byte [0x1400beb08], al
jmp 0x140017064
mov r10, qword [0x1400beb00]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x140016ff5
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rax, r10
call qword [case.0x14002b591.0]
jmp 0x140016ffb
Function at 0x140019384
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], dl
push rbp
push rsi
push rdi
sub rsp, 0x70
mov bl, r8b
mov rdi, rcx
mov r9b, r8b
mov rdx, rcx
lea rcx, str.zoommtg
call fcn.140018968
mov r9b, bl
mov rdx, rdi
lea rcx, str.zoomus
call fcn.140018968
xor esi, esi
mov qword [rsp + 0x50], rsi
and dword [rsp + 0x58], esi
and qword [rsp + 0x60], rsi
and qword [rsp + 0xa8], rsi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicyAFDA28A5_1B5F_4635_9877_73DF0D710C9A
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebp, eax
test eax, eax
jne 0x1400194da
mov rsi, qword [rsp + 0xa8]
lea rbx, str.Zoom.exe
mov rcx, rbx
call fcn.14005e824
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
lea ebx, [rbp + 1]
mov r9d, ebx
xor r8d, r8d
lea rdx, str.AppName
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rdi + 0x18], 8
jb 0x14001946f
mov rdi, qword [rdi]
test rdi, rdi
je 0x1400194a2
mov rcx, rdi
call fcn.14005e824
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9d, ebx
xor r8d, r8d
lea rdx, str.AppPath
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x98], 3
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.Policy
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140019547
mov r9d, 0x2ee
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x98]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_set_ElevationPolicy:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, ebp
call fcn.14001f078
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x98]
call fcn.14000b5e4
nop
test rsi, rsi
je 0x140019555
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a6b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14d, edx
xor r15d, r15d
mov qword [rbp - 0x48], r15
mov dword [rbp - 0x40], r15d
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov dword [rsp + 0x20], edx
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
lea r8, [rbp - 0x30]
mov dl, byte [rcx]
lea rcx, [rbp - 0x48]
call fcn.1400171dc
mov esi, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14001a757
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a752
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a863
call fcn.140028090
test esi, esi
jne 0x14001a7b2
lea rbx, [0x14009f26c]
mov rcx, rbx
call fcn.14005e824
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.Zoom_3.6.0
mov rdi, qword [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test rdi, rdi
je 0x14001a7ac
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r15
mov qword [rbp - 0x48], r15
mov dword [rbp - 0x40], r15d
jmp 0x14001a7b6
mov rdi, qword [rbp - 0x48]
mov r9d, 0x3e4
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._UnregMIMEZoommtg__Add_user_agent_postfix_ret:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, esi
call fcn.14001f078
mov rcx, rax
lea rdx, str._flag:
call fcn.14000475c
mov rcx, rax
mov edx, r14d
call fcn.1400024b0
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rbp - 0x50]
call fcn.14000b5e4
nop
test rdi, rdi
je 0x14001a840
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400793d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14005e65c
nop
int3
Function at 0x14001abe8
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x50
mov ebp, edx
and qword [rax - 0x28], 0
and dword [rax - 0x20], 0
and qword [rax - 0x18], 0
lea r8, [rcx + 8]
mov dword [rax - 0x38], edx
lea r9, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
mov dl, byte [rcx]
lea rcx, [rax - 0x28]
call fcn.1400171dc
mov esi, eax
mov rdi, qword [rsp + 0x30]
test eax, eax
jne 0x14001ac5c
lea rdx, str.Zoom_3.6.0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test rdi, rdi
je 0x14001ac57
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov qword [rsp + 0x30], rdi
and dword [rsp + 0x38], 0
mov r9d, 0x41f
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._UnregMIMEZoommtg__Remove_user_agent_postfix_ret:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, esi
call fcn.14001f078
mov rcx, rax
lea rdx, str._flag:
call fcn.14000475c
mov rcx, rax
mov edx, ebp
call fcn.1400024b0
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x60]
call fcn.14000b5e4
nop
test rdi, rdi
je 0x14001ace7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14001b174
Capabilities:
Persist via run registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [0x1400a1cc0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001b38a
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000930c
nop
lea rcx, [0x14009e290]
call fcn.14005e824
mov r8, rax
lea rdx, [0x14009e290]
lea rcx, [rsp + 0x70]
call fcn.14000568c
lea rcx, str.Zoom.exe
call fcn.14005e824
mov r8, rax
lea rdx, str.Zoom.exe
lea rcx, [rsp + 0x70]
call fcn.14000568c
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x70]
call main
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
lea r15d, [r14 + 7]
mov qword [rsp + 0x68], r15
mov word [rsp + 0x50], r14w
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x70]
lea rdx, str.Zoom
lea rcx, [rsp + 0x38]
call fcn.140005b54
test eax, eax
jne 0x14001b2b2
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400055a4
cmp qword [rsp + 0x60], r14
je 0x14001b2eb
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14001f314
cmp rax, 0xffffffffffffffff
jne 0x14001b2eb
lea rdx, str.__backgroundtrue
lea rcx, [rsp + 0x50]
call fcn.14001f254
mov bl, 1
cmp rax, 0xffffffffffffffff
je 0x14001b2ee
mov byte [rsi], bl
jmp 0x14001b2ee
mov bl, r14b
mov esi, 0x1000
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001b331
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, rsi
jb 0x14001b32c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b3c9
call fcn.140028090
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001b37a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rsi
jb 0x14001b375
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b3c3
call fcn.140028090
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r15
mov word [rsp + 0x70], r14w
jmp 0x14001b38d
mov bl, r14b
test rdi, rdi
je 0x14001b39b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400793d0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14005e65c
nop
call fcn.14005e65c
int3
Function at 0x14001e930
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], si
lea rdx, str.Software_
lea rcx, [rbp + 0x27]
call fcn.1400055a4
nop
lea rcx, str.ZoomUMX
call fcn.14005e824
mov r8, rax
lea rdx, str.ZoomUMX
lea rcx, [rbp + 0x27]
call fcn.14000568c
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
mov qword [rbp - 1], rsi
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov edi, 0x2001f
mov r9d, edi
xor r8d, r8d
mov rbx, 0xffffffff80000001
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001e9df
mov rbx, qword [rbp - 1]
jmp 0x14001ea2b
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
mov qword [rbp + 7], rsi
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001eae4
mov rbx, qword [rbp + 7]
mov qword [rbp + 0xf], rsi
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.PerInstall
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ea58
mov rdi, qword [rbp + 0xf]
jmp 0x14001ea99
mov qword [rbp + 0x17], rsi
lea rax, [rbp + 0x23]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PerInstall
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001ead5
mov rdi, qword [rbp + 0x17]
mov dword [rbp - 9], 1
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InstalledShortcut
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x14001ead5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x14001eae4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14001eb20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001eb1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eb45
call fcn.140028090
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14005e65c
int3