joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d1378
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
mov rsi, rcx
sete dil
test rcx, rcx
jne 0x1400d13b6
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400d13f1
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400d13ca
mov dl, dil
mov rcx, rbx
call fcn.1400d1404
test al, al
je 0x1400d13ca
mov dil, 1
jmp 0x1400d13cd
xor dil, dil
test rsi, rsi
jne 0x1400d13da
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400d13e3
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragFinish]
test dil, dil
je 0x1400d13f1
mov dl, 1
xor ecx, ecx
call fcn.1400ba610
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d1404
Capabilities:
Get file attributes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1040
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebx, ebx
mov bpl, dl
cmp dword [0x140145ca0], ebx
mov rdi, rcx
je 0x1400d144a
xor al, al
jmp 0x1400d156e
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov esi, eax
cmp eax, 1
jne 0x1400d1512
mov r9d, 0x800
mov word [rsp + 0x30], bx
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_WindowFromPoint]
cmp byte [0x140145ca4], bl
je 0x1400d14b4
test bpl, bpl
jne 0x1400d14e0
cmp rax, qword [0x14016c180]
je 0x1400d14e0
cmp rax, qword [0x1401526f0]
je 0x1400d14e0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1400d14e0
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [0x14016c120]
call fcn.140040da4
cmp eax, 1
je 0x1400d1443
lea rcx, [rsp + 0x30]
call fcn.1400792dc
mov rcx, rax
lea rdx, str.rarreg.
mov r8d, 7
call fcn.1400910d0
test eax, eax
jne 0x1400d1512
lea rcx, [rsp + 0x30]
call fcn.1400d5174
jmp 0x1400d1443
xor ecx, ecx
call fcn.1400c06b8
lea rcx, [0x14015eb58]
call fcn.14008e194
test esi, esi
jle 0x1400d1556
mov r9d, 0x800
lea r8, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rdx, [rsp + 0x30]
lea rcx, [0x14015eb58]
call fcn.14008dfd8
inc ebx
cmp ebx, esi
jl 0x1400d1529
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
or byte [0x1401588ce], al
mov al, 1
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400eeae0
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400d5174
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f30]
mov eax, 0x2030
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x1f20], rax
xor r14d, r14d
mov rdi, rcx
cmp byte [0x1401748e4], r14b
je 0x1400d51f6
cmp byte [0x1401588b4], r14b
jne 0x1400d51f6
mov ecx, 0x5f0
call fcn.140087e6c
mov ecx, 0x5f1
mov rbx, rax
call fcn.140087e6c
mov rcx, qword [0x140145cd8]
lea r9d, [r14 + 0x24]
mov rdx, rax
mov r8, rbx
call fcn.1400c6670
cmp eax, 6
jne 0x1400d534a
mov esi, 0x800
lea rdx, [rbp + 0xf20]
mov r8d, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, esi
lea rdx, str.rarreg.key
lea rcx, [rbp + 0xf20]
call fcn.1400793d8
xor r8d, r8d
lea rdx, [rbp + 0xf20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r8b, 1
lea rcx, [rsp + 0x20]
test eax, eax
mov edx, esi
setne bl
call fcn.140078808
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.140077908
mov r8d, esi
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
call fcn.14008df20
test bl, bl
je 0x1400d527a
lea rcx, [rsp + 0x20]
call fcn.140068c94
jmp 0x1400d52a4
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, r14
movzx eax, word [rsp + rcx + 0x20]
mov word [rbp + rcx + 0xf20], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d528e
mov rcx, qword [0x140145cd8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x140145cd8]
mov edx, 1
call qword [sym.imp.USER32.dll_FlashWindow]
mov dl, 1
lea rcx, [rbp + 0xf20]
call fcn.14005c160
mov rcx, qword [0x140145cd8]
xor edx, edx
mov byte [0x1401748e4], al
call qword [sym.imp.USER32.dll_FlashWindow]
lea rcx, [0x14016c120]
call fcn.140043d78
cmp byte [0x1401748e4], r14b
je 0x1400d532c
mov ecx, 0x368
call fcn.140087e6c
mov ecx, 0x367
mov rbx, rax
call fcn.140087e6c
mov rcx, qword [0x140145cd8]
mov rdx, rax
mov r9d, 0x40
mov r8, rbx
call fcn.1400c6670
jmp 0x1400d534a
lea rcx, [rbp + 0xf20]
call fcn.140068c94
mov ecx, 0x366
call fcn.140087e6c
mov rcx, rax
call fcn.1400d1b9c
mov rcx, qword [rbp + 0x1f20]
xor rcx, rsp
call fcn.1400eeae0
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400d6e10
Capabilities:
Copy file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x2f88]
mov eax, 0x3080
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x2f70], rax
xor edi, edi
cmp byte [0x140145ca4], dil
je 0x1400d7025
mov esi, 0x800
lea rdx, [rbp + 0x1f70]
mov r8d, esi
lea rcx, [0x140169340]
call fcn.1400050cc
lea r8d, [rdi + 1]
lea rdx, str.History
lea rcx, str.General
call fcn.14009f550
test eax, eax
setne bl
test bl, bl
je 0x1400d6eb2
lea r9, [0x14010d188]
mov dword [rsp + 0x20], esi
lea r8, [rsp + 0x70]
lea rdx, str.SaveArcFolder
lea rcx, str.InterfaceMisc
call fcn.14009f6dc
cmp word [rsp + 0x70], di
jne 0x1400d6ec3
lea rcx, [rsp + 0x70]
call fcn.14003b11c
lea rcx, [rbp + 0x1f70]
call fcn.1400792dc
mov rdx, rax
lea r8, [rbp + 0xf70]
mov r9, rsi
lea rcx, [rsp + 0x70]
call fcn.140078dc0
mov ecx, 0x5af
call fcn.140087e6c
mov rcx, qword [0x140145cd8]
lea r8, [rbp + 0xf70]
mov rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
call fcn.1400077a8
test al, al
je 0x1400d7025
mov r8, rsi
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xf70]
call fcn.1400786a0
test bl, bl
je 0x1400d6f46
lea r8, [rsp + 0x70]
lea rdx, str.SaveArcFolder
lea rcx, str.InterfaceMisc
call fcn.1400a00d8
or rcx, 0xffffffffffffffff
lea rax, [rbp + 0x1f70]
mov rdx, rcx
inc rdx
cmp word [rax + rdx*2], di
jne 0x1400d6f54
inc rdx
mov r8d, 0x7ff
cmp rdx, r8
mov eax, r8d
cmovb rax, rdx
mov edx, 0x1000
add rax, rax
cmp rax, rdx
jae 0x1400d7053
mov word [rbp + rax + 0x1f70], di
lea rax, [rbp + 0xf70]
inc rcx
cmp word [rax + rcx*2], di
jne 0x1400d6f90
inc rcx
cmp rcx, r8
cmovb r8, rcx
add r8, r8
cmp r8, rdx
jae 0x1400d704d
xor edx, edx
mov word [rbp + r8 + 0xf70], di
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400efd00
lea rax, [rbp + 0x1f70]
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
lea rax, [rbp + 0xf70]
mov qword [rsp + 0x48], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x1400d7025
cmp dword [rsp + 0x54], edi
jne 0x1400d7025
mov ecx, 0x5b0
call fcn.140087e6c
mov r8, qword [rsp + 0x48]
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.1400d1b9c
lea rcx, [0x14017d200]
call fcn.140063254
mov rcx, qword [rbp + 0x2f70]
xor rcx, rsp
call fcn.1400eeae0
lea r11, [rsp + 0x3080]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400ee84c
int3
call fcn.1400ee84c
int3
Function at 0x1400d805c
Capabilities:
Get file system object information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3560]
mov eax, 0x3660
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x3550], rax
cmp dword [0x14013e038], 0xffffffff
mov r14, r9
mov bl, r8b
mov rdi, rdx
mov rsi, rcx
mov r13d, 0x4001
mov r15d, 0x800
jne 0x1400d810e
mov r9d, 0x2b8
mov dword [rsp + 0x20], r13d
lea r8, [rbp - 0x30]
xor edx, edx
lea rcx, [0x14010d93c]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp - 0x28]
lea rdx, [rbp + 0x2550]
mov r8d, r15d
mov dword [0x1401a92c0], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r9d, 0x2b8
mov dword [rsp + 0x20], r13d
lea r8, [rbp - 0x30]
xor edx, edx
lea rcx, [rbp + 0x2550]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp - 0x28]
mov dword [0x14013e038], eax
mov r8, r15
lea rcx, [rbp + 0x550]
mov rdx, rdi
call fcn.14008df58
mov r8, r15
lea rdx, [rbp + 0x550]
lea rcx, [rbp + 0x550]
call fcn.140079480
movzx edi, word [rsi]
lea rax, [rbp + 0x550]
mov qword [rsp + 0x48], rax
mov r9d, 0x2b8
mov dword [rsp + 0x30], 3
lea r8, [rbp + 0x290]
mov qword [rsp + 0x34], 0x40000000
lea rcx, [rbp + 0x550]
test di, di
je 0x1400d8180
neg bl
mov dword [rsp + 0x20], 0x4011
sbb edx, edx
and edx, 0x10
jmp 0x1400d8187
mov dword [rsp + 0x20], r13d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp + 0x298]
mov r8, r15
mov dword [rsp + 0x54], eax
lea rcx, [rbp + 0x1550]
test di, di
je 0x1400d81b0
mov rdx, rsi
call fcn.14008df58
jmp 0x1400d81d9
lea rdx, [rbp + 0x550]
call fcn.14008df58
lea rcx, [rbp + 0x1550]
call fcn.140079330
lea rcx, [rbp + 0x550]
call fcn.1400792dc
mov qword [rsp + 0x48], rax
mov rcx, qword [0x140146cf0]
mov edx, 0x66
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, rax
mov edx, 0x104d
mov rsi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x1401a92c0]
lea r9, [rsp + 0x30]
mov rbx, rax
mov dword [rsp + 0x30], 3
lea rax, [rbp + 0x1550]
mov dword [rsp + 0x34], ebx
test di, di
mov qword [rsp + 0x48], rax
mov r15d, 1
mov rcx, rsi
cmovne edx, dword [0x14013e038]
xor r8d, r8d
mov dword [rsp + 0x54], edx
mov edx, 0x104c
mov dword [rsp + 0x38], r15d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r14
mov dword [rbp - 0x78], 2
call fcn.14008d904
movsxd r8, ebx
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x1400d829d
lea r9, [rbp - 0x80]
mov dword [rbp - 0x70], r15d
xor r8d, r8d
mov dword [rbp - 0x74], r15d
mov edx, 0x102b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x3550]
xor rcx, rsp
call fcn.1400eeae0
add rsp, 0x3660
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400da840
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2040
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
xor r9d, r9d
mov dword [rsp + 0x20], 0x1000
lea r8, [rsp + 0x1030]
lea rdx, str.rarreg.key
lea rcx, [0x14010d188]
call fcn.14009f568
movsxd rdi, eax
test eax, eax
je 0x1400da8f8
mov r8d, 0x800
lea rdx, [rsp + 0x30]
lea rcx, str.Rar_RK
call fcn.1400c52e4
mov rbx, rax
test rax, rax
je 0x1400da8e5
mov r8, rdi
lea rcx, [rsp + 0x1030]
mov r9, rax
mov edx, 1
call fcn.1400f6208
mov rcx, rbx
call fcn.1400f5e3c
lea rcx, [rsp + 0x30]
call fcn.1400d5174
lea rcx, [rsp + 0x30]
call fcn.140068c94
lea rdx, str.rarreg.key
lea rcx, [0x14010d188]
call fcn.14009f0a0
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400eeae0
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret
Function at 0x1400daa04
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xf78]
mov eax, 0x1070
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0xf60], rax
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], 0x53c04
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, 0xc
lea r8, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea rdx, str.VerInfo
lea rcx, str.General
call fcn.14009f568
lea esi, [rdi - 0xb]
mov ebx, 0x800
mov r8b, sil
lea rcx, [rsp + 0x60]
mov edx, ebx
call fcn.140078808
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140077908
mov r8d, ebx
lea rdx, str.version.dat
lea rcx, [rsp + 0x60]
call fcn.14008df20
and dword [rsp + 0x40], 0
lea rdx, [0x140111c68]
lea rcx, [rsp + 0x60]
call fcn.140069ee4
mov rbx, rax
test rax, rax
je 0x1400daadf
mov r9, rax
lea rcx, [rsp + 0x40]
mov r8d, edi
mov edx, esi
call fcn.1400f9e14
mov rcx, rbx
call fcn.1400f5e3c
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
je 0x1400dab90
lea rdx, str.VerInfo
mov r9, rdi
lea rcx, str.General
cmp dword [rsp + 0x40], eax
je 0x1400dab68
lea r8, [rsp + 0x50]
call fcn.1400a0108
call fcn.14009feb4
test al, al
jne 0x1400dab4b
lea rdx, [0x14010dae0]
lea rcx, [rsp + 0x60]
call fcn.140069ee4
mov rbx, rax
test rax, rax
je 0x1400dab4b
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rsi
call fcn.1400f6208
mov rcx, rbx
call fcn.1400f5e3c
call fcn.14009febc
neg al
mov edx, 0x168
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [0x140146e04], ecx
jmp 0x1400dac27
movsd xmm0, qword [rsp + 0x40]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x48]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.1400a0108
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
jne 0x1400dabe7
cmp dword [rsp + 0x40], eax
je 0x1400dabe7
movsd xmm0, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.14009feb4
test al, al
jne 0x1400dabe7
lea rdx, [0x14010dae0]
lea rcx, [rsp + 0x60]
call fcn.140069ee4
mov rbx, rax
test rax, rax
je 0x1400dabe7
mov r9, rax
lea rcx, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
call fcn.1400f6208
mov rcx, rbx
call fcn.1400f5e3c
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
shl rax, 0x20
shl rcx, 0x20
sub rax, rcx
mov ecx, dword [rsp + 0x34]
sub rax, rcx
mov ecx, dword [rsp + 0x54]
add rax, rcx
movabs rcx, 0xc92a69c000
cqo
idiv rcx
mov edx, 0x168
test eax, eax
cmovs eax, edx
mov dword [0x140146e04], eax
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.1400eeae0
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400dba68
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov bl, r8b
mov rdi, rdx
mov ecx, dword [0x1401dd210]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401b42f0], eax
jle 0x1400dbae5
lea rcx, [0x1401b42f0]
call fcn.1400ef210
cmp dword [0x1401b42f0], 0xffffffff
jne 0x1400dbae5
lea rcx, [0x1401b41ee]
call fcn.14008b1a4
nop
lea rcx, [0x14010b714]
call fcn.1400ef020
nop
lea rcx, [0x1401b42f0]
call fcn.1400ef1b0
mov r8b, 1
mov rdx, rdi
lea rsi, [0x1401b01c0]
mov rcx, rsi
call fcn.1400dd1c4
test bl, bl
sete al
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], al
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call fcn.1400de2b4
test al, al
jne 0x1400dbb3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.1400dbecc
cmp ebx, 0x4c7
sete al
jmp 0x1400dbb61
test bl, bl
je 0x1400dbb57
mov r8, rsi
mov edx, 0x10000
lea rcx, [0x1400dc1b8]
call fcn.1400f65c8
jmp 0x1400dbb5f
mov rcx, rsi
call fcn.1400dbecc
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400dcc24
Capabilities:
Create thread

Disassembly:
push rsi
mov eax, 0x1060
call fcn.1400eea70
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1070], rbx
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, rdx
mov rcx, rdx
call fcn.1400dd868
test al, al
je 0x1400dcc99
mov ecx, 0x65
call fcn.140087e6c
mov rbx, rax
mov ecx, 0x596
call fcn.140087e6c
mov rdx, rax
mov r9d, 0x30
mov r8, rbx
mov rcx, qword [0x140145cd8]
call fcn.1400c6670
jmp 0x1400dce10
cmp byte [0x140145ca4], 0
jne 0x1400dcce5
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.1400de2b4
test al, al
jne 0x1400dce10
mov ecx, 0x201
call fcn.140087e6c
mov rcx, rax
mov rdx, rbx
call fcn.1400d1b9c
jmp 0x1400dce10
mov cl, 1
call fcn.1400c05a8
mov r9b, 1
mov esi, 0x800
mov r8d, esi
lea rdx, [0x14015472e]
lea rcx, str.Rar_EX
call fcn.1400c53c0
test al, al
je 0x1400dce10
mov r8d, esi
lea rdx, [0x14015db52]
lea rcx, [0x140169340]
call fcn.1400050cc
mov eax, dword [0x140169344]
mov dword [0x14015aaf4], eax
lea rdx, [0x14010d538]
lea rcx, [0x14015eb58]
call fcn.14008dfd8
mov dword [0x140159ae4], 4
mov r9d, esi
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [0x14015472e]
call fcn.140078dc0
xor r8d, r8d
xor edx, edx
lea rcx, [0x140169340]
call fcn.140004c48
cmp byte [0x140145ca7], 0
jne 0x1400dce10
mov ecx, dword [0x1401dd210]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401b8430], ecx
jle 0x1400dcde4
lea rcx, [0x1401b8430]
call fcn.1400ef210
cmp dword [0x1401b8430], 0xffffffff
jne 0x1400dcde4
lea rcx, [0x1401b832e]
call fcn.14008b1a4
nop
lea rcx, [0x14010b754]
call fcn.1400ef020
nop
lea rcx, [0x1401b8430]
call fcn.1400ef1b0
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [0x1401b4300]
call fcn.1400dd1c4
lea r8, [0x1401b4300]
mov edx, 0x10000
lea rcx, [0x1400dc1b8]
call fcn.1400f65c8
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400eeae0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1060
pop rsi
ret
Function at 0x1400dd01c
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x6010]
mov eax, 0x6110
call fcn.1400eea70
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x6000], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, r8
call fcn.1400792dc
mov r10, rax
or rdx, 0xffffffffffffffff
mov r8, rdx
xor ebx, ebx
inc r8
cmp word [rdi + r8*2], bx
jne 0x1400dd06c
inc rdx
cmp word [rax + rdx*2], bx
jne 0x1400dd076
lea rax, [rdx + 1]
add rax, r8
mov r14d, 0x1000
cmp rax, r14
jb 0x1400dd098
xor al, al
jmp 0x1400dd1a6
mov r9, r14
lea r8, [rbp + 0x4000]
mov rdx, r10
mov rcx, rdi
call fcn.140078dc0
lea rcx, [rsp + 0x40]
call fcn.14008df9c
nop
mov dword [rsp + 0x20], r14d
lea r9, [0x14010d188]
lea r8, [rbp + 0x2000]
lea rdx, str.ViewerIgnoreModifications
lea rcx, str.Viewer
call fcn.14009f6dc
cmp word [rbp + 0x2000], bx
je 0x1400dd0fe
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x2000]
call fcn.1400a84a0
mov r14d, 0x800
jmp 0x1400dd17a
mov r8d, r14d
lea rdx, [rbp]
lea rcx, [rbp + 0x1000]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x14011ce3c]
lea rcx, [rbp + 2]
call fcn.1400f1218
mov rdi, rax
test rax, rax
je 0x1400dd15d
mov word [rax], bx
add rdi, 4
cmp word [rdi], bx
jne 0x1400dd145
lea rdi, [0x14010d538]
mov r8d, 4
mov rdx, rsi
lea rcx, [rbp]
call fcn.14006cb28
test al, al
je 0x1400dd17a
jmp 0x1400dd161
lea rdi, [rbp]
mov r8d, 4
lea rdx, [rbp + 0x4000]
mov rcx, rdi
call fcn.14006cb28
test al, al
jne 0x1400dd198
mov r8, r14
lea rdx, [rbp + 0x1000]
lea rcx, [rsp + 0x40]
call fcn.14008e0ac
test al, al
jne 0x1400dd106
jmp 0x1400dd19a
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.140004128
mov al, bl
mov rcx, qword [rbp + 0x6000]
xor rcx, rsp
call fcn.1400eeae0
add rsp, 0x6110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400de2b4
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1fa0]
mov eax, 0x20a0
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x1f90], rax
mov rsi, qword [rbp + 0x2008]
lea rcx, [rsp + 0x20]
mov rbx, qword [rbp + 0x2010]
mov rdi, rdx
xor edx, edx
mov r15, r8
mov r12, r9
lea r8d, [rdx + 0x70]
call fcn.1400efd00
mov eax, 0x500
mov dword [rsp + 0x20], 0x70
xor r13d, r13d
mov qword [rsp + 0x38], rdi
cmp byte [rbp + 0x2000], r13b
mov qword [rsp + 0x30], rbx
lea ecx, [rax + 0x40]
cmove eax, ecx
mov rcx, rdi
mov dword [rsp + 0x24], eax
call fcn.14007867c
test rax, rax
je 0x1400de351
cmp word [rax], 0x2e
jne 0x1400de362
cmp word [rax + 2], r13w
jne 0x1400de362
or dword [rsp + 0x24], 1
lea rax, [0x14010d93c]
mov qword [rsp + 0x68], rax
mov rcx, rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
call fcn.1400792dc
cmp rax, rdi
jne 0x1400de3ad
lea rdx, [0x14010d548]
mov rcx, rdi
call fcn.140077948
test al, al
jne 0x1400de3ad
mov r9, rdi
lea r8, str.._s
mov edx, 0x1000
lea rcx, [rbp - 0x70]
call fcn.1400026d8
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
mov byte [0x140145ca5], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test eax, eax
jne 0x1400de402
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1400de3e9
test rsi, rsi
je 0x1400de3e2
mov qword [rsi], r13
mov al, 1
jmp 0x1400de4cb
cmp qword [rsp + 0x30], r13
je 0x1400de402
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r13
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov byte [0x140145ca5], r13b
test ebx, ebx
je 0x1400de4c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x1400de4c9
cmp byte [rbp + 0x2000], r13b
jne 0x1400de3e2
mov r8, qword [rbp - 0x78]
lea rdi, [0x140000000]
test r8, r8
je 0x1400de470
movsxd rdx, dword [0x1401ac070]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x1abf70], r8
mov qword [rdi + rdx*8 + 0x1abff0], rax
inc edx
and edx, 0x8000000f
jge 0x1400de468
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x1401ac070], edx
jmp 0x1400de4b8
mov rbx, r13
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x1abff0], rax
jne 0x1400de4ab
mov rcx, qword [rbx + rdi + 0x1abf70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400de4a7
mov r8, qword [rbx + rdi + 0x1abf70]
mov qword [rbp - 0x78], r8
jmp 0x1400de4ab
mov r8, qword [rbp - 0x78]
add rbx, 8
cmp rbx, 0x80
jl 0x1400de473
test rsi, rsi
je 0x1400de3e2
mov qword [rsi], r8
jmp 0x1400de3e2
xor al, al
mov rcx, qword [rbp + 0x1f90]
xor rcx, rsp
call fcn.1400eeae0
add rsp, 0x20a0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400dea10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140146e20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400dea5f
mov ecx, 0x2bc
call fcn.140087e6c
mov ecx, 0x2bd
mov rbx, rax
call fcn.140087e6c
mov rcx, qword [0x140145cd8]
mov rdx, rax
mov r9d, 0x40
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400c6670
xor r8d, r8d
lea rdx, [0x140146e20]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400dd300