joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180084eb4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x1802e2f50]
lea rdx, [rbp - 0x28]
mov rdi, qword [0x1802e28f0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x10]
sub eax, dword [rbp - 0x28]
movd xmm1, eax
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x10]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1802e2f58]
cvtsi2ss xmm0, qword [0x1802e2f60]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1802e2f58], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x14b], 0
mov rbx, qword [0x1802e28f0]
mov byte [rdi + 0x14a], al
cmp byte [rbx + 0x3a3], 0
je 0x180084fda
cvttss2si eax, dword [rbx + 0x130]
mov rcx, qword [0x1802e2f50]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x18], eax
cvttss2si eax, dword [rbx + 0x134]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx + 0x130], eax
mov dword [rbx + 0x134], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180085052
mov rdx, qword [0x1802e2f50]
cmp rax, rdx
je 0x18008500f
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x180085052
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x180085052
mov rcx, qword [0x1802e2f50]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180085052
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x130], xmm0
movss dword [rbx + 0x134], xmm1
cmp byte [rdi + 0xc8], 0
je 0x180085060
or eax, 0xffffffff
jmp 0x18008506d
mov rax, qword [0x1802e28f0]
mov eax, dword [rax + 0x1f98]
cmp dword [0x1802dbd98], eax
je 0x180085080
mov dword [0x1802dbd98], eax
call fcn.180084e58
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801992f0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x1800866ec
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x180086746
mov r11b, 0x23
lea rdi, [0x1801e0b90]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180086730
cmp rdx, 2
jb 0x180086730
cmp byte [r10], r11b
jne 0x180086730
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18008670e
jmp 0x180086787
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180086787
mov r11b, 0x23
lea rdi, [0x1801e0b90]
cmp dl, r11b
jne 0x18008676b
cmp byte [r10], r11b
jne 0x18008676b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x180086759
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1800868a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800868c5
and qword [r8], 0
lea rdx, [0x18028b1ac]
call fcn.180086798
mov rbx, rax
test rax, rax
je 0x18008699a
mov rcx, rax
call fcn.1801a663c
mov esi, eax
cmp eax, 0xffffffff
je 0x180086992
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1801a5254
test eax, eax
jne 0x180086992
mov rcx, rbx
call fcn.1801a663c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180086992
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1801a5254
test eax, eax
jne 0x180086992
cmp rdi, 0xffffffffffffffff
je 0x180086992
mov rax, qword [0x1802e28f0]
test rax, rax
je 0x18008693f
inc dword [rax + 0x3bc]
mov rdx, qword [0x1802e28e8]
mov rcx, rdi
call fcn.180085fec
mov rsi, rax
test rax, rax
je 0x180086992
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1801a57dc
mov rcx, rbx
cmp rax, rdi
je 0x180086980
call fcn.1801a5f08
mov rcx, rsi
call fcn.180088e18
jmp 0x18008699a
call fcn.1801a5f08
test r14, r14
je 0x18008698d
mov qword [r14], rdi
mov rax, rsi
jmp 0x18008699c
mov rcx, rbx
call fcn.1801a5f08
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

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

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc0]
mov r9d, 4
mov rax, qword [rcx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1801e0b90]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x1800887ad
not r8d
mov ecx, r8d
call fcn.180088a58
mov eax, r8d
add rsp, 0x28
ret
Function at 0x1800887e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0x30], rax
movss xmm0, dword [rdx]
mov r8, rcx
subss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rdx + 8]
mov r9d, 0x10
subss xmm1, dword [rcx + 0x10]
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 4]
subss xmm0, dword [rcx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm0, dword [rcx + 0x14]
movsxd rcx, dword [rcx + 0xc0]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [r8 + 0xc8]
lea r8, [rsp + 0x20]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1801e0b90]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x180088860
not edx
mov ecx, edx
call fcn.180088a58
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801992f0
add rsp, 0x48
ret
Function at 0x18009072c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1802e28f0]
mov r10d, 8
mov qword [rsp + 0x30], rcx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1801e0b90]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x180090764
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.180096568
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1802e28f0]
mov r10d, 4
mov dword [rsp + 0x30], ecx
mov r9, qword [rax + 0x1a80]
movsxd rcx, dword [r9 + 0xc0]
mov rax, qword [r9 + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1801e0b90]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800907db
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc0]
mov dword [rsp + 0x30], r8d
call fcn.180096568
add rsp, 0x28
ret

Function at 0x180095618
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x1802e28f0]
cmp byte [rbx + 0x3048], 0
je 0x1800956d8
cmp qword [rbx + 0x3050], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3058]
je 0x1800956ca
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x180095683
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180096edc
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.180087218
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3050]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1802e28d3]
movsxd r8, eax
mov rax, qword [rbx + 0x3060]
test rax, rax
cmovne rcx, rax
call fcn.1801a54f8
jmp 0x1800956d8
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.180087218
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x180095cec
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1802e28f0]
mov rbx, rcx
and dword [rax + 0x3014], 0
test rcx, rcx
je 0x180095d53
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.180095d60
lea rdx, [0x18028b1b0]
mov rcx, rbx
mov rdi, rax
call fcn.180086798
mov rbx, rax
test rax, rax
je 0x180095d53
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.1801a54f8
mov rcx, rbx
call fcn.1801a5f08
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18019203c
Capabilities:
Set console window title

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x1802b0070]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp byte [0x1802e5e51], 0
je 0x180192065
xor al, al
jmp 0x18019226f
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802e2a68], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802e2a58], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802e2a48], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x1801920b3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802e2a70], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802e2a60], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1802e2a50], rax
mov edx, 3
mov rcx, qword [0x1802e2a70]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edx, 0xe1
mov rcx, qword [0x1802e2a50]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
movabs rax, 0x794289a743076574
mov qword [rsp + 0x20], rax
movabs rax, 0x4dfd879e7063d22e
mov qword [rsp + 0x28], rax
movabs rax, 0xf846ba506daafb5a
mov qword [rsp + 0x30], rax
movabs rax, 0xe8a70d6f90c88eb3
mov qword [rsp + 0x38], rax
movabs rax, 0xb51320a306e4cca0
mov qword [rsp + 0x40], rax
movabs rax, 0x8929e5f8bc54d109
mov qword [rsp + 0x48], rax
movabs rax, 0x4dc3a8b60edb7851
mov qword [rsp + 0x50], rax
movabs rax, 0x564d1f056e26abda
mov qword [rsp + 0x58], rax
movabs rax, 0x162bfbc23372162f
mov qword [rsp + 0x60], rax
movabs rax, 0x38afa7c30917bb5c
mov qword [rsp + 0x68], rax
movabs rax, 0xd8669a704d8a8f29
mov qword [rsp + 0x70], rax
movabs rax, 0xc8d32a01ffacae9e
mov qword [rsp + 0x78], rax
movabs rax, 0xdd6700c6758ba0c3
mov qword [rsp + 0x80], rax
movabs rax, 0xe65a8b97df74a260
mov qword [rsp + 0x88], rax
movabs rax, 0x6daec7c468fb1d3d
mov qword [rsp + 0x90], rax
movabs rax, 0x564d1f056e26ab82
mov qword [rsp + 0x98], rax
movdqa xmm0, xmmword [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [rsp + 0x30]
pxor xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov byte [0x1802e5e51], 1
mov al, 1
jmp 0x18019226f
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1801992f0
add rsp, 0xb8
ret
Function at 0x180193bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180193dd0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180193cb7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180193c14
mov rax, qword [0x1802b0008]
cmp qword [rsp + 0x20], rax
ja 0x180193c14
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180193bd6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18019c330
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180193c43
jmp 0x180193cb7
cmp dword [rsp + 0x50], 0x10000
jne 0x180193c9a
cmp qword [rsp + 0x48], 0x10000
jb 0x180193c9a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180193c88
mov rax, qword [rsp + 0x28]
jmp 0x180193cb9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180193cb2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180193dd0
mov qword [rsp + 0x20], rax
jmp 0x180193bd6
xor eax, eax
add rsp, 0x68
ret

Function at 0x180193cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180193e10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180193dc3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180193d1b
mov rax, qword [0x1802b0008]
cmp qword [rsp + 0x20], rax
ja 0x180193d1b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180193cdd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18019c330
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180193d4a
jmp 0x180193dc3
cmp dword [rsp + 0x50], 0x10000
jne 0x180193da1
cmp qword [rsp + 0x48], 0x10000
jb 0x180193da1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180193d8f
mov rax, qword [rsp + 0x28]
jmp 0x180193dc5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180193dbe
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180193e10
mov qword [rsp + 0x20], rax
jmp 0x180193cdd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180193e60
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1801943f0
mov qword [rsp + 0x28], 0
cmp qword [0x1802e1008], 0
jne 0x180193ea8
cmp qword [0x1802e1000], 0
je 0x180193ea8
mov rax, qword [0x1802e1000]
mov qword [0x1802e1008], rax
cmp qword [0x1802e1008], 0
je 0x180193f4e
mov rax, qword [0x1802e1008]
cmp qword [rax + 0x10], 0
je 0x180193f4e
mov rax, qword [0x1802e1008]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180193f4e
mov rax, qword [0x1802e1008]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180193f4e
mov rax, qword [0x1802e1008]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180193f14
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180193f1b
xor eax, eax
jmp 0x1801940c9
mov rax, qword [0x1802e1008]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.18019c330
mov rax, qword [rsp + 0x28]
jmp 0x1801940c9
mov rax, qword [0x1802e1000]
mov qword [0x1802e1008], rax
jmp 0x180193f70
mov rax, qword [0x1802e1008]
mov rax, qword [rax + 8]
mov qword [0x1802e1008], rax
cmp qword [0x1802e1008], 0
je 0x180193fbd
cmp qword [0x1802e1008], 0
je 0x180193fbb
mov rax, qword [0x1802e1008]
cmp qword [rax + 0x10], 0
je 0x180193fbb
mov rax, qword [0x1802e1008]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180193fbb
mov rax, qword [0x1802e1008]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180193fbb
jmp 0x180193eec
jmp 0x180193f5e
mov rcx, qword [rsp + 0x60]
call fcn.180196270
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1801940d0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1801940c7
mov rax, qword [rsp + 0x48]
mov qword [0x1802e1008], rax
mov rax, qword [0x1802e1008]
mov dword [rax], 0x52727464
mov rax, qword [0x1802e1008]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802e1008]
mov rcx, qword [0x1802e1000]
mov qword [rax + 8], rcx
mov rax, qword [0x1802e1008]
mov qword [0x1802e1000], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802e1008]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180194078
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1801940b2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18019406e
mov rax, qword [0x1802e1008]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180193eec
xor eax, eax
add rsp, 0x58
ret
Function at 0x1801b5f88
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1801b5fa8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801a4660
or eax, 0xffffffff
jmp 0x1801b5faa
xor eax, eax
add rsp, 0x28
ret
Function at 0x140011dc0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140062100]
xor rax, rsp
mov qword [rbp + 0x20], rax
movabs rax, 0x7cdaf7e9d8038504
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
movabs rcx, 0xbc9f4dcb69650a02
mov qword [rbp - 0x68], rcx
movabs rax, 0xbf0aa30fa277a54d
mov qword [rsp + 0x48], rax
movabs rdi, 0x3f86baac8c50dc57
movdqa xmm0, xmmword [rsp + 0x40]
movabs rax, 0x1cc177822a6b5377
mov qword [rsp + 0x50], rax
movabs rbx, 0xd049d761c705d738
movabs rax, 0xb3fd73e7f52b4046
mov qword [rbp + 0x18], rcx
mov qword [rsp + 0x58], rax
mov r9d, 2
movdqa xmm1, xmmword [rsp + 0x50]
movabs rax, 0x21fd6579c69606d7
mov qword [rsp + 0x60], rax
xor r8d, r8d
movabs rax, 0x4ab4875961995819
mov qword [rbp - 0x40], rdi
mov qword [rsp + 0x68], rax
mov rcx, 0xffffffff80000002
movabs rax, 0x200b896d1eb877a3
mov qword [rbp - 0x38], rbx
xorps xmm0, xmmword [rbp - 0x40]
mov qword [rsp + 0x70], rax
movabs rax, 0x653076c1c3a98fc7
mov qword [rsp + 0x78], rax
movabs rax, 0x6bc5448b04be27ed
mov qword [rbp - 0x80], rax
movabs rax, 0xadd1b65c19457c04
mov qword [rbp - 0x78], rax
movabs rax, 0x13f08a72c0b4a444
mov qword [rbp - 0x70], rax
movabs rax, 0x68a424ee45192719
mov qword [rbp - 0x30], rax
movabs rax, 0xdf9201939b44031a
mov qword [rbp - 0x28], rax
movabs rax, 0x66980610b0f3428b
xorps xmm1, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0x2fd7d40505eb396c
mov qword [rbp - 0x18], rax
movabs rax, 0x6857fa0277ca16cd
mov qword [rbp - 0x10], rax
movabs rax, 0xa431fb7b1ccffbe
mov qword [rbp - 8], rax
movabs rax, 0xea636e462d0629f
mov qword [rbp], rax
movabs rax, 0xd9bfff397d2a3f60
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp - 0x10]
mov qword [rbp + 8], rax
movabs rax, 0x13f0f306a9c6c321
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [rbp - 0x70]
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x60]
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140012019
mov rcx, qword [rbp - 0x60]
lea rdx, [rsp + 0x30]
mov dword [rbp - 0x58], eax
mov r9d, 4
mov qword [rsp + 0x38], rbx
movabs rax, 0x3fe2dfc0ee31b212
mov qword [rsp + 0x30], rax
xor r8d, r8d
movdqa xmm0, xmmword [rsp + 0x30]
lea rax, [rbp - 0x58]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
xorps xmm0, xmmword [rbp - 0x50]
mov dword [rsp + 0x28], 4
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140022360
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140012350
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140062100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, rcx
lea r9, [rsp + 0x20]
xor r14d, r14d
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov edi, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400123dd
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140012392
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
test eax, eax
js 0x1400124ac
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x1400124ac
nop dword [rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rsi, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x140012435
lea rcx, [rsp + 0x28]
call fcn.1400102a0
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
mov rdx, rbp
cmova rcx, qword [rsp + 0x28]
call fcn.14002caa0
test eax, eax
je 0x1400124e2
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400124a2
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001249d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012535
call fcn.1400223bc
inc ebx
cmp ebx, dword [rdi]
jb 0x140012400
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140022360
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rbx, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140012530
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001252b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012535
call fcn.1400223bc
mov rax, rbx
jmp 0x1400124bf
call fcn.1400282c4
int3