joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013898
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 0x1400138f9
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 0x1400138f9
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 0x1400138f9
cmp qword [rsi], rbx
je 0x1400138f9
mov bl, 1
jmp 0x140013901
mov rdx, rdi
call fcn.14001385c
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140013914
Capabilities:
Hash data via wincrypt

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400c4a20]
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 0x1400139de
test rdi, rdi
je 0x1400139de
mov r8d, dword [rsp + 0xd0]
test r8d, r8d
jle 0x1400139de
xor r9d, r9d
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400139de
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 0x1400139de
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
add rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14001526c
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140080bf0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
Function at 0x140016ccc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1338]
mov eax, 0x1430
call fcn.140081b30
sub rsp, rax
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov rsi, rdx
call fcn.140084684
or r9d, 0xffffffff
mov dword [rsp + 0x54], eax
mov dword [rbp + 0x12d4], r9d
mov edx, 0x270
mov r8d, 1
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x54], eax
inc r8
cmp r8, rdx
jb 0x140016d23
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x30], rax
mov ebx, 0x757bf597
mov qword [rsp + 0x38], 0x20
mov dword [rsp + 0x40], r9d
lea rcx, [rsp + 0x30]
call fcn.1400170cc
mov r8d, eax
mov eax, ebx
mul r8d
shr edx, 0xe
cmp edx, 0x1d5ef
jae 0x140016d61
mov eax, ebx
mul r8d
shr edx, 0xe
imul ecx, edx, 0x8b75
mov edx, 0x80000000
sub r8d, ecx
lea ecx, [r8 - 0x7ffffed4]
cmp ecx, edx
lea eax, [rcx + rdx]
lea r8d, [rcx - 0x80000000]
cmovae r8d, eax
mov eax, 0x91a2b3c5
imul r8d
lea ecx, [r8 + rdx]
sar ecx, 0xb
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov edi, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub edi, eax
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp edi, eax
cmova edi, eax
imul eax, ecx, 0xe10
lea rcx, [rbp + 0x12e0]
sub r8d, eax
mov eax, 0x88888889
imul r8d
lea ebx, [r8 + rdx]
sar ebx, 5
mov eax, ebx
shr eax, 0x1f
add ebx, eax
mov eax, 5
cmp ebx, 0x3c
cmova ebx, eax
xor edx, edx
lea r8d, [rax + 0x3b]
call main
mov r9d, edi
mov dword [rsp + 0x20], ebx
lea r8, str.2024_01_01T_02d:_02d:00
mov edx, 0x40
lea rcx, [rbp + 0x12e0]
call fcn.140001378
mov rcx, qword [rsi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [rsp + 0x28], 0
lea r8, [rbp + 0x12e0]
and qword [rsp + 0x20], 0
xor edx, edx
or r9d, 0xffffffff
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edi, eax
lea edx, [rax - 1]
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
je 0x140016ea3
xor edx, edx
mov dword [rsp + 0x28], edi
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x12e0]
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x140016ed5
mov qword [rsi], rbx
test rbx, rbx
je 0x140016ee2
mov al, 1
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.140080bf0
lea r11, [rsp + 0x1430]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and qword [rsi], 0
mov ecx, 0x8007000e
call fcn.1400159a4
int3
Function at 0x1400170cc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov rbx, rcx
mov esi, 0x7fffffff
mov ebp, 0x9908b0df
mov r9, qword [rbx]
mov r8d, dword [r9]
cmp r8d, 0x270
jne 0x14001713c
lea r8, [r9 + 8]
mov r10d, 0x270
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, esi
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140017101
mov r8d, dword [r9]
jmp 0x14001720a
cmp r8d, 0x4e0
jb 0x14001720a
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x140017159
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14001719e
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, esi
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], 0
xor r8d, r8d
mov eax, r8d
mov edx, dword [r9 + rax*4 + 4]
mov ecx, edx
lea eax, [r8 + 1]
shr ecx, 0xb
mov dword [r9], eax
mov eax, dword [r9 + 0x1384]
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [rbx + 0x10]
ja 0x1400170e8
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
ret
Function at 0x1400181d0
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 0x140018266
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140018240
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001825f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001825f
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.0x140025751.0]
jmp 0x14001824f
cmp dword [rdi + 8], 0
je 0x14001825f
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 0x14001824f
cmp byte [0x1400c7c08], 0
jne 0x1400182b1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001829d
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x1400c7c00], rax
jmp 0x1400182a4
mov r10, qword [0x1400c7c00]
mov eax, 1
mov byte [0x1400c7c08], al
jmp 0x1400182b8
mov r10, qword [0x1400c7c00]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x140018249
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rax, r10
call qword [case.0x140025751.0]
jmp 0x14001824f
Function at 0x140019fbc
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.1400195a0
mov r9b, bl
mov rdx, rdi
lea rcx, str.zoomus
call fcn.1400195a0
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 0x14001a112
mov rsi, qword [rsp + 0xa8]
lea rbx, str.Zoom.exe
mov rcx, rbx
call fcn.140065fe4
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 0x14001a0a7
mov rdi, qword [rdi]
test rdi, rdi
je 0x14001a0da
mov rcx, rdi
call fcn.140065fe4
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 0x14001a17f
mov r9d, 0x2d6
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
mov edx, 2
lea rcx, [rsp + 0x98]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._RegZoomAppProtocol__failed_to_set_ElevationPolicy:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, ebp
call fcn.140016ef0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x98]
call fcn.14000b9c4
nop
test rsi, rsi
je 0x14001a18d
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 0x14001b2e8
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 [0x1400c4a20]
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.140018430
mov esi, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14001b38f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b38a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b49b
call fcn.1400222c0
test esi, esi
jne 0x14001b3ea
lea rbx, [0x1400a74e4]
mov rcx, rbx
call fcn.140065fe4
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 0x14001b3e4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r15
mov qword [rbp - 0x48], r15
mov dword [rbp - 0x40], r15d
jmp 0x14001b3ee
mov rdi, qword [rbp - 0x48]
mov r9d, 0x3cc
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._UnregMIMEZoommtg__Add_user_agent_postfix_ret:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, esi
call fcn.140016ef0
mov rcx, rax
lea rdx, str._flag:
call fcn.140004774
mov rcx, rax
mov edx, r14d
call fcn.1400024c0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rbp - 0x50]
call fcn.14000b9c4
nop
test rdi, rdi
je 0x14001b478
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140065e1c
nop
int3
Function at 0x14001b820
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.140018430
mov esi, eax
mov rdi, qword [rsp + 0x30]
test eax, eax
jne 0x14001b894
lea rdx, str.Zoom_3.6.0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test rdi, rdi
je 0x14001b88f
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, 0x407
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerIncludeZoomRegUtil.cpp
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14000b798
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._UnregMIMEZoommtg__Remove_user_agent_postfix_ret:
lea rcx, [0x1400c71f0]
call fcn.140004774
mov rcx, rax
mov edx, esi
call fcn.140016ef0
mov rcx, rax
lea rdx, str._flag:
call fcn.140004774
mov rcx, rax
mov edx, ebp
call fcn.1400024c0
mov rcx, rax
lea rdx, [0x1400a8b68]
call fcn.140004774
mov rcx, rax
mov edx, ebx
call fcn.1400024c0
nop
lea rcx, [rsp + 0x60]
call fcn.14000b9c4
nop
test rdi, rdi
je 0x14001b91f
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 0x14001bdac
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 [0x1400c4a20]
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, [0x1400a9b40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001bfc2
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.1400096ec
nop
lea rcx, [0x1400a6488]
call fcn.140065fe4
mov r8, rax
lea rdx, [0x1400a6488]
lea rcx, [rsp + 0x70]
call fcn.140005684
lea rcx, str.Zoom.exe
call fcn.140065fe4
mov r8, rax
lea rdx, str.Zoom.exe
lea rcx, [rsp + 0x70]
call fcn.140005684
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, [0x1400a6f68]
lea rcx, [rsp + 0x38]
call fcn.140005b4c
test eax, eax
jne 0x14001beea
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000559c
cmp qword [rsp + 0x60], r14
je 0x14001bf23
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140020c78
cmp rax, 0xffffffffffffffff
jne 0x14001bf23
lea rdx, str.__backgroundtrue
lea rcx, [rsp + 0x50]
call fcn.140020bb8
mov bl, 1
cmp rax, 0xffffffffffffffff
je 0x14001bf26
mov byte [rsi], bl
jmp 0x14001bf26
mov bl, r14b
mov esi, 0x1000
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001bf69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, rsi
jb 0x14001bf64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c001
call fcn.1400222c0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001bfb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rsi
jb 0x14001bfad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bffb
call fcn.1400222c0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r15
mov word [rsp + 0x70], r14w
jmp 0x14001bfc5
mov bl, r14b
test rdi, rdi
je 0x14001bfd3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140065e1c
nop
call fcn.140065e1c
int3
Function at 0x140020470
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 [0x1400c4a20]
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.14000559c
nop
lea rcx, str.ZoomUMX
call fcn.140065fe4
mov r8, rax
lea rdx, str.ZoomUMX
lea rcx, [rbp + 0x27]
call fcn.140005684
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 0x14002051f
mov rbx, qword [rbp - 1]
jmp 0x14002056b
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 0x140020624
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 0x140020598
mov rdi, qword [rbp + 0xf]
jmp 0x1400205d9
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 0x140020615
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 0x140020615
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140020624
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x140020660
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002065b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020685
call fcn.1400222c0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140080bf0
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.140065e1c
int3
Function at 0x14002159c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400215c9
test al, 0x10
jbe 0x1400215c9
xor eax, eax
jmp 0x14002164b
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140020fec
nop
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140065fe4
mov edx, 0x5c
xor ebp, ebp
cmp eax, 1
jle 0x1400215fe
cdqe
cmp word [rdi + rax*2 - 2], dx
jne 0x1400215fe
mov word [rdi + rax*2 - 2], bp
mov rcx, rdi
call fcn.140086970
test rax, rax
jne 0x140021610
lea ebx, [rax + 0xf]
jmp 0x140021641
mov word [rax], bp
mov rcx, rdi
call fcn.14002159c
mov ebx, eax
test eax, eax
jne 0x140021641
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14002163f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x140021641
mov ebx, ebp
mov rcx, rdi
call fcn.1400222c0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400219cc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x20
mov rbx, rcx
lea rax, vtable.Cabinet::CExtract.0
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x120], eax
je 0x140021a0b
mov dword [rbx + 0xe8], 0x3f3
and dword [rbx + 0xec], 0
and dword [rbx + 0xf0], 0
jmp 0x140021a75
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x140021a52
mov rax, qword [rbx + 0x148]
call qword [case.0x140025751.0]
mov esi, eax
and qword [rbx + 0xf8], 0
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x140021a3f
call fcn.1400222c0
and qword [rbx + 0xb8], 0
and dword [rbx + 0xc0], 0
test esi, esi
je 0x140021a75
mov ecx, dword [0x1400c7c40]
cmp ecx, 0xffffffff
je 0x140021a75
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140021a75
mov ecx, dword [0x1400c7c40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x140021a87
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x108]
test rcx, rcx
je 0x140021a9d
mov edx, 1
call fcn.1400222c0
mov rcx, qword [rbx + 0xd8]
call fcn.1400222c0
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x140021aba
call fcn.1400222c0
and qword [rbx + 0xb8], 0
and dword [rbx + 0xc0], 0
mov rcx, qword [rbx + 0xa8]
call fcn.1400222c0
mov rcx, qword [rbx + 0x98]
call fcn.1400222c0
mov edx, 8
mov rcx, qword [rbx + 0x88]
call fcn.1400222c0
mov edx, 4
mov rcx, qword [rbx + 0x90]
call fcn.1400222c0
mov rcx, qword [rbx + 0x20]
call fcn.1400222c0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
jmp fcn.1400222c0