joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001cb30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x183655ae0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x18001cba3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x18001cbda
test eax, eax
js 0x18001cbb4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x18001cbcd
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x183655b40]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.18001c430
mov rcx, rax
call fcn.18001c220
mov ecx, 7
int 0x29
ud2

Function at 0x180023f30
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.18001d3d0
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movabs rdi, 0x8000000000000000
add byte [rax], al
add byte [rax], al
or byte [rax + 0x39], 0xf8
cmp eax, edi
je case.0x18001fe98.182
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax

Function at 0x180024ff0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x180025033
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x180021c90]
mov qword [rbp - 0x28], rax
lea rax, [0x183655d38]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, [0x183655d70]
lea rcx, [rbp - 0x60]
call fcn.180059290
ud2
Function at 0x18000401e
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rdx
shr rax, 0x10
xor rax, rdx
mov rdx, rax
shr rdx, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 0x12
xor rax, rdx
add rax, 0x1f5df3be
mov rdx, rax
rol rdx, 5
xor edx, eax
movzx eax, dx
add rax, rcx
ret
Function at 0x180005acc
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rsi
sub rsp, 0x10
xorps xmm0, xmm0
movaps xmmword [rsp], xmm0
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx]
add r9d, eax
xor r10d, r10d
test r10, r10
je 0x180005af2
mov r11d, dword [rdx + r10]
mov rsi, r10
jmp 0x180005af7
mov r11d, r9d
xor esi, esi
mov dword [rsp + rsi], r11d
add r10, 4
cmp r10, 0x10
jne 0x180005ae4
movdqa xmm0, xmmword [rsp]
pxor xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
add rsp, 0x10
pop rsi
ret
Function at 0x180005b87
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x180005bbd
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x180005bc5
mov esi, dword [rdx]
mov r9d, 4
jmp 0x180005bca
xor r10d, r10d
jmp 0x180005c78
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x180005bed
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x180005c04
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x180005c24
add r11, r8
jmp 0x180005d48
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x180005cec
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x180005c9a
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x180005cfe
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x180005d04
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x180005d2a
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x180005d44
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1800197d4
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
lea rax, [rsp + 0x48]
mov qword [rax], rcx
lea rcx, [rsp + 0x50]
mov qword [rcx], rdx
xor edx, edx
lea r8, [rsp + 0x58]
mov qword [r8], rdx
mov qword [r8 + 8], 8
mov qword [r8 + 0x10], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
lea rcx, [0x180001b10]
call fcn.18004ba4f
test rax, rax
jne 0x18001985e
call case.0x180037911.197
mov rdi, qword [rax]
lea rsi, [rdi + 0x80]
lea rcx, [0x180001b10]
call fcn.18004ba4f
test rax, rax
je 0x180019a13
cmp qword [rax + 0x110], rdi
jne 0x180019a25
lea rcx, [rsp + 0x28]
mov rdx, rax
call fcn.1800017ed
mov rax, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, rcx
shl rbp, 5
add rbp, r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
test rcx, rcx
je 0x1800199dc
add r13, 0x20
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x20], rbp
mov rsi, qword [r13 - 0x20]
cmp rsi, rdi
je 0x1800199dc
lea rbx, [r13 - 0x20]
mov r14, qword [r13 - 0x18]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.1800594a0
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
cmp rax, rdi
je 0x18001993c
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], rcx
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x88]
call fcn.18005ead0
mov rax, rdi
mov rdi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
mov rbp, rax
cmp rdi, rax
jne 0x180019976
mov rdi, rbp
mov rbp, qword [rsp + 0x20]
mov r12, r15
test r15, r15
je 0x18001994c
mov rcx, r12
call fcn.18002815a
test rsi, rsi
je 0x180019963
mov rcx, qword [0x1800a14a8]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
add r13, 0x20
add rbx, 0x20
cmp rbx, rbp
jne 0x1800198af
jmp 0x1800199d9
mov rcx, r15
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1800199a4
test rdi, rdi
mov rdi, rbp
mov rbp, qword [rsp + 0x20]
je 0x18001994c
mov rcx, qword [0x1800a14a8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x18001994c
call qword [sym.imp.kernel32.dll_GetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
test rdi, rdi
je 0x1800199cc
mov rcx, qword [0x1800a14a8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, rbp
mov rbp, qword [rsp + 0x20]
jmp 0x180019944
mov r13, rbp
lea rcx, [rsp + 0x28]
mov qword [rcx + 8], r13
call fcn.180001f89
lea rcx, [rsp + 0x50]
call fcn.180002126
lea rcx, [rsp + 0x48]
call fcn.1800022ae
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1800744d0
jmp 0x18001986b
lea r8, [rsp + 0x28]
mov rcx, rsi
mov rdx, rax
call fcn.1800746e4
jmp 0x18001986b
Function at 0x18001b171
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x18001c17e
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x18001c1b1
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x18001c1b6
call fcn.180061730
mov ecx, dword [0x1800a152c]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov byte [rcx + 0x130], 1
mov qword [rcx + 0x138], rax
mov qword [rcx + 0x140], rdx
add rsp, 0x38
ret

Function at 0x18001c35a
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rax
mov rax, rcx
add qword [rcx + 0x30], 8
mov qword [rsp], rdx
mov r10, qword [rcx + 0x40]
test r10, r10
je 0x18001c401
mov esi, 8
mov r9d, 8
sub r9, r10
cmp r9, 8
cmovb rsi, r9
xor r11d, r11d
xor r8d, r8d
cmp rsi, 4
mov ecx, edx
cmovae r11, rcx
setae r8b
lea rcx, [r8*4 + 1]
shl r8, 2
cmp rcx, rsi
jae 0x18001c3c8
movzx edx, word [rsp + r8]
lea ecx, [r8*8]
shl rdx, cl
or r11, rdx
or r8, 2
cmp r8, rsi
jae 0x18001c3df
movzx edx, byte [rsp + r8]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r11, rdx
lea ecx, [r10*8]
shl r11, cl
or r11, qword [rax + 0x38]
mov qword [rax + 0x38], r11
cmp r10, 8
jbe 0x18001c406
add r10, 8
jmp 0x18001c52b
xor r9d, r9d
jmp 0x18001c45a
mov r8, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, rdx
rol rdx, 0xd
xor r8, r11
xor rdx, rcx
rol rcx, 0x20
mov r10, qword [rax + 8]
add r10, r8
rol r8, 0x10
xor r8, r10
add rcx, r8
rol r8, 0x15
xor r8, rcx
add r10, rdx
rol rdx, 0x11
mov qword [rax + 0x18], r8
xor rdx, r10
rol r10, 0x20
mov qword [rax + 0x10], rdx
mov qword [rax + 8], r10
xor rcx, r11
mov qword [rax], rcx
mov ecx, 8
sub rcx, r9
mov r10d, ecx
and r10d, 7
and rcx, 0xfffffffffffffff8
cmp r9, rcx
jae 0x18001c4d3
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rsi, qword [rax + 0x18]
mov r11, qword [rax + 0x10]
add rdx, r11
rol r11, 0xd
mov rdi, qword [rsp + r9]
xor r11, rdx
rol rdx, 0x20
xor rsi, rdi
add r8, rsi
rol rsi, 0x10
xor rsi, r8
add rdx, rsi
rol rsi, 0x15
add r8, r11
rol r11, 0x11
xor r11, r8
rol r8, 0x20
xor rsi, rdx
xor rdx, rdi
add r9, 8
cmp r9, rcx
jb 0x18001c481
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], r11
mov qword [rax + 8], r8
mov qword [rax], rdx
cmp r10d, 4
jb 0x18001c4e4
mov r8d, dword [rsp + r9]
mov edx, 4
jmp 0x18001c4e9
xor r8d, r8d
xor edx, edx
mov rcx, rdx
or rcx, 1
cmp rcx, r10
jae 0x18001c50f
lea rcx, [rdx + r9]
movzx r11d, word [rsp + rcx]
lea ecx, [rdx*8]
shl r11, cl
or r8, r11
or rdx, 2
cmp rdx, r10
jae 0x18001c527
add r9, rdx
movzx r9d, byte [rsp + r9]
shl edx, 3
mov ecx, edx
shl r9, cl
or r8, r9
mov qword [rax + 0x38], r8
mov qword [rax + 0x40], r10
add rsp, 8
pop rdi
pop rsi
ret
Function at 0x18001e7ce
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
lea rax, [0x18007c332]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov eax, 0x36a4143c
add rax, qword [0x1800a0010]
rol rax, 6
imul rax, rax, 0xffffffffe1a1579c
rol rax, 1
mov rsi, rcx
and eax, 0xfff9
add rax, rdx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov cl, 1
xor edx, edx
lea r8, [0x18007cb00]
movzx r10d, byte [rdx + r8]
mov r9, rdx
or r9, 1
movzx r9d, byte [r9 + r8]
mov r11, rdx
or r11, 2
movzx r11d, byte [r11 + r8]
mov rdi, rdx
or rdi, 3
movzx edi, byte [rdi + r8]
mov rbx, rdx
or rbx, 4
movzx ebx, byte [rbx + r8]
mov r14, rdx
or r14, 5
movzx r14d, byte [r14 + r8]
mov r15, rdx
or r15, 6
mov r12, rdx
or r12, 7
movzx r15d, byte [r15 + r8]
movzx r12d, byte [r12 + r8]
shl r12, 0x38
shl r15, 0x30
or r15, r12
shl r14, 0x28
shl rbx, 0x20
shl rdi, 0x18
shl r11, 0x10
shl r9, 8
or r9, r10
or r9, r11
or r9, rdi
or r9, rbx
or r9, r14
or r9, r15
xor r9, qword [rax + rdx]
mov qword [rsp + rdx + 0x20], r9
mov edx, 8
test cl, 1
mov ecx, 0
jne 0x18001e829
movaps xmm6, xmmword [rsp + 0x20]
mov ecx, 0x10
call fcn.1800291c5
movups xmmword [rdx], xmm6
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], 0x10
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x180022c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x180022cb0
cmp r11, r10
ja 0x180022d26
cmp r10, rdx
ja 0x180022d38
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x180022cb2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x180022c90
jmp 0x180022d14
ja 0x180022cba
mov r11, r10
cmp rax, r8
jne 0x180022c54
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x180022cf0
mov rdi, r8
sub ecx, edx
jns 0x180022d0b
jmp 0x180022d16
cmp r8, rsi
je 0x180022d47
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x180022d16
xor al, 1
cmp rdi, rsi
jne 0x180022cd0
jmp 0x180022d16
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.b__613____5fN___B__fdkQXn_Y____s_Hh_Q
mov rcx, r11
mov rdx, r10
call fcn.180076570
lea r8, str.b__613____5fN___B__fdkQXn_Y____s_Hh_Q
mov rcx, r10
call fcn.1800762a0
lea rcx, str.b__613____5fN___B__fdkQXn_Y____s_Hh_Q
call fcn.180076750
int3
Function at 0x180028015
Capabilities:
Manipulate console buffer

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov edi, edx
mov ebx, ecx
call fcn.180028c6b
mov rsi, rdx
test rax, rax
je 0x180028041
mov rdi, rsi
mov word [rsp + 0x2c], bx
mov word [rsp + 0x2e], di
test bx, bx
js 0x180028080
test di, di
js 0x1800280c7
mov rcx, qword [rsi + 0x10]
shl edi, 0x10
movzx edx, bx
or edx, edi
call sub.kernel32.dll_SetConsoleCursorPosition
test eax, eax
je 0x180028121
lock dec qword [rsi]
jne 0x18002807c
mov rcx, rsi
call fcn.180028dd1
xor edi, edi
jmp fcn.180028033
lea rax, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
lea rax, [fcn.180026f90]
mov qword [rcx + 8], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_X:
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
mov eax, 1
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rdi, [rsp + 0x40]
jmp fcn.18002810c
lea rax, [rsp + 0x2e]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
lea rax, [fcn.180026f90]
mov qword [rcx + 8], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_Y:
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
mov eax, 1
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rdi, [rsp + 0x58]
lea edi, [rsp + 0x58]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
call rdi
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.18002815a
add byte [rax], al
add bh, bh
xlatb
mov edi, eax
shl rdi, 0x20
shl edi, 0x20
or rdi, 2
lock dec qword [rsi]
jne fcn.180028033
test esi, esp
invalid
invalid
invalid
mov rcx, rsi
call fcn.180028dd1
jmp fcn.180028033
invalid
invalid

Function at 0x1800289c3
Capabilities:
Manipulate console buffer

Disassembly:
sub rsp, 0x28
mov r9d, r8d
movsx eax, cx
movsx r8d, dx
imul r8d, eax
xor ecx, ecx
xor edx, edx
call fcn.1800289f5
test rax, rax
je 0x1800289e8
add rsp, 0x28
ret
xor ecx, ecx
xor edx, edx
add rsp, 0x28
jmp fcn.180028015

Function at 0x180029979
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
movzx r15d, byte [rdx + 0x48]
lea rcx, [rdx + r15]
mov r8d, 0x48
sub r8, r15
xor r14d, r14d
xor edx, edx
call fcn.180073fc0
mov byte [rbx + 0x48], 0
mov byte [rbx + r15], 6
or byte [rbx + 0x47], 0x80
mov rax, qword [rbx + r14*8]
xor qword [rdi + r14*8], rax
lea rax, [r14 + 1]
mov r14, rax
cmp rax, 9
jne 0x1800299b6
mov rdx, qword [rdi + 0xc8]
mov rcx, rdi
call fcn.18003a5f5
xor eax, eax
mov rcx, qword [rdi + rax*8]
mov qword [rsi + rax*8], rcx
inc rax
cmp rax, 8
jne 0x1800299dc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180029a51
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
test r8, r8
je 0x180029b23
mov rbx, r8
mov r14, rdx
mov r15, rcx
movups xmm6, xmmword [0x180089858]
mov r12d, 0xffffffff
xorps xmm7, xmm7
lea r13, [rsp + 0x50]
mov rbp, qword [sym.imp.ntdll.dll_NtReadFile]
mov rdi, qword [sym.imp.kernel32.dll_WaitForSingleObject]
lea rsi, str.failed_to_fill_whole_buffer
movaps xmmword [rsp + 0x50], xmm6
cmp rbx, r12
mov eax, 0xffffffff
cmovb rax, rbx
movups xmmword [rsp + 0x38], xmm7
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
cmp eax, 0x103
jne 0x180029af6
mov rcx, r15
mov edx, 0xffffffff
call rdi
mov eax, dword [rsp + 0x50]
cmp eax, 0xc0000011
je 0x180029b25
cmp eax, 0x103
je 0x180029b98
test eax, eax
js 0x180029b4c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180029b25
cmp rbx, rcx
jb 0x180029b89
add r14, rcx
sub rbx, rcx
jne 0x180029ab0
xor esi, esi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov rdi, rax
shl rdi, 0x20
or rdi, 2
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], 1
mov ecx, eax
call fcn.18005a010
cmp al, 0xb
jne 0x180029b84
lea rcx, [rsp + 0x70]
call fcn.180057ba0
jmp 0x180029b25
mov rsi, rdi
jmp 0x180029b25
lea r8, str._x_B__R_e_____X_____t_Ku6E65__D_wEb_Q_L__Y____a__c__b_q__u99_c___Epu___73
mov rdx, rbx
call fcn.1800761a0
lea rcx, [rsp + 0x60]
mov dword [rcx], 0
add byte [rax], al
Function at 0x1800300ab
Capabilities:
Move file

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov r15, rcx
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.180061340
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1800302ce
mov r12, qword [rbx]
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
lea rdi, [rbp - 0x10]
mov rcx, rdi
mov rdx, r15
mov r8, r14
call fcn.1800594a0
mov rax, qword [rdi]
mov rdi, qword [rdi + 8]
movabs r14, 0x8000000000000000
cmp rax, r14
je 0x1800301c6
mov rcx, qword [rbp]
lea rdx, [rbp - 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rcx
lea rdi, [rbp - 0x28]
mov rcx, rdi
call fcn.18005ead0
mov rax, qword [rdi]
mov rdi, qword [rdi + 8]
cmp rax, r14
je 0x1800301c6
mov qword [rbp + 0x10], rax
mov qword [rbp + 8], rdi
lea rcx, [rbp - 0x10]
mov rdx, rsi
mov r8, rbx
call fcn.1800594a0
mov rax, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
cmp rax, r14
je 0x1800301a7
mov rcx, qword [rbp]
lea rdx, [rbp - 0x40]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rcx
lea rcx, [rbp - 0x28]
call fcn.18005ead0
mov r15, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
cmp r15, r14
jne 0x18003020e
mov r14, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1800301c6
mov rcx, qword [0x1800a14a8]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
test r12, r12
je 0x1800301dd
mov rcx, qword [0x1800a14a8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
test rdi, rdi
je 0x1800301fb
mov rcx, rdi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.18002815a
nop
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov r14, qword [rbp + 8]
mov rcx, r14
mov rdx, rdi
mov r8d, 1
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x180030254
test r15, r15
je 0x18003023f
mov rcx, qword [0x1800a14a8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x10], 0
je 0x180030283
mov rcx, qword [0x1800a14a8]
xor edi, edi
jmp 0x1800301bb
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test r15, r15
je 0x18003027b
mov rcx, qword [0x1800a14a8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, rbx
jmp 0x1800301ab
xor edi, edi
jmp 0x1800301c6
Function at 0x1800310c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
mov ah, 0x24
add byte [rax], 0
add byte [rax], al