joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008eac
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x14000903b
cmp ecx, 0x7c
je 0x14000903b
cmp ecx, 0x29
jne 0x140008ef4
cmp dword [rbx + 0x1c], 0
jne 0x14000903b
test dword [rbx + 0x80], 0x10000000
je 0x140009054
jmp 0x140008fe9
cmp ecx, 0x2e
jne 0x140008f14
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14000b784
mov rcx, rbx
call fcn.14000b7dc
jmp 0x140009029
cmp ecx, 0x5c
jne 0x140008f75
mov rcx, rbx
call fcn.14000b7dc
test byte [rbx + 0x80], 0x80
je 0x140008f68
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x140008f4c
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14000b784
mov rcx, rbx
call fcn.14000b7dc
jmp 0x140009031
cmp al, 0x42
jne 0x140008f68
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14000b784
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140008f3f
mov rcx, rbx
call fcn.140009080
jmp 0x140009029
cmp ecx, 0x5b
jne 0x140008f99
mov rcx, rbx
call fcn.14000b7dc
mov rcx, rbx
call fcn.14000985c
cmp dword [rbx + 0x7c], 0x5d
jne 0x140009062
jmp 0x140008f07
cmp ecx, 0x28
jne 0x140008fbd
mov rcx, rbx
call fcn.14000b7dc
mov rcx, rbx
call fcn.14000bf30
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140009054
jmp 0x14000901c
cmp ecx, 0x5e
jne 0x140008fca
lea edx, [rcx - 0x5c]
jmp 0x140008f36
cmp ecx, 0x24
jne 0x140008fd7
lea edx, [rcx - 0x21]
jmp 0x140008f36
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140009046
cmp ecx, 0x3f
je 0x140009046
cmp ecx, 0x7b
je 0x140009046
cmp ecx, 0x7d
jne 0x140008ffc
test dword [rbx + 0x80], 0x10000000
je 0x140009070
jmp 0x14000900d
cmp ecx, 0x5d
jne 0x14000900d
test dword [rbx + 0x80], 0x10000000
je 0x140009062
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400084f8
mov dil, 1
mov rcx, rbx
call fcn.14000b7dc
test dil, dil
je 0x140009031
mov rcx, rbx
call fcn.14000b82c
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140008ebe
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.14000aad0
int3
mov edx, 5
mov rcx, rbx
call fcn.14000aad0
int3
mov edx, 4
mov rcx, rbx
call fcn.14000aad0
int3
mov edx, 6
mov rcx, rbx
call fcn.14000aad0
int3
Function at 0x14000ca58
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
movsxd r14, r8d
mov r15, rdx
mov rdi, rcx
test rcx, rcx
je 0x14000cb45
test rdx, rdx
je 0x14000cb45
test r8d, r8d
je 0x14000cb45
lea rdx, [rax + 8]
mov dword [rax + 8], ebx
mov dword [rax + 0x20], ebx
mov qword [rax - 0x38], rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x14000cb41
mov ecx, ebp
call fcn.140019cc4
mov edx, dword [rsp + 0x80]
mov r9, rax
mov r8d, ebp
mov rcx, rdi
mov rsi, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000cb39
lea r9, [rsp + 0x98]
mov rcx, rsi
lea r8, [rsp + 0x40]
lea rdx, [0x14003e2b4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000cb39
cmp dword [rsp + 0x98], ebx
je 0x14000cb39
mov rdx, qword [rsp + 0x40]
cmp dword [rdx], 0xfeef04bd
jne 0x14000cb39
movzx ecx, word [rdx + 0xc]
movzx r8d, word [rdx + 0xe]
movzx eax, word [rdx + 8]
movzx r9d, word [rdx + 0xa]
mov rdx, r14
mov dword [rsp + 0x30], ecx
mov rcx, r15
mov dword [rsp + 0x28], r8d
lea r8, str._d._d._d._04d
mov dword [rsp + 0x20], eax
call fcn.14000e864
mov bl, 1
mov rcx, rsi
call fcn.140019790
mov al, bl
jmp 0x14000cb47
xor al, al
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cb5c
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13, r8
mov ebx, edx
mov rsi, rcx
test rcx, rcx
je 0x14000cce7
test edx, edx
je 0x14000cce7
and dword [rbp + 0x48], 0
lea rdx, [rbp + 0x48]
and dword [rbp + 0x30], 0
xor r14b, r14b
and qword [rbp - 0x10], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r15d, eax
test eax, eax
je 0x14000cce7
mov ecx, r15d
call fcn.140019cc4
mov edx, dword [rbp + 0x48]
mov r9, rax
mov r8d, r15d
mov rcx, rsi
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000ccda
mov r15d, 0x40
test bl, 1
je 0x14000cc44
lea r9, [rbp + 0x30]
mov rcx, rdi
lea r8, [rbp - 0x10]
lea rdx, [0x14003e2b4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000cc44
cmp dword [rbp + 0x30], 0
je 0x14000cc44
mov r8, qword [rbp - 0x10]
cmp dword [r8], 0xfeef04bd
jne 0x14000cc44
movzx ecx, word [r8 + 0xc]
movzx edx, word [r8 + 0xe]
movzx eax, word [r8 + 8]
movzx r9d, word [r8 + 0xa]
lea r8, str._d._d._d._04d
mov dword [rsp + 0x30], ecx
mov rcx, r13
mov dword [rsp + 0x28], edx
mov edx, r15d
mov dword [rsp + 0x20], eax
call fcn.14000e864
mov r14b, 1
test bl, 6
je 0x14000ccda
lea rsi, [r13 + 0x80]
mov rcx, rdi
add r13, r15
mov byte [rsi], 0
lea r9, [rbp + 0x30]
lea r8, [rbp - 8]
lea rdx, str.VarFileInfoTranslation
mov byte [r13], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14000ccda
cmp dword [rbp + 0x30], 4
jb 0x14000ccda
test bl, 2
je 0x14000ccad
mov rax, qword [rbp - 8]
lea r9, [0x14003ee90]
mov dword [rsp + 0x28], 0x100
mov rcx, rdi
mov qword [rsp + 0x20], rsi
movzx r8d, word [rax + 2]
movzx edx, word [rax]
call fcn.14000c92c
test bl, 4
je 0x14000ccd7
mov rax, qword [rbp - 8]
lea r9, [0x14003eea0]
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], r13
movzx r8d, word [rax + 2]
movzx edx, word [rax]
call fcn.14000c92c
mov r14b, 1
mov rcx, rdi
call fcn.140019790
mov al, r14b
jmp 0x14000cce9
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14000d47c
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbp, rdx
mov esi, ecx
test rdx, rdx
jne 0x14000d4a3
xor al, al
jmp 0x14000d59b
xor dil, dil
mov byte [rsp + 0x88], dil
test esi, esi
je 0x14000d598
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000d4ea
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000d598
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x88]
lea rax, [rsp + 0x78]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea rdx, str.QueryFullProcessImageNameW
lea rax, [rsp + 0x40]
lea rcx, str.kernel32.dll
mov qword [rsp + 0x20], rax
call fcn.1400067dc
mov dil, byte [rsp + 0x88]
test dil, dil
jne 0x14000d58f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, dword [rsp + 0x80]
mov r8, rbp
mov rcx, rax
xor edx, edx
mov rbx, rax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
setne dil
test eax, eax
jne 0x14000d58f
mov r8d, dword [rsp + 0x80]
mov rdx, rbp
mov rcx, rbx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000d5a8
Capabilities:
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rsp + 0x430], rax
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x14000d666
cmp di, word [rcx]
je 0x14000d666
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call fcn.14001c440
xor r9d, r9d
lea r8d, [rdi + 0x25]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000d666
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x14000d662
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.downlevel
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14000d666
mov al, 1
jmp 0x14000d668
xor al, al
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140019770
mov rbx, qword [rsp + 0x458]
add rsp, 0x440
pop rdi
ret
Function at 0x14000d7a4
Capabilities:
Enumerate processes
Get process image filename
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x390
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov ebp, edx
mov r14, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d7ea
xor al, al
jmp 0x14000d8d0
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
xor ebx, ebx
test eax, eax
je 0x14000d8c5
mov rdx, r14
lea rcx, [rsp + 0x5c]
call fcn.1400249b4
test eax, eax
jne 0x14000d8ae
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000d8c3
test ebp, ebp
js 0x14000d85e
mov ecx, dword [rsp + 0x38]
lea rdx, [rsp + 0x20]
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x14000d85e
cmp dword [rsp + 0x20], ebp
jne 0x14000d8ae
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x104
call fcn.14001c440
mov r8d, 0x104
lea rdx, [rsp + 0x270]
mov rcx, rsi
call sub.PSAPI.DLL_GetProcessImageFileNameA
mov edx, 0x3e7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x1388
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000d809
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140019770
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d9c4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor esi, esi
mov rbx, rcx
test rcx, rcx
je 0x14000daab
cmp si, word [rcx]
je 0x14000daab
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14000daa6
call fcn.14000d398
cmp eax, 0x3d
jg 0x14000daa6
mov ebp, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test eax, eax
je 0x14000daa6
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x14000da44
lea rax, [rdx + 2]
add rcx, rax
cmp rcx, rbp
ja 0x14000daa6
lea ecx, [rdx - 1]
mov eax, 0x5c
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000da88
mov eax, 0x2f
cmp ax, word [rsp + rcx*2 + 0x20]
je 0x14000da88
lea r8, [0x14003e2b4]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140024810
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.140024810
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov rax, rdi
jmp 0x14000daad
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140019770
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000f304
Capabilities:
Query service status

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000f34b
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000f34b
mov eax, dword [rsp + 0x54]
jmp 0x14000f34d
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140019770
add rsp, 0x78
ret

Function at 0x14000f65c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
and dword [rsp + 0x30], 0
lea rcx, str.Wtsapi32.dll
mov rsi, r9
mov dword [rsp + 0x38], edx
mov rbx, r8
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor dil, dil
lea r8, [rsp + 0x30]
lea rdx, str.WTSQueryUserToken
call fcn.14000ed5c
cmp dword [rsp + 0x30], 0
je 0x14000f76f
test rbx, rbx
je 0x14000f76f
lea rdx, str.Zoom
mov rcx, rbx
call fcn.140024e08
test eax, eax
je 0x14000f6fd
lea rdx, str.ZoomRooms
mov rcx, rbx
call fcn.140024e08
test eax, eax
jne 0x14000f76f
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.14001c440
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14000f76f
test rsi, rsi
je 0x14000f76f
mov edi, 0x104
lea r8, [0x14003e2b4]
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140024810
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, edi
call fcn.140024810
lea r8, [rsp + 0x50]
mov edx, edi
mov rcx, rsi
call fcn.140023c60
mov dil, 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000f77f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140019770
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000f8e4
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rdx], 0
mov rbx, rdx
jbe 0x14000f90f
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x14000f90f
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000f911
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14000fd30
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov r15d, 0x208
mov r8d, r15d
lea rcx, [rbp + 0x360]
xor edx, edx
call fcn.14001c440
mov r8d, r15d
lea rcx, [rbp + 0x150]
xor edx, edx
call fcn.14001c440
lea rax, [rbp + 0x150]
mov r14d, 1
mov byte [rsp + 0x28], r14b
lea r9, [rbp + 0x360]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140010144
test eax, eax
je 0x14000fe77
mov r8d, r15d
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14001c440
mov ebx, 0x104
lea r8, [rbp + 0x150]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140023c60
lea r8, [0x1400402a8]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140024810
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call fcn.140001360
test ebx, ebx
je 0x14000fe73
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], r14d
mov r9d, r14d
mov r8d, r14d
mov dword [rsp + 0x20], r14d
mov rcx, rax
call fcn.140004714
test al, al
jne 0x14000fe50
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x14000fe85
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000fe4c
mov eax, ebx
jmp 0x14000fe85
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x14000fe4c
mov eax, r14d
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140019770
mov rbx, qword [rsp + 0x6c8]
add rsp, 0x680
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400100b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x30
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov rbx, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x2b]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400100dc
xor eax, eax
add rsp, 0x30
pop rbx
ret
lea rdx, str.Zoom
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.SHLWAPI.dll_PathAppendW]

Function at 0x1400100f4
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140010137
test rdx, rdx
je 0x140010137
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140010137
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x140010139
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140010144
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x358]
sub rsp, 0x458
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r15, qword [rbp + 0x3c0]
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov ebx, 0x208
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
mov r12, r9
call fcn.14001c440
mov r8d, ebx
lea rcx, [rbp + 0x130]
xor edx, edx
call fcn.14001c440
xor ebx, ebx
mov r13d, 0x104
test r14, r14
je 0x1400101d0
cmp word [r14], bx
je 0x1400101d0
mov r8, r14
lea rcx, [rbp + 0x130]
mov edx, r13d
call fcn.140023c60
jmp 0x1400101e6
lea rdx, [rbp + 0x130]
xor ecx, ecx
call fcn.140010040
test eax, eax
je 0x1400102c0
mov rdx, rsi
lea rcx, [rbp + 0x130]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test rdi, rdi
je 0x140010212
cmp word [rdi], bx
je 0x140010212
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, r13
call fcn.140023c60
jmp 0x14001023c
lea rcx, [rsp + 0x20]
call fcn.140010080
test eax, eax
je 0x1400102c0
cmp byte [rbp + 0x3c8], bl
je 0x14001023c
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test r12, r12
je 0x140010261
lea r8, [rbp + 0x130]
mov rdx, r13
mov rcx, r12
call fcn.140023c60
test r15, r15
je 0x140010276
lea r8, [rsp + 0x20]
mov rdx, r13
mov rcx, r15
call fcn.140023c60
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400102b9
mov rdx, rsi
lea rcx, [0x14003f590]
call fcn.1400249b4
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x130]
test eax, eax
jne 0x1400102b2
call fcn.14000fa60
test eax, eax
setne bl
mov eax, ebx
jmp 0x1400102cd
call fcn.14000fb10
jmp 0x1400102a9
mov eax, 1
jmp 0x1400102cd
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140019770
add rsp, 0x458
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140011240
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x40
mov r14d, edx
mov rbx, rcx
add rcx, 0x38
cmp dword [rcx + 0x28], 0
je 0x14001126f
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor dil, dil
mov byte [rsp + 0x30], dil
cmp qword [rbx + 8], 0
jne 0x1400112cd
mov rcx, qword [rbx]
xor edx, edx
mov rsi, r14
test rcx, rcx
je 0x1400112a7
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
mov qword [rbx + 8], rax
test rdx, rdx
je 0x1400112cd
shr rsi, 1
mov al, byte [rsi + rdx]
mov byte [rsi + rdx], al
lea eax, [r14 - 1]
mov ecx, eax
mov al, byte [rax + rdx]
mov byte [rcx + rdx], al
mov dword [rbx + 0x14], r14d
mov dil, 1
mov byte [rsp + 0x30], dil
jmp 0x1400112dd
lea rcx, [rbx + 0x38]
cmp dword [rcx + 0x28], 0
je 0x1400112ed
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, dil
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14001176c
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400118ca
cmp di, word [rdx]
je 0x1400118ca
cmp qword [rcx + 8], rdi
je 0x1400117a0
call fcn.140011688
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rbx], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400118ca
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0x40
jb 0x1400118ca
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rsp + 0x20], esi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rax
mov qword [rbx + 0x18], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400118ca
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov rdx, rax
test rax, rax
je 0x1400118ca
lea r9, [rsi + rax]
mov qword [rbx + 0x10], r9
cmp dword [rax + 0x3c], 0x40
jb 0x1400118ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rbx + 0x20], rcx
lea rax, [rcx + 0xf8]
cmp r9, rax
jb 0x1400118ca
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400118ca
cmp dword [rcx], 0x4550
jne 0x1400118ca
mov eax, 0x14c
cmp word [rcx + 4], ax
je 0x1400118a4
mov eax, 0x8664
cmp word [rcx + 4], ax
je 0x14001189a
mov eax, 0xaa64
cmp word [rcx + 4], ax
jne 0x1400118ca
mov dil, 1
mov eax, 0x108
jmp 0x1400118a9
mov eax, 0xf8
lea r8, [rcx + rax]
mov byte [rbx + 0x30], dil
mov qword [rbx + 0x28], r8
movzx ecx, word [rcx + 6]
lea rdx, [rcx + rcx*4]
lea rcx, [r8 + rdx*8]
cmp r9, rcx
jb 0x1400118ca
mov al, 1
jmp 0x1400118d4
mov rcx, rbx
call fcn.140011688
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret