joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x50
test dword [rcx], 0x100
mov r14, rcx
je 0x140052109
mov rax, qword [rcx + 0x10]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], rdi
mov byte [rax], 0
xor dword [rcx], 0x100
je 0x140052053
mov rbx, qword [rcx + 8]
mov qword [r11 + 0x20], rsi
mov rsi, rbx
cmp rbx, qword [rcx + 0x10]
jae 0x14005204b
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x18], r12
xor r12d, r12d
mov qword [r11 - 0x20], r13
lea r13, str.quot
mov qword [r11 - 0x28], r15
lea r15, str.iostream_stream_error
nop dword [rax]
mov ecx, dword [r14]
test cl, 2
je 0x140051f83
movzx eax, byte [rbx]
cmp al, 0xd
jne 0x140051f67
cmp byte [rbx + 1], 0xa
mov rax, r12
mov byte [rsi], 0xa
sete al
inc rax
add rbx, rax
jmp 0x140052025
cmp al, 0xa
jne 0x140051f83
cmp byte [rbx + 1], 0xd
mov rax, r12
mov byte [rsi], 0xa
sete al
inc rax
add rbx, rax
jmp 0x140052025
test cl, 1
je 0x14005201d
cmp byte [rbx], 0x26
jne 0x14005201d
cmp byte [rbx + 1], 0x23
jne 0x140051fdd
xor eax, eax
mov dword [rsp + 0x60], r12d
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov word [rsp + 0x28], ax
mov rcx, rbx
call fcn.140052120
test rax, rax
je 0x14005201d
movsxd rdi, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov r8, rdi
mov rcx, rsi
mov rbx, rax
call fcn.14007de40
jmp 0x14005202a
mov rdi, r13
movsxd r8, dword [rdi + 8]
lea rcx, [rbx + 1]
mov rdx, qword [rdi]
call fcn.1400623c0
test eax, eax
jne 0x140051fff
movsxd rax, dword [rdi + 8]
cmp byte [rax + rbx + 1], 0x3b
je 0x14005200a
add rdi, 0x10
cmp rdi, r15
jl 0x140051fe0
jmp 0x140052022
movzx eax, byte [rdi + 0xc]
mov byte [rsi], al
mov eax, dword [rdi + 8]
add eax, 2
cdqe
add rbx, rax
jmp 0x140052025
movzx eax, byte [rbx]
mov byte [rsi], al
inc rbx
mov edi, 1
add rsi, rdi
cmp rbx, qword [r14 + 0x10]
jb 0x140051f40
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x70]
mov byte [rsi], 0
mov rsi, qword [rsp + 0x78]
test byte [r14], 4
je 0x1400520ed
mov rbx, qword [r14 + 8]
movzx ecx, byte [rbx]
movsx eax, cl
shr eax, 7
test al, 1
jne 0x14005207c
call fcn.14005f130
test eax, eax
je 0x14005207c
inc rbx
jmp 0x140052061
mov qword [r14 + 8], rbx
movzx ecx, byte [rbx]
test cl, cl
je 0x1400520ed
mov rdi, rbx
nop word [rax + rax]
movsx eax, cl
shr eax, 7
test al, 1
jne 0x1400520d8
movzx ecx, cl
call fcn.14005f130
test eax, eax
je 0x1400520d8
nop word [rax + rax]
movzx ecx, byte [rbx]
movsx eax, cl
shr eax, 7
test al, 1
jne 0x1400520ce
call fcn.14005f130
test eax, eax
je 0x1400520cb
inc rbx
jmp 0x1400520b0
movzx ecx, byte [rbx]
test cl, cl
je 0x1400520ea
mov byte [rdi], 0x20
inc rdi
movzx eax, byte [rbx]
inc rbx
mov byte [rdi], al
inc rdi
movzx ecx, byte [rbx]
test cl, cl
jne 0x140052090
mov byte [rdi], 0
and dword [r14], 0x200
mov rax, qword [r14 + 8]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop r14
ret
mov rax, qword [rcx + 8]
add rsp, 0x50
pop r14
ret
Function at 0x140054530
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140054565
lea r9, str.filename_null_
xor r8d, r8d
lea edx, [rsi + 4]
call fcn.1400546c0
mov eax, dword [rbx + 0x6c]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov qword [rsp + 0x40], rdi
call fcn.140054420
lea r8, [0x1400ab50c]
mov qword [rsp + 0x48], 0
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140064398
test eax, eax
jne 0x14005468e
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14005468e
mov rcx, rbx
call fcn.140054420
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400605f4
mov rcx, rdi
call fcn.14005f8f8
cmp eax, 0xffffffff
jne 0x1400545d4
mov rcx, rdi
call fcn.1400641dc
test eax, eax
jne 0x140054660
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.1400605f4
mov rcx, rdi
call fcn.1400648c0
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov rsi, rax
call fcn.1400605f4
cmp rsi, 0xffffffffffffffff
jae 0x140054660
test rsi, rsi
jne 0x14005460a
lea edx, [rsi + 0xd]
jmp 0x140054665
lea rcx, [rsi + 1]
call fcn.1400797c8
mov r9, rdi
mov qword [rbx + 0x98], rax
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.140060324
cmp rax, rsi
jne 0x140054660
mov rax, qword [rbx + 0x98]
mov rcx, rbx
mov byte [rsi + rax], 0
call fcn.140054860
mov rcx, rdi
call fcn.14005f578
mov eax, dword [rbx + 0x6c]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov edx, 5
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.1400546c0
mov rcx, rdi
call fcn.14005f578
mov eax, dword [rbx + 0x6c]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea r9, str.filename_s
mov rcx, rbx
lea edx, [r8 + 3]
call fcn.1400546c0
mov eax, dword [rbx + 0x6c]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
Function at 0x140055a80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea eax, [rcx - 1]
xor ebp, ebp
mov rsi, r8
mov rbx, rdx
mov edi, ecx
test eax, 0xfffffff7
jne 0x140055ba1
test rdx, rdx
je 0x140055ba1
mov r9, rdx
nop dword [rax + rax]
movzx eax, word [r9]
add r9, 2
test ax, ax
jne 0x140055ac0
sub r9, rbx
lea rdx, str.http:
sar r9, 1
mov rcx, rdx
dec r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055ae0
sub rcx, rdx
sar rcx, 1
lea rax, [rcx - 1]
cmp r9, rax
jb 0x140055b2e
mov rcx, rdx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055b00
sub rcx, rdx
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov ecx, ebp
sete cl
test ecx, ecx
jne 0x140055cd3
mov rcx, rbx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055b31
sub rcx, rbx
lea r9, str.https:
sar rcx, 1
lea rdx, [rcx - 1]
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055b51
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x140055ba1
mov rcx, r9
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055b70
sub rcx, r9
mov rdx, r9
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
mov ecx, ebp
sete cl
test ecx, ecx
jne 0x140055cd3
cmp edi, 3
jne 0x140055be9
test rbx, rbx
je 0x140055bd2
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x140055cd3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140055bd2
test al, 0x10
je 0x140055cd3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp edi, 2
jne 0x140055c0b
test rbx, rbx
je 0x140055bd2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140055bd2
test al, 0x10
jne 0x140055cd3
jmp 0x140055bd2
cmp edi, 4
jne 0x140055c2b
test rsi, rsi
je 0x140055bd2
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x140055cd3
mov rcx, rsi
jmp 0x140055bbf
cmp edi, 5
jne 0x140055cae
test rbx, rbx
je 0x140055bd2
mov rcx, rbx
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055c40
sub rcx, rbx
lea r9, str.mailto:
sar rcx, 1
lea rdx, [rcx - 1]
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055c60
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x140055bd2
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140055c82
sub rcx, r9
mov rdx, r9
sar rcx, 1
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
sete bpl
test ebp, ebp
jmp 0x140055ccd
lea eax, [rdi - 6]
cmp eax, 2
ja 0x140055bd2
call fcn.1400559a0
test eax, eax
jne 0x140055cd3
mov rcx, rbx
call fcn.140055790
test eax, eax
je 0x140055bd2
mov eax, 1
jmp 0x140055bd4
Function at 0x140055ce0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140055d6f
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [rsp + 0x70], ebx
mov eax, 1
mov rcx, qword [rsp + 0x60]
cmovne ebx, eax
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140079240
add rsp, 0x80
pop rbx
ret
Function at 0x140055ff0
Capabilities:
Create process on windows
Find taskbar

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rsp + 0xc0]
mov r12, r8
mov r14, qword [rsp + 0xc8]
mov r13, rdx
mov r15d, dword [rsp + 0xd0]
mov r8, rsi
mov rdx, r9
mov rdi, r9
mov ebp, ecx
call fcn.140055a80
test eax, eax
jne 0x140056048
mov eax, VariantTimeToDosDateTime
jmp 0x1400560b8
mov qword [rsp + 0x58], rbx
call fcn.1400559a0
test eax, eax
jne 0x140056097
call fcn.140055ce0
test eax, eax
je 0x140056097
cmp ebp, 7
je 0x1400560d5
lea eax, [rbp - 1]
test eax, 0xfffffff7
jne 0x140056097
mov r9, r14
mov dword [rsp + 0x20], r15d
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call fcn.1400594f0
mov ebx, eax
test eax, eax
jne 0x140056204
cmp ebp, 1
jne 0x140056204
mov dword [rsp + 0x28], r15d
mov r9, rsi
mov r8, rdi
mov qword [rsp + 0x20], r14
mov rdx, r12
mov rcx, r13
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140079240
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
jne 0x1400560eb
test rsi, rsi
jne 0x1400560eb
xor ebx, ebx
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x1400560b3
call fcn.140055ce0
test eax, eax
jne 0x140056126
mov dword [rsp + 0x28], r15d
lea rdx, str.open
mov r9, rsi
mov qword [rsp + 0x20], r14
mov r8, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp rax, 0x20
seta bl
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x1400560b3
xor ebx, ebx
lea rcx, str.Shell_TrayWnd
xor edx, edx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140056204
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x140056204
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140056204
lea r8, [rsp + 0x38]
mov rcx, rax
lea edx, [rbx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, rbp
test eax, eax
je 0x1400561fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9d, [rbx + 2]
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x1400561fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x40]
test rbp, rbp
je 0x140056204
mov r9d, r15d
mov qword [rsp + 0x20], rbp
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140055d90
mov ebx, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x1400560b3
Function at 0x140056220
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor ebx, ebx
xor eax, eax
lock cmpxchg dword [0x1400bfa60], ebx
mov ecx, eax
jne 0x140056282
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140056275
lea rdx, str.RemoveDllDirectory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [rbx + 2]
test rax, rax
jne 0x14005627a
mov ecx, 1
mov eax, ecx
xchg dword [0x1400bfa60], eax
cmp ecx, 1
jne 0x140056419
mov qword [rsp + 0x260], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x268], rsi
xor edx, edx
mov qword [rsp + 0x270], rdi
mov r8d, 0x208
mov qword [rsp + 0x248], r14
mov qword [rsp + 0x240], r15
call main
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140056415
cmp word [rsp + 0x20], bx
je 0x140056415
mov ebp, ebx
lea rax, [rsp + 0x20]
mov rsi, rbx
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x140056300
mov r15d, 0x5c
test rdi, rdi
je 0x140056333
movzx eax, word [rsp + rdi*2 + 0x1e]
mov rbx, rdi
cmp r15w, ax
je 0x140056333
mov ecx, 0x2f
cmp cx, ax
je 0x140056333
lea ebp, [rcx - 0x2e]
lea rbx, [rdi + 1]
add rbx, 0xb
je 0x140056415
lea rbx, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x140056415
test rdi, rdi
je 0x140056381
lea r8, [rdi + rdi]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14007de40
mov rsi, rdi
test ebp, ebp
je 0x14005638d
mov word [r14 + rsi*2], r15w
inc rsi
movups xmm0, xmmword [str.version.dll]
mov rcx, r14
movups xmmword [r14 + rsi*2], xmm0
mov eax, dword [0x1400ab680]
mov dword [r14 + rsi*2 + 0x10], eax
movzx eax, word [0x1400ab684]
mov word [r14 + rsi*2 + 0x14], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rbx
mov r14, qword [rsp + 0x248]
mov rdi, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x268]
mov rbp, qword [rsp + 0x260]
mov r15, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140079240
add rsp, 0x250
pop rbx
ret
xor eax, eax
jmp 0x1400563d4
xor edx, edx
lea rcx, str.version.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1400563fc

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov qword [rcx + 8], 0
lea rax, vtable.zoom_windows_util::AutoLockFile.0
mov qword [rcx], rax
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140056637
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140056637
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140056710
Capabilities:
Check if file exists
Create directory
Delete file
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, r8
mov rdi, rdx
test rdx, rdx
je 0x1400568a7
test rbx, rbx
je 0x1400568a7
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x105
call main
mov r8, rdi
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.14005f340
mov r8, rbx
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.14005f340
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400567aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400568a7
lea rcx, str._ProductPathHelper::RecursiveRemoveDirA__Path_is:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x1400ab950]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x105
call main
lea r8, [rsp + 0x60]
mov edx, 0x104
lea rcx, [rsp + 0x170]
call fcn.14005f208
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14005e544
cmp rax, 0x104
jae 0x1400568a7
mov byte [rsp + rax + 0x170], 0
inc rax
cmp rax, 0x105
jae 0x1400568ca
mov byte [rsp + rax + 0x170], 0
lea rcx, [rsp + 0x20]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x170]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
mov eax, 0x414
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], 3
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp dword [rsp + 0x44], 0
mov ebx, eax
jne 0x1400568a7
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400568a7
test ebx, 0xfffffbfd
jne 0x1400568a7
cmp ebx, 0x400
je 0x1400568a7
mov eax, 1
jmp 0x1400568a9
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140079240
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret
call fcn.140079634
int3
Function at 0x140057730
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400577c2
test rdx, rdx
je 0x1400577c2
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x400
call main
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x3ff
call fcn.14005f208
lea r8, [0x14009cf34]
mov edx, 0x3ff
lea rcx, [rsp + 0x20]
call fcn.14005f340
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x3ff
call fcn.14005f340
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400577c2
mov eax, 1
jmp 0x1400577c4
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140079240
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret
Function at 0x140058110
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
test rcx, rcx
je 0x140058224
lea rcx, str._CZoomProductPathHelper::RecursiveRemoveDirA__Path_is:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x20a
call main
mov r8, rbx
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.140063a60
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140058181
add rax, rax
cmp rax, 0x20a
jae 0x14005824b
xor edi, edi
mov word [rsp + rax + 0x60], di
add rax, 2
cmp rax, 0x20a
jae 0x14005824b
mov word [rsp + rax + 0x60], di
lea rcx, [rsp + 0x20]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
mov eax, 0x414
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], 3
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
cmp dword [rsp + 0x44], edi
jne 0x140058224
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140058224
test esi, 0xfffffbfd
jne 0x140058220
cmp esi, 0x400
je 0x140058220
mov edi, 1
mov eax, edi
jmp 0x140058226
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140079240
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140079634
int3

Function at 0x140058c00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140058ca0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140058ca0
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call main
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058c90
nop
mov rdx, rsi
lea rcx, [rsp + 0x20]
call rdi
test eax, eax
jne 0x140058c90
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058c70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140058ca2
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140079240
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140058cd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor edi, edi
mov r14, rcx
xor edx, edx
mov esi, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140058ea6
xor edx, edx
mov dword [rsp + 0x60], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call main
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058d69
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x68], eax
je 0x140058d62
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058d42
jmp 0x140058d69
mov esi, dword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140058ea6
mov r8d, esi
mov qword [rsp + 0x38], rdi
xor edx, edx
mov qword [rsp + 0x30], rdi
mov ecx, 0x400
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov ebp, edi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140058dc9
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140058ea6
lea rax, [rsp + 0x40]
mov rcx, rbx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140058e49
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140058e44
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
shl rdx, 0x20
or rdx, rax
shl rcx, 0x20
mov eax, dword [rsp + 0x38]
or rcx, rax
mov eax, 1
cmp rcx, rdx
cmovb ebp, eax
test rbx, rbx
je 0x140058e52
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x140058ea6
cmp qword [0x1400bfa68], rdi
jne 0x140058e98
lea rcx, [0x14009ff28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140058ea6
lea rdx, str.ProcessIdToSessionId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400bfa68], rax
setne dil
test edi, edi
je 0x140058ea6
test rax, rax
je 0x140058ea6
call fcn.140058bb0
mov rdx, r14
mov ecx, esi
call rax
jmp 0x140058ea8
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140079240
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret