joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037d68
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 [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x740], rax
xor r15d, r15d
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0xc30], r15
je 0x140037dbf
cmp qword [rcx + 0xc38], r15
je 0x140037dbf
lea eax, [r15 + 1]
jmp 0x140037f4f
test rdi, rdi
jne 0x140037dcb
xor eax, eax
jmp 0x140037f4f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.14007c100
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 0x140037e19
movzx eax, word [rcx + rdi]
test ax, ax
je 0x140037e19
mov word [rcx], ax
add rcx, 2
sub rdx, rbx
jne 0x140037df8
test rdx, rdx
lea rax, [rcx - 2]
mov edi, 0x104
lea r8, [0x14009a640]
cmovne rax, rcx
mov edx, edi
lea rcx, [rsp + 0x20]
mov word [rax], r15w
call fcn.140037a1c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x140037e67
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.14007c100
lea rdx, [rsp + 0x20]
lea rax, [rbp + 0x330]
sub rdx, rax
lea rcx, [rbp + 0x330]
lea rax, [r14 + 0x7fffff7c]
test rax, rax
je 0x140037eb2
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140037eb2
mov word [rcx], ax
add rcx, 2
sub r14, rbx
jne 0x140037e91
lea rax, [rcx - 2]
test r14, r14
lea r8, [0x1400a05c0]
mov rdx, rdi
cmovne rax, rcx
lea rcx, [rbp + 0x330]
mov word [rax], r15w
call fcn.140037a1c
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.140037a1c
lea rcx, [rsp + 0x20]
call fcn.140037bf8
mov qword [rsi + 0xc30], rax
lea rdi, [rsi + 0xc38]
mov qword [rdi], r15
test rax, rax
je 0x140037f3c
lea rdx, str.cpt_create_helper
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140037f3c
mov rcx, rdi
call qword [case.0x14002de11.0]
cmp qword [rsi + 0xc30], r15
je 0x140037f4a
cmp qword [rdi], r15
jne 0x140037f4d
mov ebx, r15d
mov eax, ebx
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.1400775a0
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 0x140037f7c
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rdx
test rdx, rdx
je 0x14003803f
mov rcx, rdx
call fcn.140057e3c
test rax, rax
je 0x14003803f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003803f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.14007c100
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14009b60c]
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 0x14003802e
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003803f
lea rbx, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140038044
mov eax, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x440
pop rbx
ret
Function at 0x14003bd54
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 [0x1400b7a38]
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.14002bc74
nop
lea rcx, [rbp + 0xf0]
call fcn.14002bc74
nop
lea rcx, [rbp - 0x20]
call fcn.14002c810
lea rdx, str.vcredist_x86.exe
lea rcx, [rbp - 0x20]
call fcn.14002c1b4
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xf0]
call fcn.14002c020
lea rdx, [0x1400a1070]
lea rcx, [rbp + 0xf0]
call fcn.14002c1b4
lea rcx, [rbp + 0xf0]
call fcn.14002be50
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14002be50
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 0x14003be5c
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 0x14003beaa
mov r9d, 0x798
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerInstallerManager.cpp
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.14000e788
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str._CInstallerManager::LaunchVS2008RedInstaller__Failed_created_a_process:
lea rcx, [0x1400ba0c0]
call fcn.140007bbc
mov rcx, rax
mov edx, edi
call fcn.140005910
nop
lea rcx, [rsp + 0x50]
call fcn.14000e9b4
nop
lea rcx, [rbp + 0xf0]
call fcn.14002bdc0
nop
lea rcx, [rbp - 0x20]
call fcn.14002bdc0
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400775a0
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 0x14003bfa0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rdx, rdx
jne 0x14003bfb2
xor eax, eax
jmp 0x14003bfeb
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003bfd9
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 0x14003bfae
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 0x1400404a0
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 0x14004051a
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 0x140040598
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400b7a38]
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.14007c100
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x140040603
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400089b4
mov al, 1
jmp 0x140040605
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400775a0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x1400415ac
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 [0x1400b7a38]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x10], rdi
jne 0x1400415de
xor al, al
jmp 0x14004177a
cmp qword [rcx + 0x18], 8
jb 0x1400415e8
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x14004163f
mov r9d, 0x20e
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000e788
nop
cmp qword [rbx + 0x18], 8
jb 0x140041615
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Return_false_as_its_a_network_driver:
lea rcx, [0x1400ba1e0]
call fcn.14000d388
mov rcx, rax
mov rdx, rbx
call fcn.14000d388
nop
lea rcx, [rbp - 0x30]
call fcn.14000e9b4
jmp 0x1400415d7
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000c6dc
nop
lea rcx, [0x14009a640]
call fcn.140057e3c
mov r8, rax
lea rdx, [0x14009a640]
lea rcx, [rbp - 0x28]
call fcn.140008a9c
lea rcx, str.Zoom
call fcn.140057e3c
mov r8, rax
lea rdx, str.Zoom
lea rcx, [rbp - 0x28]
call fcn.140008a9c
lea rcx, [0x14009a640]
call fcn.140057e3c
mov r8, rax
lea rdx, [0x14009a640]
lea rcx, [rbp - 0x28]
call fcn.140008a9c
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 0x1400416d5
test al, 0x10
je 0x1400416d5
mov dil, 1
mov r9d, 0x225
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserUtil.cpp
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14000e788
nop
cmp qword [rbx + 0x18], 8
jb 0x1400416f8
mov rbx, qword [rbx]
lea rdx, str.___HasZoomUnder__Has_Zoom:
lea rcx, [0x1400ba1e0]
call fcn.14000d388
mov rcx, rax
mov dl, dil
call fcn.14000b960
mov rcx, rax
lea rdx, str._for_path:
call fcn.14000d388
mov rcx, rax
mov rdx, rbx
call fcn.14000d388
nop
lea rcx, [rbp - 0x30]
call fcn.14000e9b4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140041777
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041772
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041796
call fcn.14002a8f0
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400775a0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
call fcn.140058698
int3
Function at 0x1400421b8
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 0x1400421fe
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400421fe
mov eax, 1
jmp 0x140042209
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400439ac
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 0x140043a36
cmp eax, 0x80010106
je 0x140043a36
mov r9d, 0xf1
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14000e788
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400ba0c0]
call fcn.140007bbc
mov rcx, rax
mov edx, dword [rbx]
call fcn.1400218c8
nop
lea rcx, [rsp + 0x40]
call fcn.14000e9b4
and dword [rbx + 4], 0
cmp dword [rbx + 4], 0
je 0x140043aaa
mov qword [rsp + 0x20], rdi
lea r9, [0x1400a3460]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400a34a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x140043aaa
mov r9d, 0x102
lea r8, str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerWinFWUtil_Win7.cpp
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.14000e788
nop
lea rdx, str._CZoomFirewallUtil::CZoomFirewallUtil__CoCreateInstance_failed:
lea rcx, [0x1400ba0c0]
call fcn.140007bbc
mov rcx, rax
mov edx, edi
call fcn.1400218c8
nop
lea rcx, [rsp + 0x40]
call fcn.14000e9b4
and dword [rbx + 4], 0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140048eb8
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 [0x1400b7a38]
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.14007c100
or rdi, 0xffffffffffffffff
test rbp, rbp
je 0x14004900e
mov rcx, rbp
call fcn.140057e3c
test rax, rax
je 0x14004900e
lea r8, [0x14009fbc0]
mov rcx, rbp
call fcn.140048ca8
mov rsi, rax
test rax, rax
jne 0x140048f3a
lea ecx, [rdi + 0xf]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140048ffe
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140048ff6
test byte [rsp + 0x20], 0x10
je 0x140048f86
lea rdx, [0x14009fbc4]
lea rcx, [rsp + 0x4c]
call fcn.140057b7c
test eax, eax
je 0x140048fe0
lea rdx, [0x14009e49c]
lea rcx, [rsp + 0x4c]
call fcn.140057b7c
test eax, eax
je 0x140048fe0
lea r8, [rsp + 0x4c]
mov rcx, rbp
call fcn.140048ca8
mov rbx, rax
test rax, rax
je 0x140048fe0
test byte [rsp + 0x20], 0x10
mov rcx, rax
je 0x140048fc7
call fcn.14003468c
test eax, eax
jne 0x140048fbc
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.140048eb8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140048fd8
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rax, r14
call qword [case.0x14002de11.0]
mov rcx, rbx
call fcn.1400044c8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140048f55
mov rcx, rsi
call fcn.1400044c8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x14004901b
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400775a0
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 0x140049044
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 0x140049065
lea ecx, [rdi + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400490a1
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140049076
mov eax, 1
jmp 0x1400490a1
mov rcx, rdi
call fcn.14003468c
test eax, eax
jne 0x140049091
lea rdx, [0x1400346d0]
mov rcx, rdi
call fcn.140048eb8
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 0x140049174
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x202
call fcn.14007c100
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x100
call fcn.1400490ac
test eax, eax
je 0x14004920c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14004920c
mov rax, qword [0x1400bb9a0]
lea r9, [rsp + 0x38]
mov r8d, 1
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [case.0x14002de11.0]
test eax, eax
jne 0x14004920c
mov rcx, qword [rsp + 0x38]
mov rax, qword [0x1400bb990]
cmp dword [rcx + 0x14], 2
sete bl
call qword [case.0x14002de11.0]
mov al, bl
jmp 0x14004920e
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x260
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14002bd1c
nop
lea rdx, [0x14009a640]
lea rcx, [rsp + 0x20]
call fcn.14002c1b4
mov rcx, rbx
call fcn.14002bfd4
lea rcx, [rsp + 0x20]
test al, al
je 0x140049780
lea rdx, str.Zoom.lnk
call fcn.14002c1b4
jmp 0x140049788
mov rdx, rbx
call fcn.14002c18c
lea rcx, [rsp + 0x20]
call fcn.14002be50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x20]
call fcn.14002bdc0
mov al, bl
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x140
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400b7a38]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rcx
test rcx, rcx
je 0x140049be5
call fcn.140057e3c
test rax, rax
je 0x140049be5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140049be5
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.14007c100
lea rdx, [rsp + 0x20]
mov ecx, 0x207
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14009b60c]
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 0x140049bcf
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140049be5
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 0x140049be7
mov al, 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400775a0
add rsp, 0x440
pop rbx
ret
Function at 0x140049c00
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 [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor esi, esi
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140049d81
test rdx, rdx
je 0x140049d81
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140049c5c
mov al, 1
jmp 0x140049d83
mov r14d, 0x412
lea rcx, [rsp + 0x60]
mov r8d, r14d
xor edx, edx
call fcn.14007c100
mov r8d, r14d
lea rcx, [rbp + 0x380]
xor edx, edx
call fcn.14007c100
mov r8, rdi
lea rcx, [rsp + 0x60]
mov edx, 0x208
call fcn.1400581d8
mov rcx, rdi
call fcn.140057e3c
cdqe
lea rcx, [rax + rax]
cmp rcx, r14
jae 0x140049daa
lea rax, [rax*2 + 2]
mov word [rsp + rcx + 0x60], si
cmp rax, r14
jae 0x140049daa
mov r8, rbx
mov word [rsp + rax + 0x60], si
mov edx, 0x208
lea rcx, [rbp + 0x380]
call fcn.1400581d8
mov rcx, rbx
call fcn.140057e3c
cdqe
lea rcx, [rax + rax]
cmp rcx, r14
jae 0x140049daa
lea rax, [rax*2 + 2]
mov word [rbp + rcx + 0x380], si
cmp rax, r14
jae 0x140049daa
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 0x140049d81
test eax, eax
jne 0x140049d81
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x140049d81
mov rcx, rdi
call fcn.140049044
jmp 0x140049c55
xor al, al
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400775a0
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.1400776d4
int3
Function at 0x140049db0
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 0x140049ecc
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 0x140049ecc
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 0x140049ec3
cmp dword [rbp + 0x28], 2
jne 0x140049ec3
mov eax, 0x5a4d
cmp word [rbp + 0x20], ax
jne 0x140049ec3
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 0x140049ec3
cmp dword [rbp + 0x28], 2
jne 0x140049ec3
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 0x140049ec3
cmp dword [rbp + 0x28], 4
jne 0x140049ec3
cmp dword [rbp + 0x30], 0x4550
jne 0x140049ec3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rdi + 1]
jmp 0x140049ece
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret