joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e8bc4
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 0x1400e902c
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1400e881c
test al, al
jne 0x1400e9099
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400e8390]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400e9099
cmp ebx, 5
jne 0x1400e9087
mov rcx, qword [0x14018b7d0]
test rcx, rcx
je 0x1400e9099
cmp qword [0x14018b7f0], 0
jne 0x1400e9099
xor r9d, r9d
lea edx, [rbx + 0xb]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400e9099
mov ecx, ebx
call fcn.1400f45b8
test al, al
je 0x1400e9099
mov ecx, ebx
call fcn.1400ad354
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1050
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140096790
test al, al
je 0x1400e9a1a
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 0x1400e9a04
cmp word [rsp + 0x40], 0x25
je 0x1400e9a04
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400ac908
jmp 0x1400e9a1a
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.14011a150
add rsp, 0x1050
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400e9b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
lea r8, [0x140153db8]
mov rdx, rcx
mov rcx, qword [0x1401cb660]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400e9cfd
mov rdx, rax
mov rcx, qword [0x1401cb660]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400e9cfd
mov rdx, rbx
mov rcx, qword [0x1401cb660]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400e9cfd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400e9cfd
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 0x1400e9cf6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400e9ced
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.14011c290
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 0x1400e9ce4
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 0x1400e9c91
lea rax, [0x140156b48]
mov qword [rbx], rax
lea rax, [0x140156b58]
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 0x1400e9c93
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
test rbx, rbx
je 0x1400e9ce4
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x1400e9cd0
mov r8d, 0xffffff
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 8]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400e9cd0
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400a26d7.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 0x1400e9cff
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ea2c8
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 0x1400ea2dc
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.140096790
test al, al
je 0x1400ea325
movzx r9d, word [rbx]
lea r8, [0x140156b80]
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.14011a150
add rsp, 0x40
pop rbx
ret

Function at 0x1400ea338
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 0x1400ea375
mov ecx, 0x627
call fcn.1400a685c
mov rcx, rax
mov rdx, rdi
call fcn.1400eea18
lea rcx, [0x1401cb7d8]
call fcn.14007e89c
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ec724
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.1400ebefc

Function at 0x1400ed418
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 [0x140183c48]
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 [0x1401f1dc0], 0
je 0x1400ed4c4
mov r8d, edi
lea rdx, [0x1401467e8]
lea rcx, [rsp + 0x30]
call fcn.1400ac8e0
lea rax, [rsp + 0x30]
mov rsi, rbx
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400ed486
mov ecx, 0x5aa
call fcn.1400a685c
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x1401f1dc0]
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 [0x1401ee72d], 0
je 0x1400ed514
mov r8, rdi
lea rdx, [0x1401467e8]
lea rcx, [rsp + 0x30]
call fcn.1400ac8e0
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400ed4e6
mov ecx, 0x2fd
call fcn.1400a685c
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.1400c66d0
lea rcx, [rbp + 0x28]
mov r8d, ebx
lea rdx, [rsp + 0x30]
call fcn.1400ac908
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14011a150
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 0x1400edd2c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x14018b7e8]
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 0x1400edd9c
add rcx, 2
test r9d, r9d
jne 0x1400edd85
test r8d, r8d
je 0x1400eddad
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.14011a150
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400eddd0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x808
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
cmp qword [0x14018b7e8], 0
je 0x1400edfab
mov ecx, dword [0x14022e000]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401f3384], eax
jg 0x1400edfc3
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x1401f3380]
call fcn.14005e754
test al, al
jne 0x1400ede3f
mov byte [0x1401ee72c], 1
jmp 0x1400edfab
mov byte [0x1401ee72c], 0
mov r8d, 0x200
lea rdx, [rsp + 0x3f0]
mov rcx, qword [0x14018b7e8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x1401ee728]
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x1400edf2c
lea rax, [rsp + 0x3f0]
lea r8, [0x1401f0730]
sub r8, rax
movzx edx, word [rax]
movzx r9d, word [rax + r8]
sub edx, r9d
jne 0x1400ede9b
add rax, 2
test r9d, r9d
jne 0x1400ede85
test edx, edx
je 0x1400edf2c
lea rdx, [0x1401f0730]
mov rcx, qword [0x14018b7e8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x1401ee728]
cmp ecx, 3
jne 0x1400edf48
cmp qword [0x1401ee720], 0
je 0x1400edf31
xor edx, edx
mov r8d, 0x3d0
lea rcx, [rsp + 0x20]
call fcn.14011cde0
mov dword [rsp + 0x20], 0x3d0
mov rax, qword [0x14018b7e8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x7b
mov dword [rsp + 0x34], 4
mov edx, dword [0x1401f1e24]
lea rcx, [rsp + 0x20]
call fcn.1400ed418
lea rdx, [rsp + 0x20]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x1401ee728]
cmp ecx, 3
jne 0x1400edf48
lea rdx, [0x1401f1830]
mov ecx, 0x9d
call fcn.1400edd2c
mov ecx, dword [0x1401ee728]
cmp ecx, 2
jbe 0x1400edf52
cmp ecx, 0xa
jne 0x1400edf9e
lea rdx, [0x1401f1830]
mov ecx, 0x9d
call fcn.1400edd2c
lea rcx, [0x1401ee730]
call fcn.14009702c
mov r8, rax
mov edx, 0x9c
mov rcx, qword [0x14018b7e8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, 0x9c
mov rcx, qword [0x14018b7e8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.1400c68d0
mov rcx, qword [0x14018b7e8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.14011a150
add rsp, 0x808
ret
lea rcx, [0x1401f3384]
call fcn.14011a758
cmp dword [0x1401f3384], 0xffffffff
jne 0x1400ede1e
and dword [0x1401f3380], 0
lea rcx, [0x1401f3384]
call fcn.14011a6f8
jmp 0x1400ede1e
Function at 0x1400f281c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x1401a356c]
lea rdi, str.ExtractionProfile
mov rcx, rdi
lea rdx, str.Overwrite
call fcn.1400be0a0
movzx r8d, byte [0x1401a3598]
lea rdx, [0x140154448]
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a3597]
lea rdx, str.Fresh
mov rcx, rdi
call fcn.1400be0a0
mov r8d, dword [0x1401a356c]
lea rdx, str.Overwrite
mov rcx, rdi
call fcn.1400be0a0
mov r8d, dword [0x1401a4908]
lea rdx, str.UnpToSubfolders
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a35d0]
lea rdx, str.KeepBroken
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401f8c11]
lea rdx, str.ShowExplorer
mov rcx, rdi
call fcn.1400be0a0
mov r8d, dword [0x1401a4910]
lea rdx, str.mtime
mov rcx, rdi
call fcn.1400be0a0
mov r8d, dword [0x1401a4914]
lea rdx, str.ctime
mov rcx, rdi
call fcn.1400be0a0
mov r8d, dword [0x1401a4918]
lea rdx, str.atime
mov rcx, rdi
call fcn.1400be0a0
xor ebx, ebx
lea rdx, str.PathsRel
cmp dword [0x1401a359c], 2
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400be0a0
cmp dword [0x1401a359c], ebx
lea rdx, str.PathsFull
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400be0a0
cmp dword [0x1401a359c], 1
lea rdx, str.PathsNone
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400be0a0
cmp dword [0x1401a359c], 4
lea rdx, str.PathsAbsDrive
mov rcx, rdi
sete bl
mov r8d, ebx
call fcn.1400be0a0
movzx r8d, byte [0x1401a3594]
lea rdx, str.ClearArc
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a35c0]
lea rdx, str.ProcessOwners
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a37ed]
lea rdx, str.SetCompressedAttr
mov rcx, rdi
call fcn.1400be0a0
mov r8d, dword [0x1401a8958]
lea rdx, str.ExtrDelArc
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a895c]
lea rdx, str.ExtrDelRecycleBin
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a893b]
lea rdx, [0x140156240]
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a893c]
lea rdx, str.WaitForOther
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a35c3]
lea rdx, str.AbsoluteLinks
mov rcx, rdi
call fcn.1400be0a0
movzx r8d, byte [0x1401a35d3]
lea rdx, str.AllowIncompatNames
mov rcx, rdi
call fcn.1400be0a0
mov r8d, dword [0x1401a490c]
lea rdx, str.Shutdown
mov rcx, rdi
call fcn.1400be0a0
lea r8, [0x1401a8964]
mov rcx, rdi
lea rdx, str.CmdSwitches
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400be088
Function at 0x1400f2a88
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.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
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 0x1400f2b36
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.1400bd620
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400f2b05
mov rdx, rbx
jmp 0x1400f2b28
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400f2b32
lea rdx, [rbp + 0xf30]
mov rcx, rdi
mov r8, r14
call fcn.1400ac908
jmp 0x1400f2b36
mov word [rdi], r12w
movzx r15d, word [rdi]
test r15w, r15w
jne 0x1400f2b52
mov r8, r14
lea rcx, [0x1401be3f0]
mov rdx, rdi
call fcn.1400586dc
mov rdx, r14
mov rcx, rdi
call fcn.1400953f0
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400ac908
movzx eax, word [rsp + 0x30]
mov rsi, r12
test ax, ax
je 0x1400f2bc8
mov rcx, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp ax, r13w
jne 0x1400f2bab
lea rax, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.14011b3d8
test rax, rax
je 0x1400f2bab
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 0x1400f2b88
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.140096200
mov rbx, rax
test rax, rax
je 0x1400f2c63
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400f2c63
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.140096200
mov rsi, rax
test rax, rax
je 0x1400f2c55
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400f2c55
cmp byte [rbp + 0x1fb8], r12b
je 0x1400f2c32
cmp word [rbx + 2], r12w
je 0x1400f2c32
movzx ecx, word [rbx + 4]
call fcn.1400ac4e4
test al, al
jne 0x1400f2c32
movzx ecx, word [rbx - 2]
call fcn.1400ac4e4
test al, al
jne 0x1400f2c45
lea rdx, str..tar
mov rcx, rsi
call fcn.1400afa30
test eax, eax
jne 0x1400f2c55
mov word [rsi], r12w
jmp 0x1400f2c55
cmp word [rbx], 0x2e
jne 0x1400f2c63
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400f2c4b
lea rcx, [rsp + 0x30]
call fcn.14009702c
lea rbx, [0x1401f7c10]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.1400ac908
mov rcx, rbx
call fcn.1400e8ff4
xor edx, edx
mov rcx, rbx
call fcn.140096cfc
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400f2ca3
test r15w, r15w
je 0x1400f2cd8
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.1400bd490
test eax, eax
je 0x1400f2cd8
lea rcx, [rsp + 0x30]
call fcn.14009702c
mov rdx, rax
mov r8, r14
mov rcx, rdi
call fcn.1400ac8e0
mov rcx, rdi
call fcn.1400e8ff4
xor edx, edx
mov rcx, rdi
call fcn.140096cfc
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.14011a150
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400f2d10
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1058
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, rcx
lea r8, [rsp + 0x30]
lea rcx, [0x1401be3f0]
mov r9d, 0x800
call fcn.140058dc8
mov edx, 0x802
lea rcx, [rsp + 0x30]
call fcn.1400953f0
mov r8d, 0x802
lea rdx, [0x140141fd8]
lea rcx, [rsp + 0x30]
call fcn.1400ac8e0
lea rax, [0x140140f10]
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.14011a150
add rsp, 0x1058
ret

Function at 0x1400f3acc
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.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x3180], rax
mov dword [0x14018b80c], 1
mov bl, cl
test dl, dl
je 0x1400f3c42
mov r15d, 0x800
lea rcx, [rbp + 0x1180]
mov edx, r15d
xor r8d, r8d
call fcn.1400e8628
mov edx, r15d
lea rcx, [rbp + 0x1180]
call fcn.1400953f0
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 0x1400f3c39
cmp dword [0x14018b80c], 1
jne 0x1400f3c39
mov edi, dword [rsp + 0x24]
lea rdx, [rbp + 0x1180]
sub edi, dword [rsp + 0x38]
lea rcx, [rbp + 0x180]
mov r8, r15
call fcn.1400ac908
mov r8, r15
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x180]
call fcn.1400ac8e0
test byte [rsp + 0x30], 0x10
je 0x1400f3c17
mov r8d, 6
lea rdx, str.Rar_DI
lea rcx, [rsp + 0x5c]
call fcn.140127154
test eax, eax
lea rcx, [rbp + 0x180]
sete r14b
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400f3c23
cmp edi, 8
jb 0x1400f3c04
test bl, bl
je 0x1400f3c09
test r14b, r14b
je 0x1400f3c23
lea rcx, [rbp + 0x180]
call fcn.1400e7d80
jmp 0x1400f3c23
lea rcx, [rbp + 0x180]
call fcn.1400e7d34
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400f3b87
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x1400f3c6e
call fcn.140076eac
test al, al
je 0x1400f3c6e
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.1401003ac
mov cl, al
call fcn.140077014
and dword [0x14018b80c], 0
mov rcx, qword [rbp + 0x3180]
xor rcx, rsp
call fcn.14011a150
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 0x1400f8558
Capabilities:
Get file system object information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov r9d, dword [rcx + 0x38]
lea r8, str._c:_
mov rdi, rcx
add r9d, 0x41
mov edx, 0xa
lea rcx, [r11 - 0x48]
call fcn.140004dcc
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 [rdi + 0x10], 1
lea rbx, [rdi + 0x20]
je 0x1400f8603
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, 0xe
mov esi, eax
call qword [sym.imp.USER32.dll_GetSysColor]
mov rcx, qword [rbx]
mov edx, eax
call qword [sym.imp.GDI32.dll_SetTextColor]
mov ebp, eax
jmp 0x1400f860b
mov esi, dword [rsp + 0x50]
mov ebp, dword [rsp + 0x50]
mov r8d, dword [rdi + 0x2c]
lea r14, [rdi + 0x28]
mov edx, dword [r14]
lea rax, [0x140140f10]
mov rcx, qword [rbx]
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
lea r9d, [r12 + 2]
mov qword [rsp + 0x20], r14
call qword [sym.imp.GDI32.dll_ExtTextOutW]
lea ecx, [r12 + 0x31]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r12 + 0x32]
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9, qword [rsp + 0x60]
mov r8d, dword [rdi + 0x2c]
mov edx, dword [r14]
mov rcx, qword [rbx]
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
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.1400e98b0
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1400f86ae
mov edx, dword [r14]
lea r9, [rsp + 0x70]
mov r8d, dword [rdi + 0x2c]
add edx, 7
mov dword [rsp + 0x20], ecx
add edx, r15d
mov rcx, qword [rbx]
add r8d, 2
call qword [sym.imp.GDI32.dll_TextOutW]
test byte [rdi + 0x10], 1
je 0x1400f86f7
mov rcx, qword [rbx]
mov edx, esi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rcx, qword [rbx]
mov edx, ebp
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.14011a150
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret