joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a8b8
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001a8ef
mov rax, qword [rcx]
lea rsi, [rcx + 0x10]
xor r14d, r14d
mov qword [rsi], r14
mov word [rax], r14w
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rbp - 0x28], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x14001a913
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1400041b8
nop
mov qword [rbp - 0x50], r14
mov edi, r14d
mov r15d, 7
mov r12d, 0x1000
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r15
mov word [rbp - 0x48], r14w
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400fdf6c
test al, al
je 0x14001a9ff
test edi, edi
jne 0x14001a9c6
mov edi, 1
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14001a9b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
cmp rdx, r12
mov rax, rcx
jb 0x14001a9af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aad3
call fcn.1401af9bc
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r15
mov word [rbp - 0x48], r14w
jmp 0x14001a93d
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rax, qword [rbp - 0x48]
movzx edx, word [rax]
lea rcx, [0x140234a30]
call fcn.1400b82a0
test al, al
jne 0x14001a978
cmp edi, 1
jne 0x14001a9f8
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.140004958
inc edi
jmp 0x14001a978
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14001aa3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, r12
jb 0x14001aa36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aad3
call fcn.1401af9bc
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r15
mov word [rbp - 0x48], r14w
cmp edi, 2
jne 0x14001aa5e
cmp qword [rbx + 0x18], 8
jb 0x14001aa57
mov rbx, qword [rbx]
mov qword [rsi], r14
mov word [rbx], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14001aa96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, r12
jb 0x14001aa91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aacd
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r14w
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
int3
int3
Function at 0x140027c1c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
xor esi, esi
mov dword [rbp - 0x50], esi
mov qword [rbp - 0x28], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdx, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
inc rdx
lea rcx, [rbp - 0x48]
call fcn.14000a448
nop
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
sub r8, rdx
sar r8, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov rdx, qword [rbp - 0x48]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x140027cb4
mov rcx, rdi
call fcn.1400041b8
mov dword [rbp - 0x50], 1
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140027d16
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027d46
call fcn.1401af9bc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
int3

Function at 0x140029c98
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov bpl, cl
cmp dword [0x140233a40], 0
jne 0x140029e4d
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 0x140029d03
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.1400f70b0
mov rcx, rax
call fcn.14016b72c
jmp 0x140029e4d
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x140232d82], al
mov ecx, ebx
int3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14002ec14
Capabilities:
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 - 0x228]
sub rsp, 0x320
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rdi, rcx
mov qword [rcx], rdx
mov dword [rsp + 0x20], 0x4001
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [0x1401dc78c]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, rax
xor esi, esi
test rax, rax
jne 0x14002ed26
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], si
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140161010
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0x4001
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14002ed13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ed0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed62
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov r9, rbx
xor r8d, r8d
mov edx, 0x1109
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
int3

Function at 0x140030c90
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov r8, rcx
cmp byte [rcx + 0x20], bl
je 0x140030cd1
mov qword [rdx], rbx
cmp dword [rcx + 0x30], ebx
jbe 0x140030d03
mov eax, ebx
mov rcx, qword [r8 + 0x28]
mov edx, ebx
inc ebx
add rdx, rdx
add rax, qword [rcx + rdx*8 + 8]
mov qword [rdi], rax
cmp ebx, dword [r8 + 0x30]
jb 0x140030cb6
jmp 0x140030d03
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140030cf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140030cf5
xor al, al
jmp 0x140030d05
mov ecx, dword [rsp + 0x30]
shl rcx, 0x20
add rcx, rsi
mov qword [rdi], rcx
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140053080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov rbx, qword [rcx]
cmp rbx, 0x20
jb 0x14005314e
mov rdx, qword [rcx + 8]
movabs rsi, 0x9e3779b185ebca87
mov r9, qword [rcx + 0x18]
movabs rdi, 0xc2b2ae3d27d4eb4f
mov r8, qword [rcx + 0x10]
mov rax, rdx
mov r10, qword [rcx + 0x20]
mov r11, r9
rol r11, 0xc
rol rax, 1
add r11, rax
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r8, rdi
imul r10, rdi
imul r9, rdi
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
movabs rax, 0x7a1435883d4d519d
rol r8, 0x1f
imul rdx, rsi
imul r8, rsi
xor r11, rdx
rol r10, 0x1f
imul r11, rsi
imul r10, rsi
sub r11, rax
rol r9, 0x1f
xor r11, r8
imul r11, rsi
imul r9, rsi
sub r11, rax
xor r11, r9
imul r11, rsi
sub r11, rax
xor r11, r10
movabs r10, 0x85ebca77c2b2ae63
imul r11, rsi
add r10, r11
jmp 0x14005315f
mov r10, qword [rcx + 0x18]
movabs rdx, 0x27d4eb2f165667c5
add r10, rdx
add r10, rbx
lea rdx, [rcx + 0x28]
mov rcx, r10
xor r9d, r9d
mov r8, rbx
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
pop rdi
jmp fcn.140052f04

Function at 0x140055ee4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
add qword [rcx + 0x3778], r8
mov rdi, rcx
mov rbx, qword [rcx + 0x3678]
mov rsi, r8
add rcx, 0x3688
mov rbp, rdx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f1dc3.0]
mov rdx, qword [rdi + 0x3780]
mov r9, rbx
mov rcx, qword [rdi + 0x3778]
mov r8, rax
call fcn.140104ee8
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbp
call fcn.140039f28
mov edx, dword [rdi + 0x3770]
mov r8, rsi
mov r9, rbp
test rsi, rsi
je 0x140055f7c
movzx ecx, byte [r9]
inc r9
movzx eax, dl
xor rcx, rax
shr edx, 8
movzx eax, word [rdi + rcx*2 + 0x3440]
xor edx, eax
sub r8, 1
jne 0x140055f5c
mov rax, qword [rdi + 8]
mov dword [rdi + 0x3770], edx
cmp byte [rax + 0x319], 0
jne 0x140055fbd
mov rax, qword [rdi + 0x3708]
lea rcx, [rdi + 0x3708]
mov rax, qword [rax + 0x30]
call qword [case.0x1400f1dc3.0]
test al, al
je 0x140055fbd
mov r8, rsi
lea rcx, [rdi + 0x3708]
mov rdx, rbp
call fcn.1400cb090
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005d3fc
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x14005d42a
movzx eax, byte [rdx]
mov r9d, r10d
shr r9, 8
inc rdx
xor r9, rax
shl r10d, 8
movzx eax, r9b
xor r10d, dword [rcx + rax*4 + 0xae0]
sub r8, 1
jne 0x14005d404
movzx eax, r10w
ret

Function at 0x14005ee30
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0xae0]
mov r8d, r9d
mov r11d, 8
shl r8d, 8
lea ecx, [r8 + r8]
mov edx, r8d
mov eax, ecx
mov r8d, ecx
xor eax, 0x1021
bt edx, 0xf
cmovb r8d, eax
sub r11, 1
jne 0x14005ee47
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14005ee3a
ret
Function at 0x140089c5c
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rsi, rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x30], ebx
mov qword [rbp - 0x40], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x40], r14w
lea edi, [r14 + 1]
mov ecx, 0x3d4
call fcn.1400f70b0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140012fc0
cmp edi, 1
jbe 0x140089d4d
mov edx, edi
lea rcx, [rbp - 0x20]
call fcn.14000ac84
or ebx, 1
mov dword [rsp + 0x30], ebx
lea r8, [rbp - 0x20]
lea rdx, [0x1401e05e0]
lea rcx, [rbp + 0x20]
call fcn.140082474
nop
lea r8, [0x1401e05dc]
mov rdx, rax
lea rcx, [rbp]
call fcn.140006d24
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140089d1d
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140006c24
nop
lea rcx, [rbp]
call fcn.140006b94
nop
lea rcx, [rbp + 0x20]
call fcn.140006b94
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x20]
call fcn.140006b94
cmp edi, 0x3e8
ja 0x140089d6c
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.140087b5c
test al, al
je 0x140089d6c
inc edi
jmp 0x140089cb9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rbp - 0x60], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], r14w
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140161010
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov dword [rsp + 0x20], 0x4001
mov r9d, 0x2b8
lea r8, [rbp + 0x40]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edx, edx
lea r8d, [rdx + 0x58]
lea rcx, [rsp + 0x40]
call fcn.1401b2770
mov dword [rsp + 0x40], 3
mov eax, dword [rbp + 0x48]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], r14d
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x104d
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.USER32.dll_SetFocus]
mov byte [rsi + 0xad], 1
movsxd r8, ebx
xor r9d, r9d
mov edx, 0x1076
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140089e96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140089e91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140089ed8
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r14w
lea rcx, [rbp - 0x40]
call fcn.140006b94
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
int3
Function at 0x1400bd200
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r8d, dword [rcx + 0x9b8]
add rdx, 2
mov r9d, dword [rcx + 0x9bc]
mov ebx, 4
mov r10d, dword [rcx + 0x9c0]
mov r11d, dword [rcx + 0x9c4]
movzx eax, byte [rdx - 2]
xor r8d, dword [rcx + rax*4 + 0x4b8]
mov dword [rcx + 0x9b8], r8d
movzx eax, byte [rdx - 1]
xor r9d, dword [rcx + rax*4 + 0x4b8]
mov dword [rcx + 0x9bc], r9d
movzx eax, byte [rdx]
lea rdx, [rdx + 4]
xor r10d, dword [rcx + rax*4 + 0x4b8]
mov dword [rcx + 0x9c0], r10d
movzx eax, byte [rdx - 3]
xor r11d, dword [rcx + rax*4 + 0x4b8]
mov dword [rcx + 0x9c4], r11d
sub rbx, 1
jne 0x1400bd22a
mov rbx, qword [rsp + 8]
ret
Function at 0x1400bd5a4
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, qword [rbp + 0x190]
mov rax, r8
mov rsi, qword [rbp + 0x198]
mov r8d, 0x40
mov r14, qword [rbp + 0x1a0]
cmp r9, r8
mov r12, rdx
mov r15, rcx
cmovb r8, r9
lea rcx, [rbp + 0xd0]
mov rdx, rax
mov rbx, r9
call fcn.1401b1b70
cmp rbx, 0x44
jae 0x1400bd7fd
lea rax, [rbx + 1]
mov byte [rbp + rbx + 0xd0], 0
cmp rax, 0x44
jae 0x1400bd7fd
mov byte [rbp + rax + 0xd0], 0
lea rax, [rbx + 2]
cmp rax, 0x44
jae 0x1400bd7fd
and qword [rsp + 0x40], 0
lea r9, [rbx + 4]
and qword [rsp + 0x38], 0
lea r8, [rbp + 0xd0]
and qword [rsp + 0x30], 0
mov rdx, r12
and qword [rsp + 0x28], 0
mov rcx, r15
mov byte [rbp + rax + 0xd0], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov byte [rbp + rbx + 0xd3], 1
call fcn.1400bd288
movups xmm0, xmmword [rbp + 0x68]
mov eax, dword [rbp + 0x1a8]
movups xmm1, xmmword [rbp + 0x78]
dec eax
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rsi
lea rdi, [rbp + 0x40]
mov qword [rbp + 0x60], r14
lea rsi, [rbp + 0x50]
movups xmmword [rbp + 0x88], xmm0
mov dword [rbp + 0x40], eax
mov r14d, 3
movups xmmword [rbp + 0x98], xmm1
mov dword [rbp + 0x44], 0x10
mov dword [rbp + 0x48], 0x10
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x50], 0
cmp dword [rdi], 0
jbe 0x1400bd777
mov ebx, dword [rdi]
lea rax, [rsp + 0x50]
mov r9d, 0x20
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x68]
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
call fcn.1400bd288
movups xmm0, xmmword [rbp + 0xa8]
xor eax, eax
movups xmm1, xmmword [rbp + 0xb8]
movups xmmword [rbp + 0x68], xmm0
lea ecx, [rax + 2]
movups xmmword [rbp + 0x78], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x88]
movdqu xmm1, xmmword [rbp + rax + 0x68]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x78], xmm1
sub rcx, 1
jne 0x1400bd74a
sub rbx, 1
jne 0x1400bd6e7
mov rax, qword [rsi]
add rdi, 4
movups xmm0, xmmword [rbp + 0x88]
add rsi, 8
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x98]
movups xmmword [rax + 0x10], xmm1
sub r14, 1
jne 0x1400bd6dc
lea edx, [r14 + 0x44]
lea rcx, [rbp + 0xd0]
call fcn.1400fb750
lea ebx, [r14 + 0x20]
mov edx, ebx
lea rcx, [rbp + 0x88]
call fcn.1400fb750
mov edx, ebx
lea rcx, [rbp + 0x68]
call fcn.1400fb750
mov edx, ebx
lea rcx, [rbp + 0xa8]
call fcn.1400fb750
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
int3
Function at 0x1400ca514
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
jne 0x1400ca54b
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400ca537
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f1dc3.0]
cmp byte [rbx + 0x21], 0
je 0x1400ca54b
lea rcx, [rbx + 0x40]
add rsp, 0x20
pop rbx
jmp fcn.1400cbae0
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400ca554
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jne 0x1400ca586
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400ca603
mov rcx, rbx
int3
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400cb010
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400cb090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, r8
mov qword [rbp - 0x38], rdx
mov rsi, rcx
xor edi, edi
test r8, r8
jne 0x1400cb0cd
mov al, 1
jmp 0x1400cb2c5
lea r15, [rcx + 8]
cmp dword [rcx + 0x14], 1
jne 0x1400cb0e9
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r15], rax
mov rdx, qword [rbp - 0x38]
mov r12b, dil
mov dword [rbp - 0x40], edi
cmp dword [rsi + 0x14], edi
je 0x1400cb145
mov rbx, rdi
test r14, r14
je 0x1400cb169
mov rcx, r14
sub rcx, rbx
mov eax, r14d
sub eax, ebx
mov r8d, 0x4000
cmp rcx, r8
cmovb r8d, eax
add rdx, rbx
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x40]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne r12b
test eax, eax
je 0x1400cb160
add rbx, 0x4000
cmp rbx, r14
mov rdx, qword [rbp - 0x38]
jb 0x1400cb0fc
jmp 0x1400cb160
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x40]
mov r8d, r14d
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne r12b
test r12b, r12b
jne 0x1400cb2be
cmp byte [rsi + 0x22], dil
je 0x1400cb2be
cmp dword [rsi + 0x14], edi
jne 0x1400cb2be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x28]
mov rcx, rsi
call qword [case.0x1400f1dc3.0]
mov qword [rbp - 0x30], rax
lea r13, [rsi + 0x40]
mov rcx, r13
call fcn.1400cc164
mov rbx, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp rbx, r14
jbe 0x1400cb1df
mov rax, qword [rbp - 0x30]
mov rcx, rax
sub rcx, r14
mov ebx, 0xffffffff
cmp rcx, rbx
ja 0x1400cb1df
add rax, r14
cmp rax, rbx
jbe 0x1400cb1df
mov rdx, r13
lea rcx, [0x14023fda0]
call fcn.1400c0acc
xor r8d, r8d
mov rdx, r13
lea rcx, [0x14023fda0]
call fcn.1400c0224
xor edi, edi
test al, al
je 0x1400cb23d
mov ecx, dword [rbp - 0x40]
cmp rcx, r14
mov rdx, qword [rbp - 0x38]
jae 0x1400cb0e9
test ecx, ecx
je 0x1400cb0e9
mov rbx, qword [rsi]
mov rcx, rsi
mov rax, qword [rbx + 0x28]
call qword [case.0x1400f1dc3.0]
mov rdx, rax
mov eax, dword [rbp - 0x40]
sub rdx, rax
xor r8d, r8d
mov rcx, rsi
mov rax, qword [rbx + 0x20]
call qword [case.0x1400f1dc3.0]
jmp 0x1400cb0e5
mov qword [rbp - 0x28], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor r8d, r8d
lea rdx, [0x1401dbff0]
lea rcx, [rbp - 0x28]
call fcn.1400041b8
nop
mov r8, r13
lea rdx, [rbp - 0x28]
lea rcx, [0x14023fda0]
call fcn.1400c0a94
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400cb2ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb2a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb2e9
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], di
mov byte [rsi + 0x10], 1
mov al, r12b
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
int3