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

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov edx, 1
lea rcx, str.Shutdown
call fcn.14000de48
test eax, eax
je 0x1400cf358
cmp byte [0x14019bd42], 0
jne 0x1400cf358
cmp byte [0x14017ddb8], 0
jne 0x1400cf358
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x38], 1
lea rcx, [0x1400ce6f0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x38], 0
je 0x1400cf358
mov ecx, ebx
call fcn.140096e7c
add rsp, 0x20
pop rbx
ret

Function at 0x1400cfe04
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 0x1400cfecc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x140131a00]
mov rcx, qword [0x14019bb50]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400cfefe
xor eax, eax
jmp 0x1400d0017
mov rcx, qword [0x14019bb50]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400cfef7
mov rcx, qword [0x14019bb50]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400cfef7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400cfef7
and qword [rsp + 0x50], 0
mov edx, edi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x1400d0012
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400d0009
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.1400fd8b0
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400d0000
mov rcx, qword [rsp + 0x48]
xor edx, edx
call fcn.1400cfd78
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x10]
mov rcx, rbx
call qword [fcn.1400fd580]
mov rcx, rdi
call rbx
test rsi, rsi
je 0x1400d0000
mov ecx, dword [rsi + 0x10]
and dword [rsi + 0x10], 0
test ecx, ecx
jne 0x1400cffe7
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x50]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1400cffe7
mov dword [rsi + 0x10], eax
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.1400fd580]
mov edx, 1
mov rcx, rsi
call rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d0624
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 0x1400d0638
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 0x1400d0675
mov ecx, 0x627
call fcn.1400901c8
mov rcx, rax
mov rdx, rdi
call fcn.1400d4974
lea rcx, [0x14019bd38]
call fcn.140069744
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d2684
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.1400d1f14

Function at 0x1400d3370
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 [0x140160370]
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]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.14004b628
or rbx, 0xffffffffffffffff
cmp word [0x1401c2670], 0
je 0x1400d342b
mov r8d, edi
lea rdx, [0x140122ba0]
lea rcx, [rsp + 0x30]
call fcn.140096270
lea rax, [rsp + 0x30]
mov rsi, rbx
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400d33ed
mov ecx, 0x5aa
call fcn.1400901c8
mov r9, rax
lea rcx, [rsp + 0x30]
lea rax, [0x1401c2670]
mov rdx, rdi
sub rdx, rsi
mov qword [rsp + 0x20], rax
lea rcx, [rcx + rsi*2]
lea r8, str._s:__s
call fcn.140002810
cmp byte [0x1401befdd], 0
je 0x1400d347b
mov r8, rdi
lea rdx, [0x140122ba0]
lea rcx, [rsp + 0x30]
call fcn.140096270
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400d344d
mov ecx, 0x2fd
call fcn.1400901c8
sub rdi, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rbx*2]
mov r8, rax
mov r9d, r14d
mov rdx, rdi
call fcn.140002810
lea rcx, [rbp + 0x28]
mov r8d, 0x80
lea rdx, [rsp + 0x30]
call fcn.140096298
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400fc4f0
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 0x1400d3c3c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1430
call fcn.1400fc480
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x1420], rax
mov rbx, rdx
mov edx, ecx
mov rcx, qword [0x140167d30]
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 0x1400d3cac
add rcx, 2
test r9d, r9d
jne 0x1400d3c95
test r8d, r8d
je 0x1400d3cbd
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.1400fc4f0
mov rbx, qword [rsp + 0x1450]
add rsp, 0x1430
pop rdi
ret
Function at 0x1400d3ce0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x818
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x800], rax
cmp qword [0x140167d30], 0
je 0x1400d3ee8
mov ecx, dword [0x1401fe980]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401c3c34], eax
jle 0x1400d3d5b
lea rcx, [0x1401c3c34]
call fcn.1400fcc28
cmp dword [0x1401c3c34], 0xffffffff
jne 0x1400d3d5b
and dword [0x1401c3c30], 0
lea rcx, [0x1401c3c34]
call fcn.1400fcbc8
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [0x1401c3c30]
call fcn.14004af5c
test al, al
jne 0x1400d3d7c
mov byte [0x1401befdc], 1
jmp 0x1400d3ee8
mov byte [0x1401befdc], 0
mov r8d, 0x200
lea rdx, [rsp + 0x400]
mov rcx, qword [0x140167d30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x1401befd8]
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x1400d3e69
lea rax, [rsp + 0x400]
lea r8, [0x1401c0fe0]
sub r8, rax
movzx edx, word [rax]
movzx r9d, word [rax + r8]
sub edx, r9d
jne 0x1400d3dd8
add rax, 2
test r9d, r9d
jne 0x1400d3dc2
test edx, edx
je 0x1400d3e69
lea rdx, [0x1401c0fe0]
mov rcx, qword [0x140167d30]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x1401befd8]
cmp ecx, 3
jne 0x1400d3e85
cmp qword [0x1401befd0], 0
je 0x1400d3e6e
xor edx, edx
mov r8d, 0x3c8
lea rcx, [rsp + 0x30]
call fcn.1400fd700
mov dword [rsp + 0x30], 0x3c8
mov rax, qword [0x140167d30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x7b
mov dword [rsp + 0x44], 4
mov edx, dword [0x1401c26d4]
lea rcx, [rsp + 0x30]
call fcn.1400d3370
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [0x1401befd8]
cmp ecx, 3
jne 0x1400d3e85
lea rdx, [0x1401c20e0]
mov ecx, 0x9d
call fcn.1400d3c3c
mov ecx, dword [0x1401befd8]
cmp ecx, 2
jbe 0x1400d3e8f
cmp ecx, 0xa
jne 0x1400d3edb
lea rdx, [0x1401c20e0]
mov ecx, 0x9d
call fcn.1400d3c3c
lea rcx, [0x1401befe0]
call fcn.1400803f0
mov r8, rax
mov edx, 0x9c
mov rcx, qword [0x140167d30]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, 0x9c
mov rcx, qword [0x140167d30]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.14004b42c
mov rcx, qword [0x140167d30]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x800]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x818
ret
Function at 0x1400d8370
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x1401799bc]
lea rdi, str.ExtractionProfile
mov rcx, rdi
lea rdx, str.Overwrite
call fcn.1400a84e8
movzx r8d, byte [0x1401799e0]
lea rdx, [0x140132078]
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x1401799df]
lea rdx, str.Fresh
mov rcx, rdi
call fcn.1400a84e8
mov r8d, dword [0x1401799bc]
lea rdx, str.Overwrite
mov rcx, rdi
call fcn.1400a84e8
mov r8d, dword [0x14017ad78]
lea rdx, str.UnpToSubfolders
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x140179a3c]
lea rdx, str.KeepBroken
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x1401c94c1]
lea rdx, str.ShowExplorer
mov rcx, rdi
call fcn.1400a84e8
mov r8d, dword [0x14017ad80]
lea rdx, str.mtime
mov rcx, rdi
call fcn.1400a84e8
mov r8d, dword [0x14017ad84]
lea rdx, str.ctime
mov rcx, rdi
call fcn.1400a84e8
mov r8d, dword [0x14017ad88]
lea rdx, str.atime
mov rcx, rdi
call fcn.1400a84e8
xor ebx, ebx
lea rdx, str.PathsRel
cmp dword [0x1401799e4], 2
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a84e8
cmp dword [0x1401799e4], ebx
lea rdx, str.PathsFull
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a84e8
cmp dword [0x1401799e4], 1
lea rdx, str.PathsNone
mov r8d, ebx
mov rcx, rdi
sete r8b
call fcn.1400a84e8
cmp dword [0x1401799e4], 4
lea rdx, str.PathsAbsDrive
mov rcx, rdi
sete bl
mov r8d, ebx
call fcn.1400a84e8
movzx r8d, byte [0x1401799dc]
lea rdx, str.ClearArc
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x140179a30]
lea rdx, str.ProcessOwners
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x140179c5d]
lea rdx, str.SetCompressedAttr
mov rcx, rdi
call fcn.1400a84e8
mov r8d, dword [0x14017ddc4]
lea rdx, str.ExtrDelArc
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x14017ddab]
lea rdx, [0x140134098]
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x14017ddac]
lea rdx, str.WaitForOther
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x140179a33]
lea rdx, str.AbsoluteLinks
mov rcx, rdi
call fcn.1400a84e8
movzx r8d, byte [0x140179a3f]
lea rdx, str.AllowIncompatNames
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400a84e8
Function at 0x1400d8598
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.1400fc480
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 0x1400d8646
mov r8, rcx
mov dword [rsp + 0x20], r13d
lea rcx, str.Extraction
mov r9, rbx
lea rdx, str.DefFolder
call fcn.1400a7a38
mov rcx, rdi
cmp word [rdi], r12w
jne 0x1400d8615
mov rdx, rbx
jmp 0x1400d8638
mov r8d, r13d
lea rdx, [rbp + 0xf30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400d8642
lea rdx, [rbp + 0xf30]
mov rcx, rdi
mov r8, r14
call fcn.140096298
jmp 0x1400d8646
mov word [rdi], r12w
movzx r15d, word [rdi]
test r15w, r15w
jne 0x1400d8662
mov r8, r14
lea rcx, [0x14018d510]
mov rdx, rdi
call fcn.1400445c0
mov rdx, r14
mov rcx, rdi
call fcn.14007ea30
mov r8, r13
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140096298
mov rsi, r12
cmp word [rsp + 0x30], r12w
je 0x1400d86d4
mov rax, r12
lea rbx, [rsp + 0x30]
mov r13d, 0x25
cmp word [rbx], r13w
jne 0x1400d86b9
lea rcx, [rsp + 0x32]
mov edx, r13d
add rcx, rax
call fcn.1400fd65c
test rax, rax
je 0x1400d86b9
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 0x1400d8696
mov r13d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14007f780
mov rbx, rax
test rax, rax
je 0x1400d876f
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x1400d876f
lea rcx, [rsp + 0x30]
mov word [rbx], r12w
call fcn.14007f780
mov rsi, rax
test rax, rax
je 0x1400d8761
lea rax, [rsp + 0x30]
cmp rsi, rax
jbe 0x1400d8761
cmp byte [rbp + 0x1fb8], r12b
je 0x1400d873e
cmp word [rbx + 2], r12w
je 0x1400d873e
movzx ecx, word [rbx + 4]
call fcn.140095e74
test al, al
jne 0x1400d873e
movzx ecx, word [rbx - 2]
call fcn.140095e74
test al, al
jne 0x1400d8751
lea rdx, str..tar
mov rcx, rsi
call fcn.140099438
test eax, eax
jne 0x1400d8761
mov word [rsi], r12w
jmp 0x1400d8761
cmp word [rbx], 0x2e
jne 0x1400d876f
mov word [rbx], r12w
lea rax, [rsp + 0x30]
sub rbx, 2
cmp rbx, rax
ja 0x1400d8757
lea rcx, [rsp + 0x30]
call fcn.1400803f0
lea rbx, [0x1401c84c0]
mov rdx, rax
mov rcx, rbx
mov r8, r13
call fcn.140096298
mov rcx, rbx
call fcn.1400cf2cc
xor edx, edx
mov rcx, rbx
call fcn.1400800f4
cmp byte [rbp + 0x1fb0], r12b
jne 0x1400d87af
test r15w, r15w
je 0x1400d87e4
mov r8d, 1
lea rdx, str.AppendName
lea rcx, str.Extraction
call fcn.1400a78ac
test eax, eax
je 0x1400d87e4
lea rcx, [rsp + 0x30]
call fcn.1400803f0
mov rdx, rax
mov r8, r14
mov rcx, rdi
call fcn.140096270
mov rcx, rdi
call fcn.1400cf2cc
xor edx, edx
mov rcx, rdi
call fcn.1400800f4
mov rcx, qword [rbp + 0x1f30]
xor rcx, rsp
call fcn.1400fc4f0
add rsp, 0x2048
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400d881c
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1058
call fcn.1400fc480
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.140044d84
mov edx, 0x802
lea rcx, [rsp + 0x30]
call fcn.14007ea30
mov r8d, 0x802
lea rdx, [0x14011c97c]
lea rcx, [rsp + 0x30]
call fcn.140096270
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.1400fc4f0
add rsp, 0x1058
ret

Function at 0x1400d956c
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.1400fc480
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 0x1400d96e2
mov r15d, 0x800
lea rcx, [rbp + 0x1180]
mov edx, r15d
xor r8d, r8d
call fcn.1400ce934
mov edx, r15d
lea rcx, [rbp + 0x1180]
call fcn.14007ea30
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 0x1400d96d9
cmp dword [0x140167d4c], 1
jne 0x1400d96d9
mov edi, dword [rsp + 0x24]
lea rdx, [rbp + 0x1180]
sub edi, dword [rsp + 0x38]
lea rcx, [rbp + 0x180]
mov r8, r15
call fcn.140096298
mov r8, r15
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x180]
call fcn.140096270
test byte [rsp + 0x30], 0x10
je 0x1400d96b7
mov r8d, 6
lea rdx, str.Rar_DI
lea rcx, [rsp + 0x5c]
call fcn.1401038d0
test eax, eax
lea rcx, [rbp + 0x180]
sete r14b
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400d96c3
cmp edi, 8
jb 0x1400d96a4
test bl, bl
je 0x1400d96a9
test r14b, r14b
je 0x1400d96c3
lea rcx, [rbp + 0x180]
call fcn.1400ce0cc
jmp 0x1400d96c3
lea rcx, [rbp + 0x180]
call fcn.1400ce080
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400d9627
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x1400d970e
call fcn.140062158
test al, al
je 0x1400d970e
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.1400e53a8
mov cl, al
call fcn.1400622d8
and dword [0x140167d4c], 0
mov rcx, qword [rbp + 0x3180]
xor rcx, rsp
call fcn.1400fc4f0
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 0x1400ddcd8
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 0x1400ddd82
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 0x1400ddd8a
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.1400cfc3c
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1400dde2a
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 0x1400dde75
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.1400fc4f0
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 0x1400ddf54
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 0x1400ddfa4
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400de00c
lea ecx, [r14 + 0xe]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400ddfc2
cmp qword [0x140166d18], 0
je 0x1400ddfc2
mov dl, dil
mov rcx, rbx
call fcn.1400de028
test al, al
je 0x1400ddfc2
mov dil, r14b
jmp 0x1400ddfc5
xor dil, dil
test rsi, rsi
jne 0x1400ddfd2
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400ddfdb
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragFinish]
test dil, dil
je 0x1400de00c
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 0x1400de028
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.1400fc480
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 0x1400de06e
xor al, al
jmp 0x1400de17c
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov edi, eax
cmp eax, 1
jne 0x1400de136
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 0x1400de0d8
test bpl, bpl
jne 0x1400de104
cmp rax, qword [0x14018d570]
je 0x1400de104
cmp rax, qword [0x140168eb8]
je 0x1400de104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1400de104
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [0x14018d510]
call fcn.14004537c
cmp eax, 1
je 0x1400de067
lea rcx, [rsp + 0x30]
call fcn.1400803f0
mov rcx, rax
lea rdx, str.rarreg.
mov r8d, 7
call fcn.140099480
test eax, eax
jne 0x1400de136
lea rcx, [rsp + 0x30]
call fcn.1400e1150
jmp 0x1400de067
xor ecx, ecx
call fcn.1400c9de0
lea rcx, [0x14017fe00]
call fcn.1400964c4
test edi, edi
je 0x1400de17a
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.140096308
inc ebx
cmp ebx, edi
jb 0x1400de14d
mov al, 1
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400fc4f0
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