joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037884
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x768]
sub rsp, 0x850
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rbp + 0x740], rax
xor r15d, r15d
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0xc30], r15
je 0x1400378db
cmp qword [rcx + 0xc38], r15
je 0x1400378db
lea eax, [r15 + 1]
jmp 0x140037a6b
test rdi, rdi
jne 0x1400378e7
xor eax, eax
jmp 0x140037a6b
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.140076b90
lea rax, [rsp + 0x20]
mov r14d, 0x82
sub rdi, rax
lea rcx, [rsp + 0x20]
mov edx, r14d
mov ebx, 1
lea rax, [rdx + 0x7fffff7c]
test rax, rax
je 0x140037935
movzx eax, word [rcx + rdi]
test ax, ax
je 0x140037935
mov word [rcx], ax
add rcx, 2
sub rdx, rbx
jne 0x140037914
test rdx, rdx
lea rax, [rcx - 2]
mov edi, 0x104
lea r8, [0x140094940]
cmovne rax, rcx
mov edx, edi
lea rcx, [rsp + 0x20]
mov word [rax], r15w
call fcn.140037538
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x140037983
lea rcx, str._CptShareAPIWrapper::Init__Failed_to_call_SetDllDirectory_to:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea rcx, [rbp + 0x330]
mov r8d, 0x410
call fcn.140076b90
lea rdx, [rsp + 0x20]
lea rax, [rbp + 0x330]
sub rdx, rax
lea rcx, [rbp + 0x330]
lea rax, [r14 + 0x7fffff7c]
test rax, rax
je 0x1400379ce
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400379ce
mov word [rcx], ax
add rcx, 2
sub r14, rbx
jne 0x1400379ad
lea rax, [rcx - 2]
test r14, r14
lea r8, [0x140099c30]
mov rdx, rdi
cmovne rax, rcx
lea rcx, [rbp + 0x330]
mov word [rax], r15w
call fcn.140037538
xor edx, edx
lea rcx, [rbp + 0x330]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea r8, str.CptShare.dll
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140037538
lea rcx, [rsp + 0x20]
call fcn.140037714
mov qword [rsi + 0xc30], rax
lea rdi, [rsi + 0xc38]
mov qword [rdi], r15
test rax, rax
je 0x140037a58
lea rdx, str.cpt_create_helper
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140037a58
mov rcx, rdi
call qword [case.0x14002da31.0]
cmp qword [rsi + 0xc30], r15
je 0x140037a66
cmp qword [rdi], r15
jne 0x140037a69
mov ebx, r15d
mov eax, ebx
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.140072030
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140037a98
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rdx
test rdx, rdx
je 0x140037b5b
mov rcx, rdx
call fcn.140052744
test rax, rax
je 0x140037b5b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140037b5b
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.140076b90
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x1400956f4]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140037b4a
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140037b5b
lea rbx, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140037b60
mov eax, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140072030
add rsp, 0x440
pop rbx
ret
Function at 0x14003b414
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x218]
sub rsp, 0x310
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rcx
lea rdi, [rsp + 0x70]
xor eax, eax
lea edx, [rax + 0x68]
mov ecx, edx
rep stosb byte [rdi], al
mov dword [rsp + 0x70], edx
lea rcx, [rbp - 0x20]
call fcn.14002b894
nop
lea rcx, [rbp + 0xf0]
call fcn.14002b894
nop
lea rcx, [rbp - 0x20]
call fcn.14002c430
lea rdx, str.vcredist_x86.exe
lea rcx, [rbp - 0x20]
call fcn.14002bdd4
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xf0]
call fcn.14002bc40
lea rdx, [0x14009a6e0]
lea rcx, [rbp + 0xf0]
call fcn.14002bdd4
lea rcx, [rbp + 0xf0]
call fcn.14002ba70
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14002ba70
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14003b51c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x28a8], rax
mov ebx, 1
jmp 0x14003b56a
mov r9d, 0x748
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsNoMSIInstallerInstallerManager.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140010d78
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str._CInstallerManager::LaunchVS2008RedInstaller__Failed_created_a_process:
lea rcx, [0x1400b20a0]
call fcn.140007b28
mov rcx, rax
mov edx, edi
call fcn.140008cf4
nop
lea rcx, [rsp + 0x50]
call fcn.140010fa4
nop
lea rcx, [rbp + 0xf0]
call fcn.14002b9e0
nop
lea rcx, [rbp - 0x20]
call fcn.14002b9e0
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140072030
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14003b660
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x14003b672
xor eax, eax
jmp 0x14003b6ab
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003b699
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str._CInstallerManager::IsAppRunning__Return_FALSE
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14003b66e
lea rcx, str._CInstallerManager::IsAppRunning__Return_TRUE
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14003eee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rax - 0x18], 0x208
lea rax, [rax + 8]
mov rdi, r9
mov qword [rsp + 0x20], rax
mov rsi, r8
mov r9d, 0x101
xor r8d, r8d
or ebx, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003ef5a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, rdi
mov rax, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove ebx, dword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14003efd8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140076b90
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x14003f043
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000e910
mov al, 1
jmp 0x14003f045
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140072030
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x14003ffec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x10], rdi
jne 0x14004001e
xor al, al
jmp 0x1400401ba
cmp qword [rcx + 0x18], 8
jb 0x140040028
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x14004007f
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140010d78
nop
cmp qword [rbx + 0x18], 8
jb 0x140040055
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Return_false_as_its_a_network_driver:
lea rcx, [0x1400b21c0]
call fcn.14000f6a8
mov rcx, rax
mov rdx, rbx
call fcn.14000f6a8
nop
lea rcx, [rbp - 0x30]
call fcn.140010fa4
jmp 0x140040017
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000e98c
nop
lea rcx, [0x140094940]
call fcn.140052744
mov r8, rax
lea rdx, [0x140094940]
lea rcx, [rbp - 0x28]
call fcn.14000f52c
lea rcx, str.Zoom
call fcn.140052744
mov r8, rax
lea rdx, str.Zoom
lea rcx, [rbp - 0x28]
call fcn.14000f52c
lea rcx, [0x140094940]
call fcn.140052744
mov r8, rax
lea rdx, [0x140094940]
lea rcx, [rbp - 0x28]
call fcn.14000f52c
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140040115
test al, 0x10
je 0x140040115
mov dil, 1
mov r9d, 0x225
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140010d78
nop
cmp qword [rbx + 0x18], 8
jb 0x140040138
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Has_Zoom:
lea rcx, [0x1400b21c0]
call fcn.14000f6a8
mov rcx, rax
mov dl, dil
call fcn.14000daac
mov rcx, rax
lea rdx, str._for_path:
call fcn.14000f6a8
mov rcx, rax
mov rdx, rbx
call fcn.14000f6a8
nop
lea rcx, [rbp - 0x30]
call fcn.140010fa4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400401b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400401b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400401d6
call fcn.14002a510
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140072030
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.140052fa0
int3
Function at 0x140040bf8
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.zoom.us_Installer_Mutex_1.0.0.0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140040c3e
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140040c3e
mov eax, 1
jmp 0x140040c49
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400417d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1060
call fcn.140072f80
sub rsp, rax
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov rax, qword [rcx + 8]
test rax, rax
je 0x14004190e
mov byte [rcx + 0x10], 1
mov byte [rax], 0
mov rdx, qword [rcx + 8]
add rdx, 8
cmp qword [rdx + 0x18], 0x10
jb 0x140041823
mov rdx, qword [rdx]
lea r8, [0x1400946d0]
lea rcx, [rsp + 0x20]
call fcn.140056e88
cmp qword [rsp + 0x20], 0
jne 0x14004184c
mov rax, qword [rdi + 8]
mov byte [rax], 1
mov byte [rdi + 0x10], 0
jmp 0x14004190e
cmp byte [rdi + 0x11], 0
jne 0x1400418f6
mov r9, qword [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.140057650
test eax, eax
jle 0x140041887
lea rcx, [rdi + 0x18]
mov r8d, eax
lea rdx, [rsp + 0x50]
call fcn.140021680
jmp 0x14004184c
jne 0x14004184c
lea rcx, [rdi + 0x18]
call fcn.14002178c
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x18]
call fcn.140021828
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400418ab
mov rax, qword [rax]
mov rcx, qword [rdi + 8]
add rcx, 0x48
mov rdx, rax
call fcn.1400077b4
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400418f6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400418f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041931
call fcn.14002a510
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14004183c
call fcn.140053740
jmp 0x14004183c
xor eax, eax
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140072030
mov rbx, qword [rsp + 0x1078]
add rsp, 0x1060
pop rdi
ret
call fcn.140052fa0
nop
int3
Function at 0x140042200
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
and dword [rcx], 0
mov dword [rcx + 4], 1
lea rdi, [rcx + 8]
and qword [rdi], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbx], eax
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x14004228a
cmp eax, 0x80010106
je 0x14004228a
mov r9d, 0xf1
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140010d78
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400b20a0]
call fcn.140007b28
mov rcx, rax
mov edx, dword [rbx]
call fcn.140020914
nop
lea rcx, [rsp + 0x40]
call fcn.140010fa4
and dword [rbx + 4], 0
cmp dword [rbx + 4], 0
je 0x1400422fe
mov qword [rsp + 0x20], rdi
lea r9, [0x14009c8d0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14009c910]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x1400422fe
mov r9d, 0x102
lea r8, str.c:jenkinsworkspaceClientClientWindows_release_64client_srcinstallwindowsNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140010d78
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400b20a0]
call fcn.140007b28
mov rcx, rax
mov edx, edi
call fcn.140020914
nop
lea rcx, [rsp + 0x40]
call fcn.140010fa4
and dword [rbx + 4], 0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14004769c
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x1400afa38]
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 fcn.140076b90
or rdi, 0xffffffffffffffff
test rbp, rbp
je 0x1400477f2
mov rcx, rbp
call fcn.140052744
test rax, rax
je 0x1400477f2
lea r8, [0x1400992c0]
mov rcx, rbp
call fcn.14004748c
mov rsi, rax
test rax, rax
jne 0x14004771e
lea ecx, [rdi + 0xf]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400477e2
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400477da
test byte [rsp + 0x20], 0x10
je 0x14004776a
lea rdx, [0x1400992c4]
lea rcx, [rsp + 0x4c]
call fcn.140052484
test eax, eax
je 0x1400477c4
lea rdx, [0x140097b9c]
lea rcx, [rsp + 0x4c]
call fcn.140052484
test eax, eax
je 0x1400477c4
lea r8, [rsp + 0x4c]
mov rcx, rbp
call fcn.14004748c
mov rbx, rax
test rax, rax
je 0x1400477c4
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x1400477ab
call fcn.1400342a0
test eax, eax
jne 0x1400477a0
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14004769c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400477bc
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x14002da31.0]
mov rcx, rbx
call fcn.140033580
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140047739
mov rcx, rsi
call fcn.140033580
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x1400477ff
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140072030
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x140047849
lea ecx, [rdi + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140047885
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14004785a
mov eax, 1
jmp 0x140047885
mov rcx, rdi
call fcn.1400342a0
test eax, eax
jne 0x140047875
lea rdx, [0x1400342e0]
mov rcx, rdi
call fcn.14004769c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140047958
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x202
call fcn.140076b90
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x100
call fcn.140047890
test eax, eax
je 0x1400479f0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1400479f0
mov rax, qword [0x1400b3970]
lea r9, [rsp + 0x38]
mov r8d, 1
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [case.0x14002da31.0]
test eax, eax
jne 0x1400479f0
mov rcx, qword [rsp + 0x38]
mov rax, qword [0x1400b3960]
cmp dword [rcx + 0x14], 2
sete bl
call qword [case.0x14002da31.0]
mov al, bl
jmp 0x1400479f2
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140072030
add rsp, 0x260
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14002b93c
nop
lea rdx, [0x140094940]
lea rcx, [rsp + 0x20]
call fcn.14002bdd4
mov rcx, rbx
call fcn.14002bbf4
lea rcx, [rsp + 0x20]
test al, al
je 0x140047f64
lea rdx, str.Zoom.lnk
call fcn.14002bdd4
jmp 0x140047f6c
mov rdx, rbx
call fcn.14002bdac
lea rcx, [rsp + 0x20]
call fcn.14002ba70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x20]
call fcn.14002b9e0
mov al, bl
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140072030
add rsp, 0x140
pop rbx
ret

Function at 0x140048300
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rcx
test rcx, rcx
je 0x1400483c9
call fcn.140052744
test rax, rax
je 0x1400483c9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400483c9
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.140076b90
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x1400956f4]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400483b3
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400483c9
lea rbx, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
jmp 0x1400483cb
mov al, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140072030
add rsp, 0x440
pop rbx
ret
Function at 0x1400483e4
Capabilities:
Copy file
Get file attributes
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x1400afa38]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor esi, esi
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140048565
test rdx, rdx
je 0x140048565
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140048440
mov al, 1
jmp 0x140048567
mov r14d, 0x412
lea rcx, [rsp + 0x60]
mov r8d, r14d
xor edx, edx
call fcn.140076b90
mov r8d, r14d
lea rcx, [rbp + 0x380]
xor edx, edx
call fcn.140076b90
mov r8, rdi
lea rcx, [rsp + 0x60]
mov edx, 0x208
call fcn.140052ae0
mov rcx, rdi
call fcn.140052744
cdqe
lea rcx, [rax + rax]
cmp rcx, r14
jae 0x14004858e
lea rax, [rax*2 + 2]
mov word [rsp + rcx + 0x60], si
cmp rax, r14
jae 0x14004858e
mov r8, rbx
mov word [rsp + rax + 0x60], si
mov edx, 0x208
lea rcx, [rbp + 0x380]
call fcn.140052ae0
mov rcx, rbx
call fcn.140052744
cdqe
lea rcx, [rax + rax]
cmp rcx, r14
jae 0x14004858e
lea rax, [rax*2 + 2]
mov word [rbp + rcx + 0x380], si
cmp rax, r14
jae 0x14004858e
mov word [rbp + rax + 0x380], si
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
lea rax, [rbp + 0x380]
mov qword [rsp + 0x38], rax
lea eax, [r14 + 2]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], 2
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [rsp + 0x44], esi
jne 0x140048565
test eax, eax
jne 0x140048565
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x140048565
mov rcx, rdi
call fcn.140047828
jmp 0x140048439
xor al, al
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140072030
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140072164
int3
Function at 0x140048594
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
test rcx, rcx
je 0x1400486b0
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400486b0
lea r9, [rbp + 0x28]
mov word [rbp + 0x20], di
lea r8d, [rdi + 2]
mov dword [rbp + 0x28], edi
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400486a7
cmp dword [rbp + 0x28], 2
jne 0x1400486a7
mov eax, 0x5a4d
cmp word [rbp + 0x20], ax
jne 0x1400486a7
xor r9d, r9d
lea edx, [rdi + 0x3c]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp + 0x28]
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 2]
mov rcx, rbx
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400486a7
cmp dword [rbp + 0x28], 2
jne 0x1400486a7
movzx edx, word [rbp + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp + 0x28]
mov dword [rbp + 0x30], edi
lea r8d, [rdi + 4]
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400486a7
cmp dword [rbp + 0x28], 4
jne 0x1400486a7
cmp dword [rbp + 0x30], 0x4550
jne 0x1400486a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rdi + 1]
jmp 0x1400486b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret