joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060020
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x20
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov ebx, 1
mov r11, rcx
cmp dword [rcx + 4], ebx
jle 0x1400600e8
lea r10, [rcx + 0x28]
lea r14, [0x140000000]
xor r9d, r9d
lea rbp, [rsp + r9]
lea rsi, [r10 + 2]
mov r12d, 4
movzx eax, byte [rsi + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [rsi - 1]
mov r8b, byte [rdx + r14 + 0x14cfc0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r14 + 0x14d7c0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r14 + 0x14dbc0]
lea rcx, [r9 + rax*4]
add rsi, 4
xor r8b, byte [rcx + r14 + 0x14d3c0]
mov byte [rbp], r8b
add rbp, 4
sub r12, 1
jne 0x140060074
inc r9
cmp r9, 4
jl 0x140060066
movdqu xmm0, xmmword [rsp]
inc ebx
movdqu xmmword [r10], xmm0
add r10, 0x10
cmp ebx, dword [r11 + 4]
jl 0x140060063
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret
Function at 0x140062144
Capabilities:
Encode data using xor

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 r13
push r14
sub rsp, 0x30
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
xor ebx, ebx
mov r14, r9
mov r12d, r8d
mov r13d, edx
mov rsi, rcx
cmp edx, ebx
jne 0x14006218a
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.1400eada0
mov r9, r14
mov r8d, r12d
mov edx, r13d
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.140061cac
cmp al, bl
jne 0x140062245
cmp r12d, ebx
jne 0x140062209
cmp qword [rsi + 0x38], rdi
je 0x1400621e4
mov rcx, qword [rsi + 0x30]
call fcn.1400e9b08
mov rcx, 0xffffffffffffffff
mov eax, 4
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.1400e9a7c
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov r8, rbx
cmp rdi, rbx
jbe 0x140062209
movzx edx, word [r8 + r14]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rdi
jb 0x1400621ec
mov ecx, dword [rsi + 0x14]
mov rax, qword [rsi + 0x28]
imul ecx, r12d
add ecx, r13d
mov edx, dword [rax + rcx*4]
mov rax, qword [rsi + 8]
mov r8d, dword [rax + rdx*4]
cmp rdi, rbx
jbe 0x140062245
mov rax, qword [rsi + 0x30]
mov ecx, dword [rax + rbx*4]
mov rax, qword [rsi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [rbx + rbp], cx
add rbx, 2
cmp rbx, rdi
jb 0x140062227
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret

Function at 0x1400623b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x1040
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor r12d, r12d
mov rbx, rdx
mov rsi, rcx
cmp byte [rdx], r12b
je 0x1400624a9
lea rdi, [rcx + 0x2022]
mov rcx, rdi
call fcn.140050ce8
mov rbp, rax
cmp rax, rdi
jbe 0x140062433
mov rcx, rdi
mov word [rax - 2], r12w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [r12 + 0x5c]
mov word [rbp - 2], cx
cmp eax, 0xffffffff
je 0x140062433
bt eax, 0xa
jae 0x140062433
mov byte [rbx], r12b
lea rdx, str.System_Volume_Information_
mov rcx, rdi
call fcn.1400ee80c
cmp rax, r12
je 0x14006244a
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x1400624a9
mov rcx, qword [rsi + 0x51a8]
cmp rcx, r12
je 0x140062476
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
mov byte [rsp + 0x20], 1
call fcn.14003683c
cmp al, r12b
je 0x140062476
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x1400624a9
lea rdx, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
call fcn.140051560
lea rdx, [rsp + 0x30]
mov ecx, 0x54
call fcn.140023dd4
lea rcx, [0x140149f20]
call fcn.14003c59c
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400632bc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
mov rdi, rcx
cmp rax, rbx
mov r8, rbx
mov rcx, r9
cmovb r8, rax
mov rsi, r9
add r8, r8
call fcn.1400e9de0
mov r9b, byte [rdi + 0x101]
mov r8b, byte [rsp + 0x58]
lea rdx, [rbx + rbx]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140063150

Function at 0x140064f24
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x1400651bc
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x14006550c
Capabilities:
Hash data using sha256

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
sub rsp, 0x140
mov rsi, qword [rcx + 0x20]
mov edi, dword [rcx + 0x20]
lea rbp, [rcx + 0x30]
shl rsi, 3
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov r12, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x14006555d
and edi, 0x3f
jne 0x140065558
mov rcx, rbx
call fcn.1400651fc
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x14006554b
movsxd rax, edi
lea edx, [rdi - 0x30]
lea rcx, [rax + rbx + 0x30]
mov rax, rsi
shl rsi, 8
shr rax, 0x38
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14006556f
mov rcx, rbx
call fcn.1400651fc
xor r11d, r11d
xor r8d, r8d
mov eax, r11d
mov ecx, 3
inc r11d
and eax, 3
sub ecx, eax
mov rax, r8
inc r8
shr rax, 2
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r12], dl
inc r12
cmp r11d, 0x20
jb 0x140065593
and qword [rbx + 0x20], 0
lea rcx, [rsp + 0x20]
mov edx, 0x20
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.1400632a4
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.1400632a4
mov edx, 0x40
mov rcx, rbp
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
jmp fcn.1400632a4

Function at 0x140066504
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14006656a
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret

Function at 0x14006660c
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x800
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140066648
xor eax, eax
jmp 0x14006666b
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r9d, 0x800
mov rdx, rbx
call fcn.140050528
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x1030
pop rbx
ret
Function at 0x140067154
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
cmp dword [rcx], esi
jbe 0x1400671ff
lea rdi, [rcx + 8]
lea rax, [rsp + 0x40]
lea r8, [0x1400670b8]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x1400671d5
lea rdx, str.CreateThread_failed
lea rcx, [0x140149f20]
call fcn.14003c7e0
lea rcx, [0x140149f20]
call fcn.14003c59c
lea edx, [rbp + 2]
lea rcx, [0x140149f20]
call fcn.14003c4dc
mov qword [rdi], rbp
inc dword [rbx + 0x108]
mov edx, dword [0x140154224]
test edx, edx
je 0x1400671f1
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc esi
add rdi, 8
cmp esi, dword [rbx]
jb 0x140067179
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400757a4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rsi, qword [rsp + 0x3a8]
mov r14, rcx
mov ecx, 0x1010
mov rbx, r9
mov r12d, r8d
mov r13, rdx
call fcn.1400eaa24
mov rcx, r13
mov dword [rax], r12d
mov qword [rax + 8], rbx
mov rbp, rax
call fcn.140065844
lea rdx, [rbp + 0x10]
xor r15d, r15d
movzx ecx, word [rax]
add rax, 2
mov word [rdx], cx
add rdx, 2
cmp cx, r15w
jne 0x140075804
mov ebx, dword [rsp + 0x3a0]
or rdi, 0xffffffffffffffff
cmp byte [rsp + 0x3c0], r15b
jne 0x140075878
cmp ebx, edi
je 0x140075836
cmp rsi, r15
jne 0x140075878
mov eax, 0x4201
cmp r12d, 2
lea r8, [rsp + 0x70]
lea ecx, [rax + 2]
mov r9d, 0x2b8
cmove eax, ecx
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, edi
cmove ebx, dword [rsp + 0x78]
cmp rsi, r15
lea rax, [rsp + 0x80]
cmovne rax, rsi
mov rsi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400eada0
mov rax, qword [rsp + 0x3b8]
mov rcx, qword [r14]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x3b0]
cmp rsi, r15
cmovne rdi, rsi
lea r9, [rsp + 0x30]
mov edx, 0x40b
xor r8d, r8d
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140076564
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x340
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x338], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400766dc
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140076642
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4209
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14018c440]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsp + 0x40], 0
or qword [rsp + 0x38], 0xffffffffffffffff
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea r8d, [r9 + 1]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1400757a4
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x14007666e
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140075cac
test al, al
jne 0x1400766d4
call fcn.1400b5324
xor ebx, ebx
mov esi, eax
bt esi, ebx
jae 0x1400766cd
lea r9d, [rbx + 0x41]
lea r8, str._c:_
lea rcx, [rsp + 0x320]
mov edx, 0xa
call fcn.1400e0c0c
mov byte [rsp + 0x40], 1
or qword [rsp + 0x38], 0xffffffffffffffff
mov dword [rsp + 0x30], 2
and qword [rsp + 0x28], 0
or dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x320]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.1400757a4
inc ebx
cmp ebx, 0x20
jl 0x140076677
mov rcx, rdi
call fcn.140076298
mov rcx, qword [rsp + 0x338]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140076704
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.1400965cc
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x140076799
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140076424
cmp byte [0x1401561c5], 0
mov rcx, rbx
je 0x140076792
call fcn.1400760e8
jmp 0x1400767f5
call fcn.140075bf4
jmp 0x1400767f5
cmp byte [0x1401561c5], 0
je 0x1400767b0
lea rcx, [rsp + 0x20]
call fcn.1400508c0
test al, al
je 0x1400767e1
lea rcx, [rsp + 0x20]
call fcn.14006593c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400767e1
test al, 0x10
jne 0x1400767e1
lea rdx, [rsp + 0x20]
lea rcx, [0x140162be0]
call fcn.140094834
jmp 0x1400767f5
lea rdx, [rsp + 0x20]
lea rcx, [0x140162be0]
mov r8b, 1
call fcn.140094978
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x1030
pop rbx
ret

Function at 0x140076810
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x14007690e
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x14007687a
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140076873
cmp dword [rbx + 0x228], 2
jne 0x140076873
lea rcx, [0x140162bd0]
call fcn.140076704
xor eax, eax
jmp 0x14007691f
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x14007688e
mov rsi, qword [rax + 8]
jmp 0x140076892
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x1400768d1
mov eax, edi
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
bts eax, 9
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400768d1
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140076904
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], edi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11d, dword [rsp + 0x38]
mov dword [rbx + 0x38], r11d
mov dword [rbx + 0x34], r11d
bts dword [rbx + 0x18], 0x1c
jmp 0x140076873
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret
Function at 0x140076944
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
mov rcx, qword [rcx]
movsxd rdi, r8d
mov rsi, rdx
test rcx, rcx
je 0x14007696a
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
or qword [rbx + 8], 0xffffffffffffffff
mov rax, qword [0x140149f10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, str.ComboBoxEx32
mov r9d, 0x44200046
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [rbx], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400769f6
mov rcx, rax
call fcn.1400b67a4
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.140076564

Function at 0x14007bdb8
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor ebp, ebp
mov rdi, rcx
mov word [rcx], bp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rax
mov ebx, ebp
call fcn.140065f04
mov rsi, rax
cmp rax, rbp
je 0x14007be68
cmp ebx, ebp
jne 0x14007be17
mov ebx, 1
jmp 0x14007be45
movzx edx, word [rsp + 0x20]
lea rcx, [0x140168b10]
call fcn.14003655c
cmp al, bpl
jne 0x14007be45
cmp ebx, 1
jne 0x14007be43
movzx eax, word [rsp + 0x20]
mov word [rdi], ax
movzx eax, word [rsp + 0x22]
mov word [rdi + 2], ax
inc ebx
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rsi
call fcn.140065f04
mov rsi, rax
cmp rax, rbp
jne 0x14007be0c
cmp ebx, 2
jne 0x14007be68
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14007c3ec
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1060
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1050], rax
xor ebx, ebx
cmp dword [0x140174f78], ebx
je 0x14007c5d1
lea rdi, [0x140164e70]
lea rdx, [0x140173f4a]
xor r9d, r9d
mov rcx, rdi
mov r8b, 1
call fcn.140079b04
cmp eax, 1
jne 0x14007c5d1
cmp dword [0x14016cb30], 3
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov r9b, al
lea r8, [rsp + 0x30]
mov rcx, rdi
jne 0x14007c473
lea rdx, [rsp + 0x40]
call fcn.140078ec8
jmp 0x14007c47d
lea rdx, [rsp + 0x38]
call fcn.140078db0
cmp qword [rsp + 0x30], rbx
je 0x14007c5d1
mov edi, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [0x140174f50]
mov r8, rdi
call fcn.140066358
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007c4f1
lea rdx, [rsp + 0x50]
lea rcx, [0x140168b10]
movabs r9, 0x7fffffff7fffffff
mov r8, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call fcn.140067a3c
cmp eax, 6
je 0x14007c4e7
cmp eax, 1
je 0x14007c4e7
cmp eax, 3
jne 0x14007c4f1
mov rcx, qword [rsp + 0x38]
jmp 0x14007c5cc
lea rdx, [0x14010ee80]
lea rcx, [rsp + 0x50]
call fcn.1400423bc
mov rdi, rax
cmp rax, rbx
jne 0x14007c52a
mov ecx, 0x1f6
call fcn.14005fad8
lea r8, [rsp + 0x50]
lea rcx, [0x140173f4a]
mov rdx, rax
call fcn.1400c5da8
jmp 0x14007c4e7
mov eax, dword [0x14016cb30]
cmp eax, 3
jne 0x14007c586
mov rdx, rdi
mov ecx, 0xff
call fcn.1400ef0f8
mov rdx, rdi
mov ecx, 0xfe
call fcn.1400ef0f8
cmp qword [rsp + 0x30], rbx
jbe 0x14007c5b5
mov rax, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, word [rax + rbx*2]
call fcn.1400ef0f8
mov r11, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, byte [r11 + rbx*2 + 1]
call fcn.1400ef0f8
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14007c556
jmp 0x14007c5b5
cmp eax, 2
jne 0x14007c59e
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov rdx, rcx
call qword [sym.imp.USER32.dll_CharToOemBuffA]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r9, rdi
mov edx, 1
call fcn.1400ef054
mov rcx, rdi
call fcn.1400eee40
mov rcx, qword [rsp + 0x38]
call fcn.1400e9b08
mov rcx, qword [rsp + 0x40]
call fcn.1400e9b08
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1060
pop rdi
ret
Function at 0x1400821fc
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
cmp dword [0x140157274], 0
jne 0x1400823b1
lea r8, str.WinRAR_DragDrop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140082265
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.14005fad8
mov rcx, rax
call fcn.1400c5814
jmp 0x1400823b1
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
mov byte [0x140155191], r11b
jne 0x140082295
cmp byte [0x1401561c5], 0
jne 0x140082295
xor sil, sil
jmp 0x140082298
mov sil, 1
mov rcx, rbx
call fcn.1400eaa24
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400822c0
lea rax, [0x14010fc00]
mov qword [rbx], rax
mov dword [rbx + 8], 1
jmp 0x1400822c2
xor ebx, ebx
mov ecx, 0xd7f8
call fcn.1400eaa24
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400822e9
xor r8d, r8d
mov dl, sil
mov rcx, rax
call fcn.140081f1c
mov rbp, rax
jmp 0x1400822eb
xor ebp, ebp
mov byte [0x140155192], 0
mov byte [0x140155193], 1
mov byte [0x140155190], 0
neg sil
sbb r8d, r8d
and r8d, 2
inc r8d
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.ole32.dll_DoDragDrop]
mov esi, eax
mov byte [0x140155193], 0
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x10]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x10]
mov ebx, 0x40100
cmp byte [0x140155191], 0
je 0x140082367
cmp byte [0x1401561c5], 0
je 0x140082367
cmp esi, ebx
jne 0x140082367
call fcn.1400bf95c
lea rcx, [0x140162be0]
call fcn.1400950ec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x1400823b1
cmp byte [0x140155190], 0
jne 0x1400823b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x1400823b1
mov ecx, 0x53c
call fcn.14005fad8
mov rcx, rax
call fcn.1400c5814
lea rcx, [0x140149f20]
call fcn.14003c59c
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140082df0
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x71], 0
mov byte [rsp + 0x72], 0
mov byte [rsp + 0x73], 0
mov byte [rsp + 0x74], 0
mov byte [rsp + 0x75], 5
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140082e9a
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x60]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x88
ret