joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021b2c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp dword [rsi + 0x120], eax
je 0x140021b69
mov qword [rsi + 0xe8], 0x3f3
mov dword [rsi + 0xf0], ebx
jmp 0x140021d20
mov ecx, dword [0x1400c7c40]
or edi, 0xffffffff
cmp ecx, edi
je 0x140021d0e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140021b92
mov qword [rsi + 0xe8], 0x3f4
jmp 0x140021b5e
mov ecx, dword [0x1400c7c40]
cmp ecx, edi
je 0x140021d0e
mov rdx, rsi
lea rbp, [rsi + 0xc8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140021d15
mov ecx, dword [0x1400c7c40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140021d15
xor eax, eax
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
mov rdi, rbp
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
cmp qword [rsi + 0xf8], rbx
jne 0x140021d22
cmp qword [rsi + 0x128], rbx
jne 0x140021ca3
call fcn.140021810
lea rdx, str.FDICreate
mov qword [rsi + 0x128], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x128]
lea rdx, str.FDICopy
mov qword [rsi + 0x130], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x128]
lea rdx, str.FDIIsCabinet
mov qword [rsi + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x128]
lea rdx, str.FDIDestroy
mov qword [rsi + 0x140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x148], rax
cmp qword [rsi + 0x130], rbx
je 0x140021c8c
cmp qword [rsi + 0x138], rbx
je 0x140021c8c
cmp qword [rsi + 0x140], rbx
je 0x140021c8c
test rax, rax
jne 0x140021ca3
mov qword [rsi + 0x128], rbx
mov qword [rsi + 0xe8], 0x3e8
jmp 0x140021b5e
mov qword [rsp + 0x40], rbp
lea rax, [0x140022660]
mov dword [rsp + 0x38], 1
lea r9, [0x140022380]
mov qword [rsp + 0x30], rax
lea r8, [0x1400222d0]
lea rax, [0x140022630]
mov qword [rsp + 0x28], rax
lea rdx, [fcn.1400222c0]
lea rax, [0x1400224d0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400222b0]
mov rax, qword [rsi + 0x130]
call qword [case.0x140025751.0]
test rax, rax
mov qword [rsi + 0xf8], rax
setne bl
mov eax, ebx
jmp 0x140021d22
lea rbp, [rsi + 0xc8]
mov dword [rbp + 0x20], ebx
mov qword [rbp + 0x24], 0xe
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140022190
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov r14, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp dword [rsi + 0x120], eax
je 0x1400221ee
mov qword [rsi + 0xe8], 0x3f3
mov dword [rsi + 0xf0], ebx
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140080bf0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rsi + 0xf8], rbx
je 0x1400221d4
xor eax, eax
lea rdi, [rsi + 0xc8]
mov qword [rdi + 0x20], rbx
mov r9d, 0x100
mov dword [rdi + 0x28], ebx
mov r8d, 0x8020
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
mov rax, qword [rsi]
mov rcx, rsi
mov dword [rsi + 0x84], ebx
mov dword [rsi + 0x104], ebx
mov rdx, qword [r14]
mov rax, qword [rax + 0x28]
call qword [case.0x140025751.0]
mov rdi, rax
lea rcx, [rax + 1]
cmp rcx, 1
jbe 0x1400221d4
lea rcx, [rsi + 0x80]
xor r8d, r8d
mov rdx, rax
call fcn.140023294
test rdi, rdi
jle 0x1400221d4
mov rax, qword [rsi + 0x140]
mov rdx, rdi
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x30]
test rbp, rbp
je 0x14002227d
mov r8, rbp
call qword [case.0x140025751.0]
mov ecx, dword [0x1400c7c40]
mov esi, eax
cmp ecx, 0xffffffff
je 0x140022299
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rdx, rdi
mov rcx, rbx
call fcn.14002275c
mov eax, esi
jmp 0x1400221d6

Function at 0x140022f10
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, r9d
mov edi, r8d
mov rbx, rdx
bt r8d, 8
jae 0x140022f3d
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
and dword [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8d, 0x40
mov edx, edi
mov rcx, rbx
call fcn.14006ab60
mov ecx, dword [rsp + 0x50]
or edx, 0xffffffff
mov rbx, qword [rsp + 0x40]
test eax, eax
mov rsi, qword [rsp + 0x48]
cmovne ecx, edx
movsxd rax, ecx
add rsp, 0x30
pop rdi
ret

Function at 0x14002339c
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400c7c40], eax
lea rax, [0x1400cb958]
add rsp, 0x28
ret

Function at 0x1400244d0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
lea rcx, [0x140024510]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 8]
xor eax, eax
mov dword [rbx + 0x18], eax
test rcx, rcx
je 0x140024506
cmp dword [rbx + 0x14], eax
jbe 0x140024506
mov rax, qword [rcx]
mov dword [rbx + 0x18], 1
add rsp, 0x20
pop rbx
ret
Function at 0x14002bef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
jne 0x14002bf08
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002bf24
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bf24
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 0x14002bf30
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes
Get program files directory
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x410
call main
test rbx, rbx
je 0x14002c066
mov rcx, rbx
call fcn.140065fe4
test rax, rax
je 0x14002c066
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002c066
call fcn.14002be80
test eax, eax
je 0x14002bffa
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002bff6
lea r8, str.Temp
mov edx, 0x207
lea rcx, [rsp + 0x30]
call fcn.1400668a8
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002bff6
test al, 0x10
jne 0x14002c00a
xor eax, eax
jmp 0x14002c06b
lea rdx, [rsp + 0x30]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x1400a74e4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14002c055
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002c066
lea rbx, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x14002c06b
mov eax, 1
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rbp
ret
Function at 0x14002c08c
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 [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 r15, 0xffffffffffffffff
mov rdi, r15
test rbp, rbp
je 0x14002c1ee
mov rcx, rbp
call fcn.140065fe4
test rax, rax
je 0x14002c1ee
mov r9, r15
lea r8, [0x1400ab594]
mov rdx, r15
mov rcx, rbp
call fcn.14002b2c0
mov rsi, rax
test rax, rax
jne 0x14002c115
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002c1de
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, r15
je 0x14002c1d6
test byte [rsp + 0x20], 0x10
je 0x14002c160
lea rdx, [0x1400ab598]
lea rcx, [rsp + 0x4c]
call fcn.1400680d0
test eax, eax
je 0x14002c1c0
lea rdx, [0x1400ab59c]
lea rcx, [rsp + 0x4c]
call fcn.1400680d0
test eax, eax
je 0x14002c1c0
mov r9, r15
lea r8, [rsp + 0x4c]
mov rdx, r15
mov rcx, rbp
call fcn.14002b2c0
mov rbx, rax
test rax, rax
je 0x14002c1c0
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x14002c1a7
call fcn.14002bef0
test eax, eax
jne 0x14002c19c
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14002c08c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14002c1b8
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 0x14002c12f
mov rcx, rsi
call fcn.14002b278
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x14002c1fb
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14002c243
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 0x14002c258
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call fcn.14002bef0
test eax, eax
jne 0x14002c277
lea rdx, [fcn.14002bf30]
mov rcx, rbx
call fcn.14002c08c
test eax, eax
je 0x14002c280
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add rsp, 0x20
pop rbx
ret
Function at 0x14002c288
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edi, 0x400
lea rcx, [rsp + 0x40]
mov r8d, edi
xor edx, edx
call main
xor ebx, ebx
cmp dword [0x1400cbb38], ebx
je 0x14002c2d0
mov eax, dword [0x1400c4d2c]
jmp 0x14002c38b
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 0x14002c364
lea r8, [0x1400a4fd4]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140066d00
lea r8, str.Zoom
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140066d00
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.140066d00
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 [0x1400c4da0], rax
call fcn.14002be80
mov edi, 1
test eax, eax
je 0x14002c37d
call fcn.14002bd04
test eax, eax
je 0x14002c37d
mov ebx, edi
mov dword [0x1400c4d2c], ebx
mov eax, ebx
mov dword [0x1400cbb38], edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret

Function at 0x14002c3ac
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x14002c406
mov rcx, qword [0x1400c4da0]
cmp rcx, 0xffffffffffffffff
je 0x14002c406
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.140065fe4
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, qword [0x1400c4da0]
mov rdx, rbx
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14002c408
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14002c410
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 [0x1400c4a20]
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 main
xor ebp, ebp
and dword [rsp + 0x20], ebp
test rsi, rsi
je 0x14002c5aa
mov rcx, rsi
call fcn.140065fe4
test rax, rax
je 0x14002c5aa
test rbx, rbx
je 0x14002c5aa
and dword [rbx], ebp
call fcn.14002bdbc
test eax, eax
jne 0x14002c59d
call fcn.14002c288
test eax, eax
je 0x14002c59d
mov rcx, rsi
call fcn.14002bef0
test eax, eax
je 0x14002c4c7
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14002c8b8
test eax, eax
jne 0x14002c4c7
mov dword [rbx], 1
jmp 0x14002c59d
mov r9, r13
lea r8, [0x1400ab594]
mov rdx, r13
mov rcx, rsi
call fcn.14002b2c0
mov r15, rax
test rax, rax
jne 0x14002c4ed
lea eax, [r15 + 0xe]
jmp 0x14002c5af
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, r13
jne 0x14002c510
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x14002c595
test byte [rsp + 0x30], 0x10
je 0x14002c579
lea rdx, [0x1400ab598]
lea rcx, [rsp + 0x5c]
call fcn.1400680d0
test eax, eax
je 0x14002c579
lea rdx, [0x1400ab59c]
lea rcx, [rsp + 0x5c]
call fcn.1400680d0
test eax, eax
je 0x14002c579
mov r9, r13
lea r8, [rsp + 0x5c]
mov rdx, r13
mov rcx, rsi
call fcn.14002b2c0
mov rdi, rax
test rax, rax
je 0x14002c579
mov rdx, rbx
mov rcx, rax
call fcn.14002c410
mov ebp, eax
test eax, eax
jne 0x14002c571
cmp dword [rbx], eax
jne 0x14002c58d
mov rcx, rdi
call fcn.14002b278
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14002c595
jmp 0x14002c510
mov rcx, rdi
call fcn.14002b278
mov rcx, r15
call fcn.14002b278
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
jmp 0x14002c5af
mov eax, 0x57
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140080bf0
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 0x14002cb94
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rbx, rcx
test rcx, rcx
je 0x14002cc85
xor eax, eax
lock cmpxchg dword [0x1400cbb3c], esi
mov ecx, eax
jne 0x14002cc0b
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14002cbfe
lea rdx, str.RemoveDllDirectory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [rsi + 2]
test rax, rax
jne 0x14002cc03
mov ecx, 1
mov eax, ecx
xchg dword [0x1400cbb3c], eax
cmp ecx, 1
jne 0x14002cc72
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call main
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002cc85
cmp word [rsp + 0x20], si
je 0x14002cc85
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov r9, rdx
mov r8, rbx
call fcn.14002b2c0
mov rdi, rax
test rax, rax
je 0x14002cc85
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rdi
mov rbx, rax
call fcn.14002b278
mov rax, rbx
jmp 0x14002cc87
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14002cc87
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140080bf0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14002d0e0
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 [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x730], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x800
call main
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14002d1ca
mov ebx, 0x400
lea r8, [0x1400a6488]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400668a8
lea r8, [0x1400a6f68]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400668a8
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14002c410
test eax, eax
jne 0x14002d18b
cmp dword [rsp + 0x20], eax
je 0x14002d18b
lea rcx, [rsp + 0x30]
call fcn.14002c224
test eax, eax
je 0x14002d1ca
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.1400668a8
mov ecx, 2
call fcn.140066410
mov r8, rax
lea rdx, [0x1400ab910]
lea rcx, [rsp + 0x30]
call fcn.14006b330
mov rcx, qword [rbp + 0x730]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rbp
ret
Function at 0x14002eae4
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, [0x1400abd24]
call fcn.140023b64
mov esi, 1
test al, al
je 0x14002eb1d
mov dword [rbx + 0x2318], esi
jmp 0x14002eb59
lea rdx, str.chrome
mov rcx, rdi
call fcn.140023b64
test al, al
je 0x14002eb3c
mov dword [rbx + 0x2318], 2
jmp 0x14002eb59
lea rdx, [0x1400abd40]
mov rcx, rdi
call fcn.140023b64
test al, al
je 0x14002eb59
mov dword [rbx + 0x2318], 3
lea rdi, [rbx + 0x998]
mov rcx, rdi
lea rdx, str.start
call fcn.140023b64
test al, al
je 0x14002eb7b
mov dword [rbx + 0x231c], esi
jmp 0x14002eb98
lea rdx, str.join
mov rcx, rdi
call fcn.140023b64
test al, al
je 0x14002eb98
mov dword [rbx + 0x231c], 2
lea rcx, [rbx + 0xaa8]
lea rdx, str.silent
call fcn.140023b64
test al, al
je 0x14002ebb5
mov dword [rbx + 0x2320], esi
lea rsi, [rbx + 0x118]
mov rcx, rsi
call fcn.140023924
test al, al
je 0x14002ebd4
lea rdx, str.Zoom.msi
call fcn.14002399c
lea rcx, [rbx + 0x338]
call fcn.140023924
test al, al
je 0x14002ebf0
lea rdx, str.908F2965_E831_4F9C_AB57_3618FC81651E
call fcn.14002399c
mov rcx, rbx
lea rdi, [rbx + 0x2338]
call fcn.14002eae0
mov rcx, rdi
cmp eax, 0x32
jne 0x14002ec15
call fcn.140024150
lea rdx, str.Airhost.CAB
jmp 0x14002ec77
call fcn.140024150
mov rdx, rsi
mov rcx, rdi
call fcn.140023b04
mov rcx, rdi
call fcn.1400237a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002ec7f
mov rcx, rdi
call fcn.140024150
lea rdx, str.ZoomFull_Sip.CAB
mov rcx, rdi
call fcn.140023b2c
mov rcx, rdi
call fcn.1400237a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002ec7f
mov rcx, rdi
call fcn.140024150
lea rdx, str.ZoomFull.CAB
mov rcx, rdi
call fcn.140023b2c
lea rcx, [rbx + 0x668]
call fcn.140023924
test al, al
jne 0x14002ec97
mov rdx, rsi
call fcn.140023b04
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002eca8
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x130]
mov rbx, rdx
call fcn.140023644
lea rcx, [rsp + 0x20]
call fcn.140023644
lea rcx, [rsp + 0x130]
call fcn.140024150
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x130]
call fcn.140023b2c
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140023970
lea rdx, str.winhttp.dll
lea rcx, [rsp + 0x20]
call fcn.140023b2c
lea rcx, [rsp + 0x20]
call fcn.1400237a0
lea rcx, [rsp + 0x130]
mov rdx, rax
call fcn.1400237a0
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x20]
call fcn.140023720
lea rcx, [rsp + 0x130]
call fcn.140023720
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140080bf0
add rsp, 0x250
pop rbx
ret
Function at 0x14002f830
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0xc30], rbx
je 0x14002f880
cmp qword [rcx + 0xc38], rbx
je 0x14002f880
lea eax, [rbx + 1]
jmp 0x14002fa7d
test rsi, rsi
jne 0x14002f88c
xor eax, eax
jmp 0x14002fa7d
mov r14d, 0x410
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x60]
call main
mov r8, rsi
mov esi, 0x104
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14002f3ac
lea r8, [0x1400a6488]
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14002f418
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x14002f8ea
lea rcx, str._CptShareAPIWrapper::Init__Failed_to_call_SetDllDirectory_to:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x3b0]
call main
lea r8, [rbp - 0x60]
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.14002f3ac
lea r8, [0x1400abfd0]
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.14002f418
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea r8, str.CptShare.dll
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14002f418
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140051f10
nop
mov rsi, qword [rsp + 0x58]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002fa51
mov word [rsp + 0x4c], bx
mov word [rsp + 0x48], bx
mov word [rsp + 0x44], bx
mov word [rsp + 0x40], bx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp - 0x60]
call fcn.140051a90
test al, al
je 0x14002fa68
mov r14d, 0x40
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x60]
call main
movzx eax, word [rsp + 0x40]
movzx ecx, word [rsp + 0x44]
movzx r8d, word [rsp + 0x48]
movzx r9d, word [rsp + 0x4c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, [0x1400abff0]
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140001378
lea rdx, str.6.2.0.46690
lea rcx, [rsp + 0x60]
call fcn.140066940
mov ecx, ebx
test eax, eax
sete cl
mov dword [rdi + 0xc40], ecx
lea rcx, [rbp - 0x60]
call fcn.14002f6b8
mov qword [rdi + 0xc30], rax
lea r14, [rdi + 0xc38]
mov qword [r14], rbx
test rax, rax
je 0x14002fa51
lea rdx, str.cpt_create_helper
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002fa51
mov rcx, r14
call qword [case.0x140025751.0]
cmp qword [rdi + 0xc30], rbx
je 0x14002fa68
cmp qword [rdi + 0xc38], rbx
je 0x14002fa68
mov ebx, 1
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14002fa7b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140080bf0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret