joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e64a8
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.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebp, ebp
mov sil, r8b
cmp word [0x14018ace8], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400e64ef
lea rdx, [0x14018ace8]
jmp 0x1400e657f
lea r9, [0x14013ef10]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, [0x14013f1d8]
call fcn.1400bb700
mov r8d, 0x800
mov word [rsp + 0x30], bp
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [rbx], bp
je 0x1400e654c
dec eax
cmp eax, 0x7fe
ja 0x1400e6547
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400aa9e4
cmp word [rbx], bp
jne 0x1400e6553
test sil, sil
je 0x1400e6561
jmp 0x1400e6587
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400e6587
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400e6575
cmp word [rbx], bp
jne 0x1400e6587
lea rdx, str._rartemp
mov rcx, rbx
mov r8, rdi
call fcn.1400aa9e4
mov rdx, rdi
mov rcx, rbx
call fcn.140093540
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140117fa0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e65b8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor r8d, r8d
lea rdx, str.NoDrives
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov esi, eax
call fcn.1400bb570
xor r9d, r9d
lea r8, str.NoDrives
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov rcx, 0xffffffff80000002
mov edi, eax
call fcn.1400bb358
xor edx, edx
lea rcx, str.NoDrives
mov ebx, eax
call fcn.1400e6448
or eax, ebx
mov rbx, qword [rsp + 0x30]
or eax, edi
not eax
and eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e68f4
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
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.1400aa9e4
xor ebp, ebp
test bl, bl
je 0x1400e698e
cmp byte [0x1401b9ad0], bpl
jne 0x1400e6956
cmp byte [0x1401b9a1b], bpl
lea r9d, [rbp + 0x61]
je 0x1400e695c
mov r9d, SHRestricted
lea rcx, [rsp + 0x1020]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400e6968
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x1401547d0]
call fcn.140004dcc
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400e64a8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140093540
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.1400aa9bc
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.14008426c
test rax, rax
je 0x1400e69f9
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400e69f9
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400aa9e4
mov al, 1
jmp 0x1400e6a1e
mov ecx, 0x1f7
call fcn.1400a493c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400ec898
lea rcx, [0x1401c97d8]
call fcn.14007cb90
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.140117fa0
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e6a44
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 0x1400e6eac
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1400e669c
test al, al
jne 0x1400e6f19
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400e6210]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400e6f19
cmp ebx, 5
jne 0x1400e6f07
mov rcx, qword [0x1401897d0]
test rcx, rcx
je 0x1400e6f19
cmp qword [0x1401897f0], 0
jne 0x1400e6f19
xor r9d, r9d
lea edx, [rbx + 0xb]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400e6f19
mov ecx, ebx
call fcn.1400f2528
test al, al
je 0x1400e6f19
mov ecx, ebx
call fcn.1400ab430
add rsp, 0x20
pop rbx
ret

Function at 0x1400e77e0
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 0x1400e77fc
Capabilities:
Query environment variable

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1050
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400948b8
test al, al
je 0x1400e789a
movzx r9d, word [rsi]
lea r8, str.___c:__
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.140004dcc
mov r8d, 0x800
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400e7884
cmp word [rsp + 0x40], 0x25
je 0x1400e7884
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400aa9e4
jmp 0x1400e789a
movzx r9d, word [rsi]
lea r8, str._c:_
mov rdx, rdi
mov rcx, rbx
call fcn.140004dcc
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x1050
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400e79f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
lea r8, [0x140151b88]
mov rdx, rcx
mov rcx, qword [0x1401c9660]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400e7b7d
mov rdx, rax
mov rcx, qword [0x1401c9660]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400e7b7d
mov rdx, rbx
mov rcx, qword [0x1401c9660]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400e7b7d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400e7b7d
and qword [rsp + 0x68], 0
mov esi, edi
mov edx, edi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400e7b76
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400e7b6d
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.14011a0e0
and qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400e7b64
mov rsi, qword [rsp + 0x58]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400e7b11
lea rax, [0x140154918]
mov qword [rbx], rax
lea rax, [0x140154928]
mov qword [rbx], rax
and qword [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
jmp 0x1400e7b13
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a07c7.0]
test rbx, rbx
je 0x1400e7b64
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x1400e7b50
mov r8d, 0xffffff
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 8]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400e7b50
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400a07c7.0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x68]
jmp 0x1400e7b7f
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400e8148
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 0x1400e815c
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.1400948b8
test al, al
je 0x1400e81a5
movzx r9d, word [rbx]
lea r8, [0x140154950]
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.140004dcc
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x40
pop rbx
ret

Function at 0x1400e81b8
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 eax, eax
jne 0x1400e81f5
mov ecx, 0x627
call fcn.1400a493c
mov rcx, rax
mov rdx, rdi
call fcn.1400ec898
lea rcx, [0x1401c97d8]
call fcn.14007cb90
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ea5a4
Capabilities:
Extract resource via kernel32 functions
Get graphical window text

Disassembly:
mov r9, qword [rcx + 0x18]
mov r8b, byte [rcx + 0x10]
mov rdx, qword [rcx + 8]
mov ecx, dword [rcx]
jmp fcn.1400e9d7c

Function at 0x1400eb298
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 [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r14d, edx
mov rbp, rcx
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x30]
mov edi, 0x200
mov r8d, edi
call qword [sym.imp.USER32.dll_GetWindowTextW]
or rbx, 0xffffffffffffffff
cmp word [0x1401efdc0], 0
je 0x1400eb344
mov r8d, edi
lea rdx, [0x1401447c8]
lea rcx, [rsp + 0x30]
call fcn.1400aa9bc
lea rax, [rsp + 0x30]
mov rsi, rbx
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400eb306
mov ecx, 0x5aa
call fcn.1400a493c
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x1401efdc0]
mov rdx, rdi
sub rdx, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rcx + rsi*2]
lea r8, str._s:__s
call fcn.140004dcc
cmp byte [0x1401ec72d], 0
je 0x1400eb394
mov r8, rdi
lea rdx, [0x1401447c8]
lea rcx, [rsp + 0x30]
call fcn.1400aa9bc
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400eb366
mov ecx, 0x2fd
call fcn.1400a493c
sub rdi, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rbx*2]
mov r8, rax
mov r9d, r14d
mov rdx, rdi
call fcn.140004dcc
mov ebx, 0x80
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.1400c4774
lea rcx, [rbp + 0x28]
mov r8d, ebx
lea rdx, [rsp + 0x30]
call fcn.1400aa9e4
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140117fa0
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 0x1400ebbac
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x1401897e8]
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 0x1400ebc1c
add rcx, 2
test r9d, r9d
jne 0x1400ebc05
test r8d, r8d
je 0x1400ebc2d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.140117fa0
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400ebc50
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x808
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
cmp qword [0x1401897e8], 0
je 0x1400ebe2b
mov ecx, dword [0x14022c000]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401f1384], eax
jg 0x1400ebe43
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x1401f1380]
call fcn.14005c9b4
test al, al
jne 0x1400ebcbf
mov byte [0x1401ec72c], 1
jmp 0x1400ebe2b
mov byte [0x1401ec72c], 0
mov r8d, 0x200
lea rdx, [rsp + 0x3f0]
mov rcx, qword [0x1401897e8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x1401ec728]
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x1400ebdac
lea rax, [rsp + 0x3f0]
lea r8, [0x1401ee730]
sub r8, rax
movzx edx, word [rax]
movzx r9d, word [rax + r8]
sub edx, r9d
jne 0x1400ebd1b
add rax, 2
test r9d, r9d
jne 0x1400ebd05
test edx, edx
je 0x1400ebdac
lea rdx, [0x1401ee730]
mov rcx, qword [0x1401897e8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x1401ec728]
cmp ecx, 3
jne 0x1400ebdc8
cmp qword [0x1401ec720], 0
je 0x1400ebdb1
xor edx, edx
mov r8d, 0x3d0
lea rcx, [rsp + 0x20]
call fcn.14011ac30
mov dword [rsp + 0x20], 0x3d0
mov rax, qword [0x1401897e8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x7b
mov dword [rsp + 0x34], 4
mov edx, dword [0x1401efe24]
lea rcx, [rsp + 0x20]
call fcn.1400eb298
lea rdx, [rsp + 0x20]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x1401ec728]
cmp ecx, 3
jne 0x1400ebdc8
lea rdx, [0x1401ef830]
mov ecx, 0x9d
call fcn.1400ebbac
mov ecx, dword [0x1401ec728]
cmp ecx, 2
jbe 0x1400ebdd2
cmp ecx, 0xa
jne 0x1400ebe1e
lea rdx, [0x1401ef830]
mov ecx, 0x9d
call fcn.1400ebbac
lea rcx, [0x1401ec730]
call fcn.140095154
mov r8, rax
mov edx, 0x9c
mov rcx, qword [0x1401897e8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, 0x9c
mov rcx, qword [0x1401897e8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.1400c4974
mov rcx, qword [0x1401897e8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x808
ret
lea rcx, [0x1401f1384]
call fcn.1401185a8
cmp dword [0x1401f1384], 0xffffffff
jne 0x1400ebc9e
and dword [0x1401f1380], 0
lea rcx, [0x1401f1384]
call fcn.140118548
jmp 0x1400ebc9e
Function at 0x1400f0780
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x1401a156c]
lea rdi, str.ExtractionProfile
mov rcx, rdi
lea rdx, str.Overwrite
call fcn.1400bc180
movzx r8d, byte [0x1401a1598]
lea rdx, [0x140152200]
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a1597]
lea rdx, str.Fresh
mov rcx, rdi
call fcn.1400bc180
mov r8d, dword [0x1401a156c]
lea rdx, str.Overwrite
mov rcx, rdi
call fcn.1400bc180
mov r8d, dword [0x1401a2908]
lea rdx, str.UnpToSubfolders
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a15cc]
lea rdx, str.KeepBroken
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401f6c11]
lea rdx, str.ShowExplorer
mov rcx, rdi
call fcn.1400bc180
mov r8d, dword [0x1401a2910]
lea rdx, str.mtime
mov rcx, rdi
call fcn.1400bc180
mov r8d, dword [0x1401a2914]
lea rdx, str.ctime
mov rcx, rdi
call fcn.1400bc180
mov r8d, dword [0x1401a2918]
lea rdx, str.atime
mov rcx, rdi
call fcn.1400bc180
xor ebx, ebx
lea rdx, str.PathsRel
cmp dword [0x1401a159c], 2
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400bc180
cmp dword [0x1401a159c], ebx
lea rdx, str.PathsFull
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400bc180
cmp dword [0x1401a159c], 1
lea rdx, str.PathsNone
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400bc180
cmp dword [0x1401a159c], 4
lea rdx, str.PathsAbsDrive
mov rcx, rdi
sete bl
mov r8d, ebx
call fcn.1400bc180
movzx r8d, byte [0x1401a1594]
lea rdx, str.ClearArc
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a15c0]
lea rdx, str.ProcessOwners
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a17ed]
lea rdx, str.SetCompressedAttr
mov rcx, rdi
call fcn.1400bc180
mov r8d, dword [0x1401a6958]
lea rdx, str.ExtrDelArc
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a695c]
lea rdx, str.ExtrDelRecycleBin
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a693b]
lea rdx, [0x140154018]
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a693c]
lea rdx, str.WaitForOther
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a15c3]
lea rdx, str.AbsoluteLinks
mov rcx, rdi
call fcn.1400bc180
movzx r8d, byte [0x1401a15cf]
lea rdx, str.AllowIncompatNames
mov rcx, rdi
call fcn.1400bc180
mov r8d, dword [0x1401a290c]
lea rdx, str.Shutdown
mov rcx, rdi
call fcn.1400bc180
lea r8, [0x1401a6964]
mov rcx, rdi
lea rdx, str.CmdSwitches
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400bc168
Function at 0x1400f09ec
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.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
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 0x1400f0a9a
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.1400bb700
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400f0a69
mov rdx, rbx
jmp 0x1400f0a8c
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400f0a96
lea rdx, [rbp + 0xf30]
mov rcx, rdi
mov r8, r14
call fcn.1400aa9e4
jmp 0x1400f0a9a
mov word [rdi], r12w
movzx r15d, word [rdi]
test r15w, r15w
jne 0x1400f0ab6
mov r8, r14
lea rcx, [0x1401bc3f0]
mov rdx, rdi
call fcn.14005696c
mov rdx, r14
mov rcx, rdi
call fcn.140093540
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400aa9e4
movzx eax, word [rsp + 0x30]
mov rsi, r12
test ax, ax
je 0x1400f0b2c
mov rcx, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp ax, r13w
jne 0x1400f0b0f
lea rax, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.140119228
test rax, rax
je 0x1400f0b0f
mov eax, 0x5f
mov word [rbx], ax
inc rsi
lea rbx, [rsp + 0x30]
lea rcx, [rsi + rsi]
add rbx, rcx
movzx eax, word [rbx]
test ax, ax
jne 0x1400f0aec
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.140094328
mov rbx, rax
test rax, rax
je 0x1400f0bc7
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400f0bc7
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.140094328
mov rsi, rax
test rax, rax
je 0x1400f0bb9
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400f0bb9
cmp byte [rbp + 0x1fb8], r12b
je 0x1400f0b96
cmp word [rbx + 2], r12w
je 0x1400f0b96
movzx ecx, word [rbx + 4]
call fcn.1400aa5c0
test al, al
jne 0x1400f0b96
movzx ecx, word [rbx - 2]
call fcn.1400aa5c0
test al, al
jne 0x1400f0ba9
lea rdx, str..tar
mov rcx, rsi
call fcn.1400adb10
test eax, eax
jne 0x1400f0bb9
mov word [rsi], r12w
jmp 0x1400f0bb9
cmp word [rbx], 0x2e
jne 0x1400f0bc7
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400f0baf
lea rcx, [rsp + 0x30]
call fcn.140095154
lea rbx, [0x1401f5c10]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.1400aa9e4
mov rcx, rbx
call fcn.1400e6e74
xor edx, edx
mov rcx, rbx
call fcn.140094e24
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400f0c07
test r15w, r15w
je 0x1400f0c3c
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.1400bb570
test eax, eax
je 0x1400f0c3c
lea rcx, [rsp + 0x30]
call fcn.140095154
mov rdx, rax
mov r8, r14
mov rcx, rdi
call fcn.1400aa9bc
mov rcx, rdi
call fcn.1400e6e74
xor edx, edx
mov rcx, rdi
call fcn.140094e24
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400f0c74
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1058
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [0x1401bc3f0]
mov r9d, 0x800
call fcn.140057058
mov edx, 0x802
lea rcx, [rsp + 0x30]
call fcn.140093540
mov r8d, 0x802
lea rdx, [0x14013ffc8]
lea rcx, [rsp + 0x30]
call fcn.1400aa9bc
lea rax, [0x14013ef10]
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.140117fa0
add rsp, 0x1058
ret

Function at 0x1400f1a3c
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.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0x3180], rax
mov dword [0x14018980c], 1
mov bl, cl
test dl, dl
je 0x1400f1bb2
mov r15d, 0x800
lea rcx, [rbp + 0x1180]
mov edx, r15d
xor r8d, r8d
call fcn.1400e64a8
mov edx, r15d
lea rcx, [rbp + 0x1180]
call fcn.140093540
lea r9, [rbp + 0x1180]
mov edx, r15d
lea r8, str._sRar_
lea rcx, [rbp + 0x2180]
call fcn.140004dcc
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 0x1400f1ba9
cmp dword [0x14018980c], 1
jne 0x1400f1ba9
mov edi, dword [rsp + 0x24]
lea rdx, [rbp + 0x1180]
sub edi, dword [rsp + 0x38]
lea rcx, [rbp + 0x180]
mov r8, r15
call fcn.1400aa9e4
mov r8, r15
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x180]
call fcn.1400aa9bc
test byte [rsp + 0x30], 0x10
je 0x1400f1b87
mov r8d, 6
lea rdx, str.Rar_DI
lea rcx, [rsp + 0x5c]
call fcn.140124fa4
test eax, eax
lea rcx, [rbp + 0x180]
sete r14b
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400f1b93
cmp edi, 8
jb 0x1400f1b74
test bl, bl
je 0x1400f1b79
test r14b, r14b
je 0x1400f1b93
lea rcx, [rbp + 0x180]
call fcn.1400e5c00
jmp 0x1400f1b93
lea rcx, [rbp + 0x180]
call fcn.1400e5bb4
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400f1af7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x1400f1bde
call fcn.1400751bc
test al, al
je 0x1400f1bde
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.1400fe30c
mov cl, al
call fcn.140075324
and dword [0x14018980c], 0
mov rcx, qword [rbp + 0x3180]
xor rcx, rsp
call fcn.140117fa0
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