joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc50b09c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc50b11a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc50b111
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc50b111
mov rax, qword [rbp - 8]
jmp 0x2fc50b12f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc50b0e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d8370
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d9450
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d8d72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fb108]
test eax, eax
je 0x2fc4d8e0a
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fb110]
mov qword [rbp - 8], rax
jmp 0x2fc4d8dee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d8de2
cmp qword [rbp - 0x10], 0
je 0x2fc4d8de2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d8da8
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d8e0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d8f10
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d8f38
mov eax, 0
jmp 0x2fc4d8f86
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d8f61
mov eax, 0
jmp 0x2fc4d8f86
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d8f81
mov eax, 0
jmp 0x2fc4d8f86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d8f8c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d900a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d9001
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d9001
mov rax, qword [rbp - 8]
jmp 0x2fc4d901f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d8fd4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140006564
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14006eeb4], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x1400065c4
movdqa xmm0, xmmword [0x140044c70]
movdqa xmm1, xmmword [0x140044c60]
movdqa xmmword [0x140059ac0], xmm0
movdqa xmm0, xmmword [0x140044c40]
movdqa xmmword [0x140059ad0], xmm1
movdqa xmm1, xmmword [0x140044c50]
movdqa xmmword [0x140059ae0], xmm0
movdqa xmmword [0x140059af0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.140030ea0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140044c20]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x1400065e0
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x14000749c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov sil, dl
mov word [rcx + 0x850a], r15w
mov rbx, rcx
mov byte [rcx + 0x8501], r15b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov r14b, 1
jmp 0x140007503
test r14b, r14b
jne 0x1400074f3
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
test sil, sil
je 0x1400074ee
call fcn.140007644
jmp 0x1400074f3
call fcn.1400071f0
mov rcx, qword [rsp + 0x40]
call fcn.140033508
mov rcx, rbp
mov r14b, r15b
lea rdx, [rsp + 0x40]
call fcn.140006b18
mov rbp, rax
test rax, rax
jne 0x1400074d5
test sil, sil
jne 0x140007522
mov rcx, rbx
call fcn.140007538
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x1400098a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x850
mov rax, qword [0x1400590d0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rdi, r8
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.140020f84
mov esi, 1
mov ecx, esi
call fcn.140036b90
xor r14d, r14d
cmp rbx, rax
jne 0x1400098f9
cmp byte [0x14005ab1c], r14b
jne 0x14000991b
mov ebp, 2
mov ecx, ebp
call fcn.140036b90
cmp rbx, rax
jne 0x1400099e3
cmp byte [0x14005ab1d], r14b
je 0x1400099e3
mov ecx, esi
call fcn.140036b90
sub rbx, rax
neg rbx
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call fcn.14000501c
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], r14
lea rdi, [0x14005d320]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rdi
call fcn.140035940
mov ecx, dword [0x14005ab18]
cmp ecx, 3
jne 0x140009985
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x140009973
add r8d, r8d
mov rdx, rdi
jmp 0x1400099ce
lea rbx, [0x140060320]
cmp ecx, 4
mov rdx, rbx
mov r8, rsi
mov rcx, rdi
jne 0x1400099a1
call fcn.140023608
jmp 0x1400099a6
call fcn.140023584
test dword [0x14005ab18], 0xfffffffd
jne 0x1400099be
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x1400099c2
mov rdx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140009a4c
call fcn.14000501c
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
lea rdi, [0x14005d320]
mov qword [rsp + 0x20], r14
mov r8d, 0x1800
mov rdx, rdi
mov rcx, qword [rax]
call fcn.140035940
mov ecx, ebp
call fcn.140036b90
mov ecx, r14d
cmp rbx, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x140009a2c
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14002efe0
add rsp, 0x850
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009d04
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x140061b20]
mov r10, r8
mov rbx, rdx
mov r11d, ecx
test r8, r8
je 0x140009d4d
test bl, 7
je 0x140009d4d
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x140009d28
cmp r10, 8
jb 0x140009df7
mov rdi, r10
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r11d
shr eax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1000]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140009d65
test r10, r10
je 0x140009e1c
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x140009dfc
mov rbx, qword [rsp + 8]
mov eax, r11d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140009e50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140009e97
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140009e65
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x140009e5c
ret
Function at 0x14000a008
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rdi
sub rsp, 0x80
mov rax, qword [0x1400590d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
mov rdi, rdx
mov rbx, rcx
mov ebp, 0x20
jne 0x14000a09c
and qword [r11 - 0x48], 0
lea r9d, [rbp - 0x1c]
mov eax, dword [rcx + 4]
lea r8, [r11 - 0x38]
and qword [r11 - 0x50], 0
mov edx, ebp
and qword [r11 - 0x58], 0
mov rcx, rdi
and qword [r11 - 0x60], 0
mov dword [rsp + 0x50], eax
lea rax, [r11 - 0x30]
mov qword [r11 - 0x68], rax
call fcn.14000b1ac
and dword [rbx + 4], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
movzx eax, byte [r9]
mov ecx, r8d
and ecx, 3
inc r8d
shl ecx, 3
inc r9
shl eax, cl
xor edx, eax
cmp r8d, ebp
jb 0x14000a07d
mov dword [rbx + 4], edx
cmp dword [rbx], 3
jne 0x14000a0e7
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
lea r8, [rbx + 4]
and qword [rsp + 0x30], 0
mov r9, rbp
and qword [rsp + 0x28], 0
mov rdx, rbp
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14000b1ac
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbx + 4], xmm0
movups xmmword [rbx + 0x14], xmm1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002efe0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000a10c
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
mov r9, rcx
test r8, r8
je 0x14000a1bc
mov eax, 0x1234
add word [r9 + 0x10b8], ax
movzx edx, word [r9 + 0x10b8]
mov eax, edx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba4]
mov eax, edx
xor word [r9 + 0x10ba], cx
shr rax, 1
movzx eax, al
movzx ecx, word [r9 + rax*4 + 0xba6]
sub word [r9 + 0x10bc], cx
mov ecx, 1
movzx eax, word [r9 + 0x10bc]
xor ax, dx
mov word [r9 + 0x10b8], ax
movzx eax, word [r9 + 0x10be]
ror ax, cl
xor ax, word [r9 + 0x10ba]
ror ax, cl
xor word [r9 + 0x10b8], ax
mov word [r9 + 0x10be], ax
movzx eax, word [r9 + 0x10b8]
shr ax, 8
xor byte [r10], al
inc r10
sub r8, 1
jne 0x14000a11b
ret
Function at 0x14000a1f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400590d0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, dword [rdx]
mov r15d, 0x1f
mov r11d, dword [rdx + 4]
mov r10, rdx
mov esi, dword [rdx + 8]
mov r9, rcx
movups xmm0, xmmword [rdx]
mov ebx, dword [rcx + 0x10a4]
mov r12d, r15d
xor r11d, dword [rcx + 0x10a8]
xor edi, ebx
xor esi, dword [rcx + 0x10ac]
mov ebp, dword [rdx + 0xc]
xor ebp, dword [rcx + 0x10b0]
movdqu xmmword [rsp + 0x20], xmm0
mov rax, r12
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
dec r12
mov r8d, dword [r9 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr rax, 0x10
movzx eax, al
movzx r14d, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
shl r14d, 8
movzx ecx, byte [rax + r9 + 0xfa4]
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
ror edx, 0xf
xor edx, ebp
movzx eax, byte [rcx + r9 + 0xfa4]
add edx, r8d
or r14d, eax
mov eax, edx
shr rax, 0x10
xor r14d, edi
movzx eax, al
mov edi, esi
mov esi, r14d
movzx r8d, byte [rax + r9 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0xfa4]
mov eax, edx
shl ecx, 8
or r8d, ecx
shr rax, 8
shl r8d, 8
movzx eax, al
movzx ecx, byte [rax + r9 + 0xfa4]
or r8d, ecx
movzx ecx, dl
shl r8d, 8
movzx eax, byte [rcx + r9 + 0xfa4]
or r8d, eax
xor r8d, r11d
mov r11d, ebp
sub r15d, 1
mov ebp, r8d
jns 0x14000a254
xor ebx, r14d
lea rdx, [rsp + 0x20]
mov dword [r10], ebx
mov rcx, r9
mov eax, dword [r9 + 0x10a8]
xor eax, r8d
mov dword [r10 + 4], eax
mov eax, dword [r9 + 0x10ac]
xor eax, edi
mov dword [r10 + 8], eax
xor r11d, dword [r9 + 0x10b0]
mov dword [r10 + 0xc], r11d
call fcn.14000b0f8
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14002efe0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000a7a4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
add rcx, 0xba4
call fcn.140009e50
or r8, 0xffffffffffffffff
xor esi, esi
inc r8
cmp byte [rdi + r8], sil
jne 0x14000a7cb
mov rdx, rdi
or ecx, 0xffffffff
call fcn.140009d04
mov word [rbx + 0x10b8], ax
shr eax, 0x10
mov word [rbx + 0x10ba], ax
mov dword [rbx + 0x10bc], esi
mov al, byte [rdi]
test al, al
je 0x14000a83f
mov r8d, esi
mov r9d, esi
movzx edx, al
inc rdi
movzx ecx, al
movzx eax, word [rbx + rdx*4 + 0xba4]
xor ax, cx
xor r9w, ax
mov word [rbx + 0x10bc], r9w
movzx eax, word [rbx + rdx*4 + 0xba6]
add ax, cx
add r8w, ax
mov word [rbx + 0x10be], r8w
mov al, byte [rdi]
test al, al
jne 0x14000a802
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b4c8
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 [0x1400590d0]
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.140030a50
cmp rbx, 0x44
jae 0x14000b72d
lea rax, [rbx + 1]
mov byte [rbp + rbx + 0xd0], 0
cmp rax, 0x44
jae 0x14000b727
mov byte [rbp + rax + 0xd0], 0
lea rax, [rbx + 2]
cmp rax, 0x44
jae 0x14000b721
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.14000b1ac
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 0x14000b69b
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.14000b1ac
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 0x14000b66e
sub rbx, 1
jne 0x14000b60b
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 0x14000b600
lea edx, [r14 + 0x44]
lea rcx, [rbp + 0xd0]
call fcn.14001f2c4
lea ebx, [r14 + 0x20]
mov edx, ebx
lea rcx, [rbp + 0x88]
call fcn.14001f2c4
mov edx, ebx
lea rcx, [rbp + 0x68]
call fcn.14001f2c4
mov edx, ebx
lea rcx, [rbp + 0xa8]
call fcn.14001f2c4
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14002efe0
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002f114
int3
call fcn.14002f114
int3
call fcn.14002f114
int3
Function at 0x14001012c
Capabilities:
Move file

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x4f70]
mov eax, 0x5070
call fcn.14002ef70
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x5098], rbx
mov qword [rsp + 0x50a0], rsi
mov qword [rsp + 0x50a8], rdi
mov rax, qword [0x1400590d0]
xor rax, rsp
mov qword [rbp + 0x4f60], rax
mov rbx, rcx
mov r15d, 0x800
mov r8d, r15d
lea rdx, [rbp + 0x2f60]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
lea edi, [r15 - 2]
cmp eax, edi
ja 0x14001033b
mov r8d, r15d
lea rdx, [rbp + 0x3f60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, edi
ja 0x14001033b
lea rcx, [rbp + 0x2f60]
call fcn.140015fc4
mov rsi, rax
lea rcx, [rbp + 0x3f60]
call fcn.140015fc4
mov rdi, rax
xor r14d, r14d
cmp word [rax], r14w
je 0x14001033b
mov rdx, rax
mov rcx, rsi
call fcn.140023764
test eax, eax
je 0x14001033b
mov rcx, rbx
call fcn.140015fc4
mov rcx, rax
mov rdx, rdi
call fcn.140023764
test eax, eax
jne 0x14001033b
movzx eax, r14w
mov word [rbp + 0xf60], ax
mov edi, r14d
test ax, ax
jne 0x140010293
mov r8, r15
mov rdx, rbx
lea rcx, [rbp + 0xf60]
call fcn.140021298
lea rcx, [rbp + 0xf60]
call fcn.140015fc4
mov rcx, rax
mov r9d, edi
lea r8, str.rtmp_d
mov rdx, r15
call fcn.140005024
lea rcx, [rbp + 0xf60]
call fcn.1400115ac
test al, al
je 0x140010278
mov eax, r14d
mov word [rbp + 0xf60], ax
jmp 0x14001027f
movzx eax, word [rbp + 0xf60]
add edi, 0x7b
cmp edi, 0x2710
jl 0x140010224
test ax, ax
je 0x14001033b
mov r8, r15
mov rdx, rbx
lea rcx, [rbp + 0x1f60]
call fcn.140021298
mov r8, r15
mov rdx, rsi
lea rcx, [rbp + 0x1f60]
call fcn.1400160c0
lea rdx, [rbp + 0xf60]
lea rcx, [rbp + 0x1f60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14001033b
lea rcx, [rsp + 0x30]
call fcn.14001036c
nop
mov dil, r14b
mov rcx, rbx
call fcn.1400115ac
test al, al
jne 0x1400102ff
mov r8d, 0x12
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140010498
mov dil, al
lea rdx, [rbp + 0x1f60]
lea rcx, [rbp + 0xf60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test dil, dil
je 0x14001032d
lea rcx, [rsp + 0x30]
call fcn.140010430
lea rcx, [rsp + 0x30]
call fcn.1400105cc
nop
lea rcx, [rsp + 0x30]
call fcn.1400103ac
mov al, 1
jmp 0x14001033d
xor al, al
mov rcx, qword [rbp + 0x4f60]
xor rcx, rsp
call fcn.14002efe0
lea r11, [rsp + 0x5070]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001061c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x140010649
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, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400106c8
mov rcx, rbx
call fcn.1400107b8
test al, al
je 0x14001068c
mov r8d, 0x4e20
cmp rdi, r8
jbe 0x14001068c
mov rdx, rsi
mov rcx, rbx
call fcn.14001061c
jmp 0x1400106cc
cmp dword [rbx + 0x14], 1
jne 0x1400106a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x1400106a1
xor eax, eax
jmp 0x1400106cc
cmp dword [rbx + 0x14], 0
jne 0x1400106c3
cmp rdi, 0x8000
jbe 0x1400106c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x1400106c3
mov r8d, 0x8000
jmp 0x14001067f
or eax, 0xffffffff
jmp 0x1400106cc
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400109b0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor r8d, r8d
mov rdi, rcx
call fcn.140010a18
test al, al
je 0x1400109ed
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.140030220]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010dfc
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp eax, 1
sete al
add rsp, 0x28
ret