joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c459c
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400c463c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x14015572e]
lea rcx, str.Rar_CM
mov r8d, 0x800
xor ebp, ebp
call fcn.1400c52e4
mov rsi, rax
test rax, rax
je 0x1400c4628
or r8, 0xffffffffffffffff
mov rdi, r8
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c45e6
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400c45ef
mov r9, rsi
mov edx, 2
mov rcx, rbx
call fcn.1400f6208
mov rcx, rsi
call fcn.1400f5e3c
mov eax, dword [0x140156730]
test rdi, rdi
mov ecx, 3
cmovne eax, ecx
mov dword [0x140156730], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c4ff8
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push 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 ebp, ebp
mov sil, r8b
cmp word [0x1401482e8], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400c5047
mov r8, rdx
lea rdx, [0x1401482e8]
call fcn.14008df58
jmp 0x1400c50e6
lea r9, [0x14010d188]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, str.Paths
call fcn.14009f6dc
movzx eax, word [rbx]
mov word [rsp + 0x30], bp
test ax, ax
je 0x1400c50a5
mov r8d, 0x800
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400c509d
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008df58
movzx eax, word [rbx]
test ax, ax
jne 0x1400c50af
test sil, sil
je 0x1400c50bd
test ax, ax
je 0x1400c50e6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c50e6
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400c50d1
cmp word [rbx], bp
jne 0x1400c50e6
movups xmm0, xmmword [str._rartemp]
movups xmmword [rbx], xmm0
movzx eax, word [0x14011a880]
mov word [rbx + 0x10], ax
mov rdx, rdi
mov rcx, rbx
call fcn.140077908
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400eeae0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c5114
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor r8d, r8d
lea rdx, str.NoDrives
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov ebx, eax
call fcn.14009f550
not eax
and eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400c53c0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rdi, rdx
mov rsi, r8
mov rdx, rcx
mov r8d, 0x7ff
lea rcx, [rsp + 0x1020]
mov bl, r9b
call fcn.14008df58
xor ebp, ebp
test bl, bl
je 0x1400c5464
cmp byte [0x1401697b0], bpl
jne 0x1400c5420
cmp byte [0x1401696fb], bpl
mov eax, ebp
je 0x1400c5425
mov eax, 1
test al, al
lea rcx, [rsp + 0x1020]
mov r9d, ebp
setne r9b
add r9d, 0x61
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400c543e
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x14011a858]
call fcn.1400026d8
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400c4ff8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140077908
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.14008df20
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140069460
test rax, rax
je 0x1400c54cf
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400c54cf
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14008df58
mov al, 1
jmp 0x1400c54f4
mov ecx, 0x1f7
call fcn.140087e6c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400d1b9c
lea rcx, [0x14017d200]
call fcn.140063254
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400eeae0
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c5518
Capabilities:
Capture screenshot

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 r12
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, r15
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r8, [rsp + 0x60]
mov edx, 0x20
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x68]
mov rcx, r15
mov edx, dword [rsp + 0x64]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rbx
mov rcx, r14
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsp + 0x68]
mov rbx, rax
mov r9d, dword [rsp + 0x64]
mov ecx, r9d
mov dword [rsp + 0x50], 0xcc0020
neg ecx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], ecx
mov rcx, rbp
and dword [rsp + 0x38], 0
lea r8d, [r9 - 1]
mov dword [rsp + 0x30], r8d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x64]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, r14
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x1400c596c
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov edx, 1
lea rcx, str.Shutdown
call fcn.14000ba20
test eax, eax
je 0x1400c59c0
cmp byte [0x14017d20a], 0
jne 0x1400c59c0
cmp byte [0x14015cb10], 0
jne 0x1400c59c0
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400c4db4]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400c59c0
mov ecx, ebx
call fcn.14008eaa8
add rsp, 0x20
pop rbx
ret

Function at 0x1400c6370
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400c642c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x140117a70]
mov rcx, qword [0x14017d140]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400c6461
xor eax, eax
jmp 0x1400c6561
mov rcx, qword [0x14017d140]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400c645a
mov rcx, qword [0x14017d140]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c645a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400c645a
and qword [rsp + 0x40], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400c655c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400c6553
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1400efeb0
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400c654a
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.1400c62e4
mov rcx, qword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rbx, rbx
je 0x1400c654a
mov ecx, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test ecx, ecx
jne 0x1400c653d
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400c653d
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c6aa0
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400c6ab4
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x1400c6af1
mov ecx, 0x627
call fcn.140087e6c
mov rcx, rax
mov rdx, rdi
call fcn.1400d1b9c
lea rcx, [0x14017d200]
call fcn.140063254
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c924c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x440
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov ebp, edx
mov dword [rcx], 0x3c8
mov r14, rcx
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov esi, 0x200
mov r8d, esi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.140046214
or rbx, 0xffffffffffffffff
cmp word [0x1401a1b50], 0
je 0x1400c931e
lea rcx, [rsp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400c92bb
mov eax, dword [0x1401137c8]
mov rdi, rbx
mov dword [rcx], eax
movzx eax, word [0x1401137cc]
mov word [rcx + 4], ax
lea rax, [rsp + 0x30]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400c92e0
mov ecx, 0x5aa
call fcn.140087e6c
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x1401a1b50]
mov rdx, rsi
sub rdx, rdi
mov qword [rsp + 0x20], rax
lea rcx, [rcx + rdi*2]
lea r8, str._s:__s
call fcn.1400026d8
cmp byte [0x1401a1b48], 0
je 0x1400c9380
lea rcx, [rsp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400c9330
mov eax, dword [0x1401137c8]
mov dword [rcx], eax
movzx eax, word [0x1401137cc]
mov word [rcx + 4], ax
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400c9352
mov ecx, 0x2fd
call fcn.140087e6c
sub rsi, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rbx*2]
mov r8, rax
mov r9d, ebp
mov rdx, rsi
call fcn.1400026d8
lea rcx, [r14 + 0x28]
mov r8d, 0x80
lea rdx, [rsp + 0x30]
call fcn.14008df58
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400eeae0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400c9bfc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x140146cf0]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0xa00
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r10, [rsp + 0x20]
mov rcx, rbx
sub r10, rbx
movzx r8d, word [rcx]
movzx r9d, word [rcx + r10]
sub r8d, r9d
jne 0x1400c9c6c
add rcx, 2
test r9d, r9d
jne 0x1400c9c55
test r8d, r8d
je 0x1400c9c7d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.1400eeae0
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400c9ca0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x448
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rcx, qword [0x140146cf0]
test rcx, rcx
je 0x1400c9dec
mov r8d, 0x200
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x14019e4b8]
cmp eax, 0xa
je 0x1400c9d2f
lea rcx, [rsp + 0x30]
lea rdx, [0x1401a04c0]
mov r9, rdx
sub r9, rcx
movzx r8d, word [rcx]
movzx r10d, word [rcx + r9]
sub r8d, r10d
jne 0x1400c9d17
add rcx, 2
test r10d, r10d
jne 0x1400c9d00
test r8d, r8d
je 0x1400c9d2f
mov rcx, qword [0x140146cf0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x14019e4b8]
cmp eax, 3
jne 0x1400c9d4b
lea rdx, [0x1401a15c0]
mov ecx, 0x9c
call fcn.1400c9bfc
mov eax, dword [0x14019e4b8]
cmp eax, 2
jbe 0x1400c9d55
cmp eax, 0xa
jne 0x1400c9d7f
lea rdx, [0x1401a15c0]
mov ecx, 0x9c
call fcn.1400c9bfc
lea rcx, [0x14019e4c0]
call fcn.1400792dc
mov rdx, rax
mov ecx, 0x9b
call fcn.1400c9bfc
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 [0x1401a30f4], eax
jle 0x1400c9dca
lea rcx, [0x1401a30f4]
call fcn.1400ef210
cmp dword [0x1401a30f4], 0xffffffff
jne 0x1400c9dca
and dword [0x1401a30f0], 0
lea rcx, [0x1401a30f4]
call fcn.1400ef1b0
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x1401a30f0]
call fcn.140045d30
test al, al
je 0x1400c9dec
mov rcx, qword [0x140146cf0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400eeae0
add rsp, 0x448
ret
Function at 0x1400cc6a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x14015884c]
lea rdi, str.ExtractionProfile
mov rcx, rdi
lea rdx, str.Overwrite
call fcn.1400a00f0
movzx r8d, byte [0x140158870]
lea rdx, str.Update
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x14015886f]
lea rdx, str.Fresh
mov rcx, rdi
call fcn.1400a00f0
mov r8d, dword [0x14015884c]
lea rdx, str.Overwrite
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x140159ad8]
lea rdx, str.UnpToSubfolders
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x1401588cc]
lea rdx, str.KeepBroken
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x1401a5121]
lea rdx, str.ShowExplorer
mov rcx, rdi
call fcn.1400a00f0
mov r8d, dword [0x140159ae0]
lea rdx, str.mtime
mov rcx, rdi
call fcn.1400a00f0
mov r8d, dword [0x140159ae4]
lea rdx, str.ctime
mov rcx, rdi
call fcn.1400a00f0
mov r8d, dword [0x140159ae8]
lea rdx, str.atime
mov rcx, rdi
call fcn.1400a00f0
xor ebx, ebx
lea rdx, str.PathsRel
cmp dword [0x140158874], 2
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a00f0
cmp dword [0x140158874], ebx
lea rdx, str.PathsFull
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a00f0
cmp dword [0x140158874], 1
lea rdx, str.PathsNone
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a00f0
cmp dword [0x140158874], 4
lea rdx, str.PathsAbsDrive
mov rcx, rdi
sete bl
mov r8d, ebx
call fcn.1400a00f0
movzx r8d, byte [0x14015886c]
lea rdx, str.ClearArc
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x1401588c0]
lea rdx, str.ProcessOwners
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x1401589ed]
lea rdx, str.SetCompressedAttr
mov rcx, rdi
call fcn.1400a00f0
mov r8d, dword [0x14015cb1c]
lea rdx, str.ExtrDelArc
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x14015cb03]
lea rdx, str.Background
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x14015cb04]
lea rdx, str.WaitForOther
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x1401588c3]
lea rdx, str.AbsoluteLinks
mov rcx, rdi
call fcn.1400a00f0
movzx r8d, byte [0x1401588cf]
lea rdx, str.AllowIncompatNames
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400a00f0
Function at 0x1400cc8c8
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.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x1f30], rax
xor r12d, r12d
mov rsi, r9
mov rbx, r8
mov r15, rdx
mov rdi, rcx
mov r13d, 0x800
cmp byte [rbp + 0x1fc0], r12b
je 0x1400cc97f
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.14009f6dc
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400cc955
sub rcx, rbx
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1400cc943
jmp 0x1400cc97f
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8, r15
mov word [rbp + 0x1f2e], r12w
lea rdx, [rbp + 0xf30]
mov rcx, rdi
call fcn.14008df58
movzx r14d, word [rdi]
test r14w, r14w
jne 0x1400cc99b
mov r8, r15
lea rcx, [0x14016c120]
mov rdx, rdi
call fcn.140040094
mov rdx, r15
mov rcx, rdi
call fcn.140077908
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14008df58
mov rsi, r12
cmp word [rsp + 0x30], r12w
je 0x1400cca0d
mov rax, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp word [rbx], r13w
jne 0x1400cc9f2
lea rcx, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.1400efc50
test rax, rax
je 0x1400cc9f2
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 0x1400cc9cf
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14007867c
mov rbx, rax
test rax, rax
je 0x1400ccaa8
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400ccaa8
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.14007867c
mov rsi, rax
test rax, rax
je 0x1400cca9a
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400cca9a
cmp byte [rbp + 0x1fb8], r12b
je 0x1400cca77
cmp word [rbx + 2], r12w
je 0x1400cca77
movzx ecx, word [rbx + 4]
call fcn.14008db0c
test al, al
jne 0x1400cca77
movzx ecx, word [rbx - 2]
call fcn.14008db0c
test al, al
jne 0x1400cca8a
lea rdx, str..tar
mov rcx, rsi
call fcn.140091088
test eax, eax
jne 0x1400cca9a
mov word [rsi], r12w
jmp 0x1400cca9a
cmp word [rbx], 0x2e
jne 0x1400ccaa8
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400cca90
lea rcx, [rsp + 0x30]
call fcn.1400792dc
lea rbx, [0x1401a4120]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.14008df58
mov rcx, rbx
call fcn.1400c5934
xor edx, edx
mov rcx, rbx
call fcn.14007901c
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400ccae8
test r14w, r14w
je 0x1400ccb1d
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.14009f550
test eax, eax
je 0x1400ccb1d
lea rcx, [rsp + 0x30]
call fcn.1400792dc
mov rdx, rax
mov r8, r15
mov rcx, rdi
call fcn.14008df20
mov rcx, rdi
call fcn.1400c5934
xor edx, edx
mov rcx, rdi
call fcn.14007901c
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.1400eeae0
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400ccb54
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1058
call fcn.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [0x14016c120]
mov r9d, 0x800
call fcn.140040770
mov edx, 0x802
lea rcx, [rsp + 0x30]
call fcn.140077908
mov r8d, 0x802
lea rdx, [0x14010d93c]
lea rcx, [rsp + 0x30]
call fcn.14008df20
lea rax, [0x14010d188]
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.1400eeae0
add rsp, 0x1058
ret

Function at 0x1400cd788
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.1400eea70
sub rsp, rax
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x3180], rax
mov dword [0x140146d0c], 1
mov bl, cl
test dl, dl
je 0x1400cd8fe
mov r15d, 0x800
lea rcx, [rbp + 0x1180]
mov edx, r15d
xor r8d, r8d
call fcn.1400c4ff8
mov edx, r15d
lea rcx, [rbp + 0x1180]
call fcn.140077908
lea r9, [rbp + 0x1180]
mov edx, r15d
lea r8, str._sRar_
lea rcx, [rbp + 0x2180]
call fcn.1400026d8
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 0x1400cd8f5
cmp dword [0x140146d0c], 1
jne 0x1400cd8f5
mov edi, dword [rsp + 0x24]
lea rdx, [rbp + 0x1180]
sub edi, dword [rsp + 0x38]
lea rcx, [rbp + 0x180]
mov r8, r15
call fcn.14008df58
mov r8, r15
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x180]
call fcn.14008df20
test byte [rsp + 0x30], 0x10
je 0x1400cd8d3
mov r8d, 6
lea rdx, str.Rar_DI
lea rcx, [rsp + 0x5c]
call fcn.1400f5d44
test eax, eax
lea rcx, [rbp + 0x180]
sete r14b
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400cd8df
cmp edi, 8
jb 0x1400cd8c0
test bl, bl
je 0x1400cd8c5
test r14b, r14b
je 0x1400cd8df
lea rcx, [rbp + 0x180]
call fcn.1400c479c
jmp 0x1400cd8df
lea rcx, [rbp + 0x180]
call fcn.1400c4750
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400cd843
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x1400cd928
cmp byte [0x1401748e4], bl
je 0x1400cd928
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.1400d7fa8
mov byte [0x1401748e4], al
and dword [0x140146d0c], 0
mov rcx, qword [rbp + 0x3180]
xor rcx, rsp
call fcn.1400eeae0
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 0x1400d11ac
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 [0x14013f2b0]
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.1400026d8
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 0x1400d1256
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 0x1400d125e
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, [0x14010d188]
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.1400c61a8
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1400d12fe
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 0x1400d1349
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.1400eeae0
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