joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d8548
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f48]
mov eax, 0x2048
call fcn.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x1f30], rax
xor r12d, r12d
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov r13d, 0x800
cmp byte [rbp + 0x1fc0], r12b
je 0x1400d85f6
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.1400a7a28
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400d85c5
mov rdx, rbx
jmp 0x1400d85e8
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400d85f2
lea rdx, [rbp + 0xf30]
mov rcx, rdi
mov r8, r14
call fcn.140096188
jmp 0x1400d85f6
mov word [rdi], r12w
movzx r15d, word [rdi]
test r15w, r15w
jne 0x1400d8612
mov r8, r14
lea rcx, [0x14018d510]
mov rdx, rdi
call fcn.140044490
mov rdx, r14
mov rcx, rdi
call fcn.14007e920
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140096188
mov rsi, r12
cmp word [rsp + 0x30], r12w
je 0x1400d8684
mov rax, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp word [rbx], r13w
jne 0x1400d8669
lea rcx, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.1400fd63c
test rax, rax
je 0x1400d8669
mov eax, 0x5f
mov word [rbx], ax
inc rsi
lea rbx, [rsp + 0x30]
lea rax, [rsi + rsi]
add rbx, rax
cmp word [rbx], r12w
jne 0x1400d8646
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14007f670
mov rbx, rax
test rax, rax
je 0x1400d871f
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400d871f
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.14007f670
mov rsi, rax
test rax, rax
je 0x1400d8711
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400d8711
cmp byte [rbp + 0x1fb8], r12b
je 0x1400d86ee
cmp word [rbx + 2], r12w
je 0x1400d86ee
movzx ecx, word [rbx + 4]
call fcn.140095d64
test al, al
jne 0x1400d86ee
movzx ecx, word [rbx - 2]
call fcn.140095d64
test al, al
jne 0x1400d8701
lea rdx, str..tar
mov rcx, rsi
call fcn.140099328
test eax, eax
jne 0x1400d8711
mov word [rsi], r12w
jmp 0x1400d8711
cmp word [rbx], 0x2e
jne 0x1400d871f
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400d8707
lea rcx, [rsp + 0x30]
call fcn.1400802e0
lea rbx, [0x1401c84c0]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.140096188
mov rcx, rbx
call fcn.1400cf27c
xor edx, edx
mov rcx, rbx
call fcn.14007ffe4
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400d875f
test r15w, r15w
je 0x1400d8794
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.1400a789c
test eax, eax
je 0x1400d8794
lea rcx, [rsp + 0x30]
call fcn.1400802e0
mov rdx, rax
mov r8, r14
mov rcx, rdi
call fcn.140096160
mov rcx, rdi
call fcn.1400cf27c
xor edx, edx
mov rcx, rdi
call fcn.14007ffe4
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.1400fc4d0
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400d87cc
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1058
call fcn.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [0x14018d510]
mov r9d, 0x800
call fcn.140044c54
mov edx, 0x802
lea rcx, [rsp + 0x30]
call fcn.14007e920
mov r8d, 0x802
lea rdx, [0x14011c97c]
lea rcx, [rsp + 0x30]
call fcn.140096160
lea rax, [0x14011bd58]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400fc4d0
add rsp, 0x1058
ret

Function at 0x1400d951c
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x31a8]
mov eax, 0x3290
call fcn.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x3180], rax
mov dword [0x140167d4c], 1
mov bl, cl
test dl, dl
je 0x1400d9692
mov r15d, 0x800
lea rcx, [rbp + 0x1180]
mov edx, r15d
xor r8d, r8d
call fcn.1400ce8e4
mov edx, r15d
lea rcx, [rbp + 0x1180]
call fcn.14007e920
lea r9, [rbp + 0x1180]
mov edx, r15d
lea r8, str._sRar_
lea rcx, [rbp + 0x2180]
call fcn.140002810
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x2180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400d9689
cmp dword [0x140167d4c], 1
jne 0x1400d9689
mov edi, dword [rsp + 0x24]
lea rdx, [rbp + 0x1180]
sub edi, dword [rsp + 0x38]
lea rcx, [rbp + 0x180]
mov r8, r15
call fcn.140096188
mov r8, r15
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x180]
call fcn.140096160
test byte [rsp + 0x30], 0x10
je 0x1400d9667
mov r8d, 6
lea rdx, str.Rar_DI
lea rcx, [rsp + 0x5c]
call fcn.1401038b0
test eax, eax
lea rcx, [rbp + 0x180]
sete r14b
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400d9673
cmp edi, 8
jb 0x1400d9654
test bl, bl
je 0x1400d9659
test r14b, r14b
je 0x1400d9673
lea rcx, [rbp + 0x180]
call fcn.1400ce07c
jmp 0x1400d9673
lea rcx, [rbp + 0x180]
call fcn.1400ce030
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400d95d7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x1400d96be
call fcn.1400620e8
test al, al
je 0x1400d96be
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov cl, 1
call fcn.1400e5388
mov cl, al
call fcn.140062268
and dword [0x140167d4c], 0
mov rcx, qword [rbp + 0x3180]
xor rcx, rsp
call fcn.1400fc4d0
lea r11, [rsp + 0x3290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400ddc88
Capabilities:
Get file system object information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov r9d, dword [rcx + 0x38]
lea r8, str._c:_
mov rbx, rcx
add r9d, 0x41
mov edx, 0xa
lea rcx, [r11 - 0x38]
call fcn.140002810
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x301
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x320]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test byte [rbx + 0x10], 1
je 0x1400ddd32
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx + 0x20]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, 0xe
mov edi, eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx + 0x20]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov esi, eax
jmp 0x1400ddd3a
mov edi, dword [rsp + 0x50]
mov esi, dword [rsp + 0x50]
mov r8d, dword [rbx + 0x2c]
lea r14, [rbx + 0x28]
mov edx, dword [r14]
lea rax, [0x14011bd58]
mov rcx, qword [rbx + 0x20]
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 2]
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.dll_ExtTextOutW]
lea ecx, [r15 + 0x31]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r15 + 0x32]
mov ebp, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9, qword [rsp + 0x60]
mov r8d, dword [rbx + 0x2c]
mov edx, dword [r14]
mov rcx, qword [rbx + 0x20]
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_DrawIconEx]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.1400cfbec
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1400dddda
mov edx, dword [r14]
lea r9, [rsp + 0x70]
mov r8d, dword [rbx + 0x2c]
add edx, 7
mov dword [rsp + 0x20], ecx
add edx, ebp
mov rcx, qword [rbx + 0x20]
add r8d, 2
call qword [sym.imp.GDI32.dll_TextOutW]
test byte [rbx + 0x10], 1
je 0x1400dde25
mov rcx, qword [rbx + 0x20]
mov edx, edi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [rbx + 0x20]
mov edx, esi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.1400fc4d0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400ddf04
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
test rcx, rcx
mov bpl, dl
mov rbx, rcx
mov rsi, rcx
sete dil
mov r14d, 1
test rcx, rcx
jne 0x1400ddf54
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400ddfbc
lea ecx, [r14 + 0xe]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400ddf72
cmp qword [0x140166d18], 0
je 0x1400ddf72
mov dl, dil
mov rcx, rbx
call fcn.1400ddfd8
test al, al
je 0x1400ddf72
mov dil, r14b
jmp 0x1400ddf75
xor dil, dil
test rsi, rsi
jne 0x1400ddf82
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400ddf8b
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragFinish]
test dil, dil
je 0x1400ddfbc
movzx eax, byte [0x140179a3e]
test bpl, bpl
mov rcx, qword [0x140166d18]
mov edx, 0x800e
cmovne eax, r14d
xor r9d, r9d
xor r8d, r8d
mov byte [0x140179a3e], al
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400ddfd8
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1040
call fcn.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebx, ebx
mov bpl, dl
cmp dword [0x140166ce0], ebx
mov rsi, rcx
je 0x1400de01e
xor al, al
jmp 0x1400de12c
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov edi, eax
cmp eax, 1
jne 0x1400de0e6
mov r9d, 0x800
mov word [rsp + 0x30], bx
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rsi
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 [0x140166ce4], bl
je 0x1400de088
test bpl, bpl
jne 0x1400de0b4
cmp rax, qword [0x14018d570]
je 0x1400de0b4
cmp rax, qword [0x140168eb8]
je 0x1400de0b4
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1400de0b4
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [0x14018d510]
call fcn.14004524c
cmp eax, 1
je 0x1400de017
lea rcx, [rsp + 0x30]
call fcn.1400802e0
mov rcx, rax
lea rdx, str.rarreg.
mov r8d, 7
call fcn.140099370
test eax, eax
jne 0x1400de0e6
lea rcx, [rsp + 0x30]
call fcn.1400e1130
jmp 0x1400de017
xor ecx, ecx
call fcn.1400c9d90
lea rcx, [0x14017fe00]
call fcn.1400963b4
test edi, edi
je 0x1400de12a
mov r9d, 0x800
lea r8, [rsp + 0x30]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rdx, [rsp + 0x30]
lea rcx, [0x14017fe00]
call fcn.1400961f8
inc ebx
cmp ebx, edi
jb 0x1400de0fd
mov al, 1
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400fc4d0
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 0x1400e1130
Capabilities:
Copy file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1f38]
mov eax, 0x2030
call fcn.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x1f20], rax
mov rdi, rcx
call fcn.1400620e8
test al, al
je 0x1400e11b2
cmp byte [0x140179a24], 0
jne 0x1400e11b2
mov ecx, 0x5f0
call fcn.1400900b8
mov ecx, 0x5f1
mov rbx, rax
call fcn.1400900b8
mov rcx, qword [0x140166d18]
mov rdx, rax
mov r9d, 0x24
mov r8, rbx
call fcn.1400d00d0
cmp eax, 6
jne 0x1400e1302
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.1400803dc
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.14007f7fc
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.14007e920
mov r8d, esi
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
call fcn.140096160
test bl, bl
je 0x1400e1236
lea rcx, [rsp + 0x20]
call fcn.14006f3a0
jmp 0x1400e125b
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r8, rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf20]
call fcn.140096188
mov rcx, qword [0x140166d18]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x140166d18]
mov edx, 1
call qword [sym.imp.USER32.dll_FlashWindow]
mov dl, 1
lea rcx, [rbp + 0xf20]
call fcn.140061f18
mov cl, al
call fcn.140062268
mov rcx, qword [0x140166d18]
xor edx, edx
call qword [sym.imp.USER32.dll_FlashWindow]
lea rcx, [0x14018d510]
call fcn.140048600
call fcn.1400620e8
test al, al
je 0x1400e12e4
mov ecx, 0x368
call fcn.1400900b8
mov ecx, 0x367
mov rbx, rax
call fcn.1400900b8
mov rcx, qword [0x140166d18]
mov rdx, rax
mov r9d, 0x40
mov r8, rbx
call fcn.1400d00d0
jmp 0x1400e1302
lea rcx, [rbp + 0xf20]
call fcn.14006f3a0
mov ecx, 0x366
call fcn.1400900b8
mov rcx, rax
call fcn.1400d4924
mov rcx, qword [rbp + 0x1f20]
xor rcx, rsp
call fcn.1400fc4d0
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400e33f0
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.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x2f70], rax
xor edi, edi
cmp byte [0x140166ce4], dil
je 0x1400e3608
mov esi, 0x800
lea rdx, [rbp + 0x1f70]
mov r8d, esi
lea rcx, [0x14018a710]
call fcn.14000606c
lea r8d, [rdi + 1]
lea rdx, [0x14011cd68]
lea rcx, [0x14011c730]
call fcn.1400a789c
test eax, eax
setne bl
test bl, bl
je 0x1400e3492
lea r9, [0x14011bd58]
mov dword [rsp + 0x20], esi
lea r8, [rsp + 0x70]
lea rdx, str.SaveArcFolder
lea rcx, str.InterfaceMisc
call fcn.1400a7a28
cmp word [rsp + 0x70], di
jne 0x1400e34a6
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.14003e638
lea rcx, [rbp + 0x1f70]
call fcn.1400802e0
mov rdx, rax
lea r8, [rbp + 0xf70]
mov r9, rsi
lea rcx, [rsp + 0x70]
call fcn.14007fd88
mov ecx, 0x5af
call fcn.1400900b8
mov rcx, qword [0x140166d18]
lea r8, [rbp + 0xf70]
mov rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
call fcn.1400097d0
test al, al
je 0x1400e3608
mov r8, rsi
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xf70]
call fcn.14007f694
test bl, bl
je 0x1400e3529
lea r8, [rsp + 0x70]
lea rdx, str.SaveArcFolder
lea rcx, str.InterfaceMisc
call fcn.1400a84c0
or rcx, 0xffffffffffffffff
lea rax, [rbp + 0x1f70]
mov rdx, rcx
inc rdx
cmp word [rax + rdx*2], di
jne 0x1400e3537
inc rdx
mov r8d, 0x7ff
cmp rdx, r8
mov eax, r8d
cmovb rax, rdx
mov edx, 0x1000
add rax, rax
cmp rax, rdx
jae 0x1400e3636
mov word [rbp + rax + 0x1f70], di
lea rax, [rbp + 0xf70]
inc rcx
cmp word [rax + rcx*2], di
jne 0x1400e3573
inc rcx
cmp rcx, r8
cmovb r8, rcx
add r8, r8
cmp r8, rdx
jae 0x1400e3630
xor edx, edx
mov word [rbp + r8 + 0xf70], di
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400fd6e0
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 0x1400e3608
cmp dword [rsp + 0x54], edi
jne 0x1400e3608
mov ecx, 0x5b0
call fcn.1400900b8
mov r8, qword [rsp + 0x48]
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.1400d4924
lea rcx, [0x14019bd38]
call fcn.1400696d4
mov rcx, qword [rbp + 0x2f70]
xor rcx, rsp
call fcn.1400fc4d0
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.1400fc234
int3
call fcn.1400fc234
int3
Function at 0x1400e41e0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, dword [rdx + 0x10]
mov eax, 0x10000
mov esi, dword [rdx + 0x14]
xor r8d, r8d
mov r10, rcx
mov dword [rbp - 0x21], eax
mov ecx, dword [rdx + 0x18]
mov rbx, rdx
mov qword [rbp - 0x19], rax
mov dword [rbp - 9], eax
mov dword [rbp - 5], eax
mov dword [rbp + 3], eax
mov qword [rbp + 7], rax
mov dword [rbp + 0xf], eax
mov dword [rbp + 0x13], eax
mov dword [rbp + 0x17], eax
mov dword [rbp + 0x1f], eax
mov dword [rbp + 0x23], eax
mov dword [rbp + 0x27], eax
lea eax, [rcx + 1]
mov dword [rdx + 0x18], eax
mov qword [rbp - 0x29], r8
mov dword [rbp - 0x1d], 0x38000
mov qword [rbp - 0x11], r8
mov dword [rbp - 1], 0x7c000
mov dword [rbp + 0x1b], 0xfe000
cmp ecx, 6
jb 0x1400e426c
mov dword [rdx], r8d
jmp 0x1400e42d6
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
cmp ecx, 3
jb 0x1400e428b
mov eax, 5
sub eax, ecx
mov ecx, eax
mov byte [rsp + 0x50], r8b
mov r9d, 0xa
mov eax, ecx
lea rcx, [rbp - 0x29]
imul rdx, rax, 0x1c
mov al, byte [rbx + 6]
mov byte [rsp + 0x48], al
add rdx, rcx
mov al, byte [rbx + 5]
mov rcx, r10
mov byte [rsp + 0x40], al
mov al, byte [rbx + 4]
mov byte [rsp + 0x38], al
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 7
call fcn.1400e3938
mov dword [rbx + 0x10], edi
mov dword [rbx + 0x14], esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400fc4d0
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e543c
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.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x3550], rax
cmp dword [0x140160118], 0xffffffff
mov r14, r9
mov bl, r8b
mov rdi, rdx
mov rsi, rcx
mov r13d, 0x4001
mov r15d, 0x800
jne 0x1400e54ee
mov r9d, 0x2b8
mov dword [rsp + 0x20], r13d
lea r8, [rbp - 0x30]
xor edx, edx
lea rcx, [0x14011c97c]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp - 0x28]
lea rdx, [rbp + 0x2550]
mov r8d, r15d
mov dword [0x1401cd25c], 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 [0x140160118], eax
mov r8, r15
lea rcx, [rbp + 0x550]
mov rdx, rdi
call fcn.140096188
mov r8, r15
lea rdx, [rbp + 0x550]
lea rcx, [rbp + 0x550]
call fcn.140080484
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 0x1400e5560
neg bl
mov dword [rsp + 0x20], 0x4011
sbb edx, edx
and edx, 0x10
jmp 0x1400e5567
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 0x1400e5590
mov rdx, rsi
call fcn.140096188
jmp 0x1400e55b9
lea rdx, [rbp + 0x550]
call fcn.140096188
lea rcx, [rbp + 0x1550]
call fcn.140080334
lea rcx, [rbp + 0x550]
call fcn.1400802e0
mov qword [rsp + 0x48], rax
mov rcx, qword [0x140167d30]
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 ecx, dword [0x1401cd25c]
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 edx, 0x104c
cmovne ecx, dword [0x140160118]
xor r8d, r8d
mov dword [rsp + 0x54], ecx
mov rcx, rsi
mov dword [rsp + 0x38], r15d
call qword [sym.imp.USER32.dll_SendMessageW]
lea edi, [r15 + 1]
movsxd r8, ebx
lea r9, [rbp - 0x80]
mov dword [rbp - 0x78], edi
mov edx, 0x1074
mov qword [rbp - 0x68], r14
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x1400e5675
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 eax, dword [0x1401c95f0]
add eax, r15d
mov dword [0x1401c95f0], eax
cmp eax, r15d
jne 0x1400e56a5
mov ecx, 0x4f5
call fcn.1400900b8
mov rcx, qword [0x140167d30]
mov r8, rax
mov edx, edi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rbp + 0x3550]
xor rcx, rsp
call fcn.1400fc4d0
add rsp, 0x3660
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e766c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2040
call fcn.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
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, [0x14011bd58]
call fcn.1400a78b4
movsxd rdi, eax
test eax, eax
je 0x1400e7724
mov r8d, 0x800
lea rdx, [rsp + 0x30]
lea rcx, str.Rar_RK
call fcn.1400cebf4
mov rbx, rax
test rax, rax
je 0x1400e7711
mov r8, rdi
lea rcx, [rsp + 0x1030]
mov r9, rax
mov edx, 1
call fcn.140103d74
mov rcx, rbx
call fcn.1401039a8
lea rcx, [rsp + 0x30]
call fcn.1400e1130
lea rcx, [rsp + 0x30]
call fcn.14006f3a0
lea rdx, str.rarreg.key
lea rcx, [0x14011bd58]
call fcn.1400a7318
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400fc4d0
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret