joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1393b80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1393b8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1393b9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1393b85
lea eax, [rcx + 1]
jmp 0x1393bab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1393bbe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1393ba4
sub eax, 3
jb 0x1393bde
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1393c2d
sar eax, 1
movsxd rbp, eax
jb 0x1393c14
jmp 0x1393bec
add ebx, ebx
jne 0x1393bea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1393c14
inc ecx
add ebx, ebx
jne 0x1393bfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1393c14
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1393c0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1393bfc
add ecx, 2
jmp 0x1393c19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01393b42
jmp 0x1393b8d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf82000]
mov eax, dword [rdi]
or eax, eax
je 0x1393c89
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf93000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1393c39
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1393c83
mov qword [rbx], rax
add rbx, 8
jmp 0x1393c59
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1393ccd
cmp al, 0xef
ja 0x1393cb5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1393c95
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1393ca4
mov eax, dword [rdi]
add rdi, 4
jmp 0x1393ca4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1393d21
sub rsp, 0xffffffffffffff80
jmp 0x464800
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
adc dword [0x15117f547], ecx
call qword es:[0x15b032040]
invalid
xor eax, 0x3aff5a3c
invalid
mov dword [rbp - 0x695e006c], eax
cdq
dec dword [rdx + 0x72ff7578]
pop rbp
pop rax
call qword [rbx + 0x3d]
invalid
push qword [r11 + 0x5d]
push rdi
push qword [rbx + 0x5d]
push rdi
call [rsi + rax*2 + 0x41]
inc dword [rbx + rsi + 0x30]
invalid
cmp ch, byte [0x16c3df5ac]
xor al, 0xff
xor al, 0x28
xor eax, 0x2f1e2aff
jmp qword [rbx]
invalid
and ebx, dword [rdx]
sub al, 0xff
and dword [rcx], ebx
sub al, 0xff
invalid
call qword [rbx - 0x3a008086]
lodsb al, byte [rsi]
mov al, 0xff
invalid
stosb byte [rdi], al
dec dword [rdi + 0x52ff687a]
cmp eax, 0x6177ff28
inc qword [r8]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rcx], bh
inc qword [r8 + 0x46]
push rdx
push qword [rdx + rdi]
lcall [r9]
invalid
Function at 0x1400010d0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.140002730
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1140], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0xd4], eax
xor esi, esi
mov qword [rsp + 0x60], rax
xor edx, edx
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x910]
mov r8d, 0x830
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x830
call sub.VCRUNTIME140.dll_memset
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], sil
jne 0x140001182
inc rax
lea rdx, [rsp + 0xe0]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov r8d, 0x418
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea r9, [rsp + 0xe0]
mov dword [rsp + 0x20], edi
lea r8, str._s__d
mov edx, 0x830
lea rcx, [rsp + 0x910]
call fcn.140001010
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x910]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000122a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140001070
jmp 0x140001273
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.process_created
call fcn.1400015c0
mov rcx, rax
lea rdx, [0x140001790]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.140001a40
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001900
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movsxd rdi, r8d
mov rcx, qword [rcx]
mov rsi, rdx
test rcx, rcx
je 0x140001926
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
lea rdx, str.ComboBoxEx32
or qword [rbx + 8], 0xffffffffffffffff
mov r9d, 0x44200046
mov rax, qword [0x14017f148]
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
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
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
mov rcx, rax
mov qword [rbx], rax
lea r8d, [r9 + 4]
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 0x1400019b2
mov rcx, rax
call fcn.1400c6df8
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.1400019cc
Function at 0x1400019cc
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140001b4d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140001ab5
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4209
xor edx, edx
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 [0x1401a7210]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x70]
and dword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 1]
call fcn.140001b78
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140001ae1
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140001370
test al, al
jne 0x140001b45
call fcn.1400c54f8
mov esi, eax
xor ebx, ebx
bt esi, ebx
jae 0x140001b3e
lea r9d, [rbx + 0x41]
mov edx, 0xa
lea r8, str._c:_
lea rcx, [rbp + 0x220]
call fcn.1400026d0
mov byte [rsp + 0x40], 1
lea rdx, [rbp + 0x220]
or qword [rsp + 0x38], 0xffffffffffffffff
xor r9d, r9d
mov dword [rsp + 0x30], 2
xor r8d, r8d
and qword [rsp + 0x28], 0
mov rcx, rdi
or dword [rsp + 0x20], 0xffffffff
call fcn.140001b78
inc ebx
cmp ebx, 0x20
jl 0x140001aea
mov rcx, rdi
call fcn.140001f60
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001b78
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
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, qword [rbp + 0x2a8]
mov r13, rcx
mov ecx, 0x1010
mov rbx, r9
mov r15d, r8d
mov r12, rdx
call fcn.1400f0f00
mov rcx, r12
mov r14, rax
mov dword [rax], r15d
mov qword [rax + 8], rbx
call fcn.14008defc
lea rdx, [r14 + 0x10]
sub rdx, rax
xor r8d, r8d
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140001be1
mov ebx, dword [rbp + 0x2a0]
or rdi, 0xffffffffffffffff
cmp byte [rbp + 0x2c0], r8b
jne 0x140001c4b
cmp ebx, edi
je 0x140001c0d
test rsi, rsi
jne 0x140001c4b
mov eax, 0x4203
lea r8, [rsp + 0x70]
cmp r15d, 2
mov r9d, 0x2b8
lea ecx, [rax - 2]
cmovne eax, ecx
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, edi
lea rax, [rbp - 0x80]
cmove ebx, dword [rsp + 0x78]
test rsi, rsi
cmovne rax, rsi
mov rsi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400f24e0
mov rax, qword [rbp + 0x2b8]
lea r9, [rsp + 0x30]
mov rcx, qword [r13]
test rsi, rsi
mov qword [rsp + 0x38], rax
mov edx, 0x40b
mov eax, dword [rbp + 0x2b0]
cmovne rdi, rsi
xor r8d, r8d
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400f12e0
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 0x140001d24
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x1401412b0]
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 0x140001e1f
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140001d8e
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140001d87
cmp dword [rbx + 0x228], 2
jne 0x140001d87
lea rcx, [0x14016dcd0]
call fcn.140001e54
xor eax, eax
jmp 0x140001e30
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x140001da2
mov rsi, qword [rax + 8]
jmp 0x140001da6
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x140001de5
mov eax, edi
lea r8, [rsp + 0x30]
bts eax, 9
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140001de5
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140001e15
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov dword [rsp + 0x20], edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x38], eax
mov dword [rbx + 0x34], eax
bts dword [rbx + 0x18], 0x1c
jmp 0x140001d87
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.1400f12e0
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001e54
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.1400464b4
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 0x140001ee9
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.140001748
cmp byte [0x140147ca4], 0
mov rcx, rbx
je 0x140001ee2
call fcn.140002408
jmp 0x140001f45
call fcn.14000260c
jmp 0x140001f45
cmp byte [0x140147ca4], 0
je 0x140001f00
lea rcx, [rsp + 0x20]
call fcn.14007908c
test al, al
je 0x140001f31
lea rcx, [rsp + 0x20]
call fcn.14008e044
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001f31
test al, 0x10
jne 0x140001f31
lea rdx, [rsp + 0x20]
lea rcx, [0x14016e120]
call fcn.1400411fc
jmp 0x140001f45
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [0x14016e120]
call fcn.14003e9c4
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x1030
pop rbx
ret
Function at 0x140009288
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.1400f1270
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x10a0], rbx
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x10b0], rdi
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0xf80], rax
xor ebx, ebx
cmp qword [0x140160b88], rbx
je 0x140009519
xor r9d, r9d
mov r8b, 1
lea rdx, [0x14015fb52]
lea rdi, [0x14016b340]
mov rcx, rdi
call fcn.140005d3c
cmp eax, 1
jne 0x140009519
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x140158730]
add eax, 0xfffffffd
mov r9b, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
cmp eax, 1
jbe 0x140009339
lea rdx, [rsp + 0x38]
call fcn.140005224
jmp 0x140009343
lea rdx, [rsp + 0x40]
call fcn.140005334
cmp qword [rsp + 0x30], rbx
je 0x140009519
mov edi, 0x800
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [0x140160b58]
call fcn.14008e438
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400093b4
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movabs r9, 0x7fffffff7fffffff
mov r8d, edi
lea rdx, [rbp - 0x80]
lea rcx, [0x140154710]
call fcn.140090a34
cmp eax, 6
ja 0x1400093b4
mov ecx, 0x4a
bt ecx, eax
jae 0x1400093b4
mov rcx, qword [rsp + 0x38]
jmp 0x140009514
lea rdx, [0x14010fb00]
lea rcx, [rbp - 0x80]
call fcn.14006a2ec
mov rdi, rax
test rax, rax
jne 0x1400093eb
mov ecx, 0x1f6
call fcn.1400881f8
mov rdx, rax
lea r8, [rbp - 0x80]
lea rcx, [0x14015fb52]
call fcn.1400d6844
jmp 0x1400093aa
mov eax, dword [0x140158730]
cmp eax, 3
jne 0x14000944d
mov rdx, rdi
mov ecx, 0xff
call fcn.1400f86d8
mov rdx, rdi
mov ecx, 0xfe
call fcn.1400f86d8
cmp qword [rsp + 0x30], rbx
jbe 0x1400094fd
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx*2]
mov rdx, rdi
call fcn.1400f86d8
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rax + rbx*2 + 1]
mov rdx, rdi
call fcn.1400f86d8
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14000941b
jmp 0x1400094fd
cmp eax, 4
jne 0x1400094ce
mov rdx, rdi
mov ecx, 0xef
call fcn.1400f86d8
mov rdx, rdi
mov ecx, 0xbb
call fcn.1400f86d8
mov rdx, rdi
mov ecx, 0xbf
call fcn.1400f86d8
mov rdx, qword [rsp + 0x30]
shl rdx, 2
lea rcx, [rsp + 0x50]
call fcn.140004068
nop
mov r8, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140091084
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], bl
jne 0x1400094a8
mov r9, rdi
mov edx, 1
mov rcx, rsi
call fcn.1400f8a38
nop
lea rcx, [rsp + 0x50]
call fcn.140008088
jmp 0x1400094fd
cmp eax, 2
jne 0x1400094e6
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
call qword [sym.imp.USER32.dll_CharToOemBuffA]
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400f8a38
mov rcx, rdi
call fcn.1400f866c
mov rcx, qword [rsp + 0x38]
call fcn.1400f0f3c
mov rcx, qword [rsp + 0x40]
call fcn.1400f0f3c
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000a154
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 [0x1401412b0]
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]
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rax
mov ebx, ebp
call fcn.14008d960
mov rsi, rax
test rax, rax
je 0x14000a203
test ebx, ebx
jne 0x14000a1b3
mov ebx, 1
jmp 0x14000a1e0
movzx edx, word [rsp + 0x20]
lea rcx, [0x140154710]
call fcn.14005cf80
test al, al
jne 0x14000a1e0
cmp ebx, 1
jne 0x14000a1de
movzx eax, word [rsp + 0x20]
mov word [rdi], ax
movzx eax, word [rsp + 0x22]
mov word [rdi + 2], ax
inc ebx
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14008d960
mov rsi, rax
test rax, rax
jne 0x14000a1a8
cmp ebx, 2
jne 0x14000a203
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400f12e0
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 0x14000ece4
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 + 0x50], rbx
mov rsi, rdx
mov bpl, cl
cmp dword [0x140147ca0], 0
jne 0x14000ee8a
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 0x14000ed53
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.1400881f8
mov rcx, rax
call fcn.1400d2e64
jmp 0x14000ee8a
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x140141eea], al
mov ecx, ebx
call fcn.1400f0f00
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000ed92
lea rax, [0x1401106f8]
mov qword [rbx], rax
mov dword [rbx + 8], 1
jmp 0x14000ed94
xor ebx, ebx
mov ecx, 0xd828
call fcn.1400f0f00
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14000edbe
xor r9d, r9d
mov r8, rsi
mov dl, bpl
mov rcx, rax
call fcn.14000dfac
mov rsi, rax
jmp 0x14000edc0
xor esi, esi
mov qword [0x140141ef0], rsi
mov byte [0x140141ee9], 0
mov byte [0x140141ee8], 1
mov byte [0x140141eeb], 0
lea r9, [rsp + 0x60]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ole32.dll_DoDragDrop]
mov ebp, eax
mov byte [0x140141ee8], 0
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
cmp byte [0x140141eea], 0
je 0x14000ee39
cmp byte [0x140147ca4], 0
je 0x14000ee39
cmp ebp, 0x40100
jne 0x14000ee39
call fcn.1400d108c
lea rcx, [0x14016e120]
call fcn.140043f1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbp - 0x40100]
cmp eax, 1
jbe 0x14000ee8a
cmp byte [0x140141eeb], 0
jne 0x14000ee8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x14000ee8a
mov ecx, 0x53c
call fcn.1400881f8
mov rcx, rax
call fcn.1400d2e64
lea rcx, [0x14017f200]
call fcn.14006355c
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret