joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051618
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.14007b890
sub rsp, rax
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov rdi, rcx
call fcn.1400291e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1400516cb
mov r9d, 0x1ba
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
lea edx, [rax + 1]
lea rcx, [rsp + 0x28]
call fcn.14000b3c8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._FindRunningInstance__failed_to_enum_processes__error_code:
lea rcx, [0x1400bf0f0]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x28]
call fcn.14000b5f4
xor eax, eax
jmp 0x140051828
mov esi, dword [rsp + 0x20]
shr esi, 2
xor r15d, r15d
test esi, esi
je 0x14005181a
lea r12, [rsp + 0x30]
mov r8d, dword [r12]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x1400517ce
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0xf30], xmm0
mov ebx, dword [0x1400abd18]
mov dword [rbp + 0xf40], ebx
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0xf44]
call main
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0x1140], xmm0
mov dword [rbp + 0x1150], ebx
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x1154]
call main
lea r9, [rsp + 0x20]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x1400517a8
mov r9d, 0x104
lea r8, [rbp + 0xf30]
mov rdx, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov r9d, 0x104
lea r8, [rbp + 0x1140]
mov rdx, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 8
lea rdx, [rbp + 0xf30]
lea rcx, str.Zoom.exe
call fcn.1400656a8
test eax, eax
je 0x1400517df
inc r15d
add r12, 4
cmp r15d, esi
jae 0x14005181a
jmp 0x1400516e2
lea rdx, [rbp + 0x1140]
mov rcx, rdi
call fcn.14002924c
mov edx, 0x5c
mov rcx, rdi
call fcn.1400296a8
cmp eax, 0xffffffff
jne 0x140051810
lea edx, [rax + 0x30]
mov rcx, rdi
call fcn.1400296a8
cmp eax, 0xffffffff
je 0x14005181a
mov edx, eax
mov rcx, rdi
call fcn.140029450
mov rcx, rdi
call fcn.1400291d4
movzx eax, al
xor eax, 1
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140051a9c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
xor ebx, ebx
mov qword [r11 - 0x38], rbx
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x20], rbx
lea rcx, [r11 - 0x38]
call fcn.14000931c
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140051adf
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000566c
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140051b48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051b43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051b62
call fcn.140027b00
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007a950
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.14005fbcc
int3

Function at 0x1400523e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rcx + 8]
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1400523a0]
and dword [rsp + 0x20], 0
mov r9, rdx
xor edx, edx
xor ecx, ecx
call fcn.14006580c
mov qword [rbx], rax
add rsp, 0x30
pop rbx
ret
Function at 0x140052780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x50
test dword [rcx], 0x100
mov r14, rcx
je 0x1400529b9
mov rax, qword [rcx + 0x10]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], rdi
mov byte [rax], 0
xor dword [rcx], 0x100
je 0x140052903
mov rbx, qword [rcx + 8]
mov qword [r11 + 0x20], rsi
mov rsi, rbx
cmp rbx, qword [rcx + 0x10]
jae 0x1400528fb
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 0x140052833
movzx eax, byte [rbx]
cmp al, 0xd
jne 0x140052817
cmp byte [rbx + 1], 0xa
mov rax, r12
mov byte [rsi], 0xa
sete al
inc rax
add rbx, rax
jmp 0x1400528d5
cmp al, 0xa
jne 0x140052833
cmp byte [rbx + 1], 0xd
mov rax, r12
mov byte [rsi], 0xa
sete al
inc rax
add rbx, rax
jmp 0x1400528d5
test cl, 1
je 0x1400528cd
cmp byte [rbx], 0x26
jne 0x1400528cd
cmp byte [rbx + 1], 0x23
jne 0x14005288d
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.1400529d0
test rax, rax
je 0x1400528cd
movsxd rdi, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov r8, rdi
mov rcx, rsi
mov rbx, rax
call fcn.14007f550
jmp 0x1400528da
mov rdi, r13
movsxd r8, dword [rdi + 8]
lea rcx, [rbx + 1]
mov rdx, qword [rdi]
call fcn.140063b30
test eax, eax
jne 0x1400528af
movsxd rax, dword [rdi + 8]
cmp byte [rax + rbx + 1], 0x3b
je 0x1400528ba
add rdi, 0x10
cmp rdi, r15
jl 0x140052890
jmp 0x1400528d2
movzx eax, byte [rdi + 0xc]
mov byte [rsi], al
mov eax, dword [rdi + 8]
add eax, 2
cdqe
add rbx, rax
jmp 0x1400528d5
movzx eax, byte [rbx]
mov byte [rsi], al
inc rbx
mov edi, 1
add rsi, rdi
cmp rbx, qword [r14 + 0x10]
jb 0x1400527f0
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 0x14005299d
mov rbx, qword [r14 + 8]
movzx ecx, byte [rbx]
movsx eax, cl
shr eax, 7
test al, 1
jne 0x14005292c
call fcn.1400608a0
test eax, eax
je 0x14005292c
inc rbx
jmp 0x140052911
mov qword [r14 + 8], rbx
movzx ecx, byte [rbx]
test cl, cl
je 0x14005299d
mov rdi, rbx
nop word [rax + rax]
movsx eax, cl
shr eax, 7
test al, 1
jne 0x140052988
movzx ecx, cl
call fcn.1400608a0
test eax, eax
je 0x140052988
nop word [rax + rax]
movzx ecx, byte [rbx]
movsx eax, cl
shr eax, 7
test al, 1
jne 0x14005297e
call fcn.1400608a0
test eax, eax
je 0x14005297b
inc rbx
jmp 0x140052960
movzx ecx, byte [rbx]
test cl, cl
je 0x14005299a
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 0x140052940
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 0x140054de0
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 0x140054e15
lea r9, str.filename_null_
xor r8d, r8d
lea edx, [rsi + 4]
call fcn.140054f70
mov eax, dword [rbx + 0x6c]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov qword [rsp + 0x40], rdi
call fcn.140054cd0
lea r8, [0x1400ac3cc]
mov qword [rsp + 0x48], 0
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140065aa8
test eax, eax
jne 0x140054f3e
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140054f3e
mov rcx, rbx
call fcn.140054cd0
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140061d64
mov rcx, rdi
call fcn.140061068
cmp eax, 0xffffffff
jne 0x140054e84
mov rcx, rdi
call fcn.1400658ec
test eax, eax
jne 0x140054f10
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140061d64
mov rcx, rdi
call fcn.140065fd0
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov rsi, rax
call fcn.140061d64
cmp rsi, 0xffffffffffffffff
jae 0x140054f10
test rsi, rsi
jne 0x140054eba
lea edx, [rsi + 0xd]
jmp 0x140054f15
lea rcx, [rsi + 1]
call fcn.14007aed8
mov r9, rdi
mov qword [rbx + 0x98], rax
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.140061a94
cmp rax, rsi
jne 0x140054f10
mov rax, qword [rbx + 0x98]
mov rcx, rbx
mov byte [rsi + rax], 0
call fcn.140055110
mov rcx, rdi
call fcn.140060ce8
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.140054f70
mov rcx, rdi
call fcn.140060ce8
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.140054f70
mov eax, dword [rbx + 0x6c]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
Function at 0x140055d80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbp, rcx
test rcx, rcx
je 0x140055f3e
xor ebx, ebx
xor eax, eax
lock cmpxchg dword [0x1400c0a60], ebx
mov ecx, eax
jne 0x140055e04
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140055df7
lea rdx, str.RemoveDllDirectory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [rbx + 2]
test rax, rax
jne 0x140055dfc
mov ecx, 1
mov eax, ecx
xchg dword [0x1400c0a60], eax
cmp ecx, 1
jne 0x140055f2b
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 0x140055f3e
cmp word [rsp + 0x20], bx
je 0x140055f3e
mov rsi, 0xffffffffffffffff
lea rax, [rsp + 0x20]
mov rdi, rsi
mov r12d, ebx
mov r15, rbx
inc rdi
cmp word [rax + rdi*2], bx
jne 0x140055e57
mov r13d, 0x5c
test rdi, rdi
je 0x140055e90
movzx eax, word [rsp + rdi*2 + 0x1e]
mov rbx, rdi
cmp r13w, ax
je 0x140055e90
mov ecx, 0x2f
cmp cx, ax
je 0x140055e90
lea r12d, [r13 - 0x5b]
lea rbx, [rdi + 1]
nop dword [rax + rax]
inc rsi
cmp word [rbp + rsi*2], r15w
jne 0x140055e90
add rbx, rsi
je 0x140055f3e
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 0x140055f3e
test rdi, rdi
je 0x140055ee4
lea r8, [rdi + rdi]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14007f550
mov r15, rdi
test r12d, r12d
je 0x140055ef1
mov word [r14 + r15*2], r13w
inc r15
test rsi, rsi
je 0x140055f06
lea r8, [rsi + rsi]
mov rdx, rbp
lea rcx, [r14 + r15*2]
call fcn.14007f550
mov rcx, r14
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
jmp 0x140055f40
xor edx, edx
mov r8d, 0x800
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x140055f40
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140056400
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 0x140056467
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140056467
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 0x140056790
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 0x1400568b1
test rdx, rdx
je 0x1400568b1
mov r9, rdx
nop dword [rax + rax]
movzx eax, word [r9]
add r9, 2
test ax, ax
jne 0x1400567d0
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 0x1400567f0
sub rcx, rdx
sar rcx, 1
lea rax, [rcx - 1]
cmp r9, rax
jb 0x14005683e
mov rcx, rdx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140056810
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 0x1400569e3
mov rcx, rbx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140056841
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 0x140056861
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x1400568b1
mov rcx, r9
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140056880
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 0x1400569e3
cmp edi, 3
jne 0x1400568f9
test rbx, rbx
je 0x1400568e2
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x1400569e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400568e2
test al, 0x10
je 0x1400569e3
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 0x14005691b
test rbx, rbx
je 0x1400568e2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400568e2
test al, 0x10
jne 0x1400569e3
jmp 0x1400568e2
cmp edi, 4
jne 0x14005693b
test rsi, rsi
je 0x1400568e2
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x1400569e3
mov rcx, rsi
jmp 0x1400568cf
cmp edi, 5
jne 0x1400569be
test rbx, rbx
je 0x1400568e2
mov rcx, rbx
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140056950
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 0x140056970
sub rcx, r9
sar rcx, 1
lea rax, [rcx - 1]
cmp rdx, rax
jb 0x1400568e2
mov rcx, r9
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140056992
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 0x1400569dd
lea eax, [rdi - 6]
cmp eax, 2
ja 0x1400568e2
call fcn.1400566b0
test eax, eax
jne 0x1400569e3
mov rcx, rbx
call fcn.14005a240
test eax, eax
je 0x1400568e2
mov eax, 1
jmp 0x1400568e4
Function at 0x1400569f0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400bca20]
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 0x140056a7f
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.14007a950
add rsp, 0x80
pop rbx
ret
Function at 0x140056d00
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 [0x1400bca20]
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.140056790
test eax, eax
jne 0x140056d58
mov eax, VariantTimeToDosDateTime
jmp 0x140056dc8
mov qword [rsp + 0x58], rbx
call fcn.1400566b0
test eax, eax
jne 0x140056da7
call fcn.1400569f0
test eax, eax
je 0x140056da7
cmp ebp, 7
je 0x140056de5
lea eax, [rbp - 1]
test eax, 0xfffffff7
jne 0x140056da7
mov r9, r14
mov dword [rsp + 0x20], r15d
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call fcn.14005a730
mov ebx, eax
test eax, eax
jne 0x140056f14
cmp ebp, 1
jne 0x140056f14
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.14007a950
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
jne 0x140056dfb
test rsi, rsi
jne 0x140056dfb
xor ebx, ebx
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x140056dc3
call fcn.1400569f0
test eax, eax
jne 0x140056e36
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 0x140056dc3
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 0x140056f14
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x140056f14
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140056f14
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 0x140056f0e
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 0x140056f0e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x40]
test rbp, rbp
je 0x140056f14
mov r9d, r15d
mov qword [rsp + 0x20], rbp
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140056aa0
mov ebx, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
neg ebx
sbb rax, rax
and eax, 0x21
jmp 0x140056dc3
Function at 0x1400573e0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r8
mov rdi, rdx
test rdx, rdx
je 0x140057483
test rbx, rbx
je 0x140057483
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x105
call main
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.140060ab0
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.140060ab0
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14005746e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140057483
lea rcx, [rsp + 0x20]
call fcn.140058de0
test eax, eax
je 0x140057483
mov eax, 1
jmp 0x140057485
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14007a950
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x140058200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140058292
test rdx, rdx
je 0x140058292
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x400
call main
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x3ff
call fcn.140060978
lea r8, [0x14009df34]
mov edx, 0x3ff
lea rcx, [rsp + 0x20]
call fcn.140060ab0
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x3ff
call fcn.140060ab0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140058292
mov eax, 1
jmp 0x140058294
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14007a950
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140058407
test rdx, rdx
je 0x140058407
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x800
call main
mov r8, rdi
lea rcx, [rbp - 0x70]
mov edx, 0x3ff
call fcn.1400605f0
lea r8, [0x14009f290]
mov edx, 0x3ff
lea rcx, [rbp - 0x70]
call fcn.140060658
mov r8, rbx
lea rcx, [rbp - 0x70]
mov edx, 0x3ff
call fcn.140060658
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140058407
xor eax, eax
lea r9, [rsp + 0x44]
mov word [rsp + 0x4c], ax
lea r8, [rsp + 0x48]
mov word [rsp + 0x48], ax
lea rdx, [rsp + 0x4c]
mov word [rsp + 0x44], ax
lea rcx, [rbp - 0x70]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.140055f80
test al, al
je 0x140058407
movzx eax, word [rsp + 0x40]
lea r8, [0x1400a50f0]
movzx ecx, word [rsp + 0x44]
xorps xmm0, xmm0
movzx edx, word [rsp + 0x48]
movzx r9d, word [rsp + 0x4c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], edx
mov edx, 0x40
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
call fcn.140001368
lea rdx, str.6.0.11.39959
lea rcx, [rsp + 0x50]
call fcn.1400606f0
test eax, eax
jne 0x140058407
lea rcx, [rbp - 0x70]
call fcn.14005a240
jmp 0x140058409
xor eax, eax
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret