joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140220a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test rdx, rdx
je 0x140220b7c
push rbx
sub rsp, 0x60
movzx r8d, word [rdx]
mov r10, rdx
mov rbx, rcx
test r8w, r8w
je 0x140220b77
lea r11, [0x1403316f4]
mov r9, r11
cmp rdx, r11
je 0x140220b77
movzx ecx, r8w
sub rdx, r11
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
cmp cx, ax
jne 0x140220a71
movzx ecx, word [rdx + r9]
test cx, cx
jne 0x140220a50
cmp word [r9], cx
je 0x140220b77
mov qword [rsp + 0x70], rdi
lea rdi, [0x1403307dc]
mov rcx, rdi
cmp r10, rdi
je 0x140220b72
mov r9, r10
movzx edx, r8w
sub r9, rdi
movzx eax, word [rcx]
lea rcx, [rcx + 2]
cmp dx, ax
jne 0x140220ab2
movzx edx, word [r9 + rcx]
test dx, dx
jne 0x140220a93
cmp word [rcx], dx
je 0x140220b72
xor r9b, r9b
xor dl, dl
mov rax, r10
cmp r8w, 0x2d
jne 0x140220ad9
movzx r8d, word [r10 + 2]
lea rax, [r10 + 2]
mov r9b, 1
test r8w, r8w
je 0x140220b7d
jmp 0x140220b11
cmp r8w, 0x2b
jne 0x140220af5
movzx r8d, word [r10 + 2]
lea rax, [r10 + 2]
test r8w, r8w
je 0x140220bb9
jmp 0x140220b11
cmp r8w, 0x2e
jne 0x140220b11
movzx r8d, word [r10 + 2]
lea rax, [r10 + 2]
mov dl, 1
test r8w, r8w
je 0x140220bf5
mov cl, 1
lea rax, [rax + 2]
test cl, cl
je 0x140220b61
cmp r8w, 0x2e
je 0x140220b2d
cmp r8w, 0x30
je 0x140220b37
xor cl, cl
jmp 0x140220b37
test dl, dl
je 0x140220b35
xor cl, cl
jmp 0x140220b37
mov dl, 1
movzx r8d, word [rax]
test r8w, r8w
jne 0x140220b13
test cl, cl
je 0x140220b61
test r9b, r9b
mov rcx, r10
cmove r11, rdi
mov rdx, r11
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
jmp fcn.140163d60
movzx eax, r9b
xor eax, 1
lea eax, [rax*2 - 1]
mov dword [rbx + 0x18], eax
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
mov rcx, rbx
call fcn.14010df60
mov r9d, 0xec
mov qword [rsp + 0x20], rax
mov r8d, 0x174
lea rdx, str.C:Jenkinsworkspacexerces_cAx64CReleaseLVS2019OwindowsRT_runtime_staticT_staticxerces_c_srcxercescutilXMLAbstractDoubleFloat.cpp
lea rcx, [rsp + 0x30]
call fcn.140163280
lea rdx, [0x140439430]
lea rcx, [rsp + 0x30]
call fcn.140298f00
int3
mov rcx, rbx
call fcn.14010df60
mov r9d, 0xec
mov qword [rsp + 0x20], rax
mov r8d, 0x17c
lea rdx, str.C:Jenkinsworkspacexerces_cAx64CReleaseLVS2019OwindowsRT_runtime_staticT_staticxerces_c_srcxercescutilXMLAbstractDoubleFloat.cpp
lea rcx, [rsp + 0x30]
call fcn.140163280
lea rdx, [0x140439430]
lea rcx, [rsp + 0x30]
call fcn.140298f00
int3
mov rcx, rbx
call fcn.14010df60
mov r9d, 0xec
mov qword [rsp + 0x20], rax
mov r8d, 0x185
lea rdx, str.C:Jenkinsworkspacexerces_cAx64CReleaseLVS2019OwindowsRT_runtime_staticT_staticxerces_c_srcxercescutilXMLAbstractDoubleFloat.cpp
lea rcx, [rsp + 0x30]
call fcn.140163280
lea rdx, [0x140439430]
lea rcx, [rsp + 0x30]
call fcn.140298f00
int3
Function at 0x140224cf0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbp, rcx
test rcx, rcx
je 0x140224f10
test r8, r8
je 0x140224f10
mov rax, rdx
not rax
cmp rax, 2
jb 0x140224f10
lea r8, [rdx + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r8
mov rsi, rdx
shr rsi, 1
je 0x140224f10
mov qword [rsp + 0x40], rbx
lea rcx, [rsi + 0xe]
mov qword [rsp + 0x48], rdi
xor edi, edi
mov qword [rsp + 0x50], r12
mov ebx, edi
movabs r12, 0x8888888888888889
mov rax, r12
mul rcx
mov rcx, r9
shr rdx, 3
lea rdx, [rdx + rsi*4]
inc rdx
call fcn.140224f80
dec rsi
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r10d, 1
mov r9, rax
cmp r10, rsi
ja 0x140224e3a
nop dword [rax]
movzx ecx, byte [rdi + rbp]
lea rax, [rdi + rbp]
movzx edx, byte [rdi + rbp + 2]
mov eax, ecx
movzx r8d, byte [rdi + rbp + 1]
and cl, 3
shr rax, 2
add rdi, 3
shl cl, 4
movzx ecx, cl
movzx eax, byte [rax + r11]
mov byte [r9 + rbx], al
mov eax, r8d
shr rax, 4
and r8b, 0xf
or rcx, rax
shl r8b, 2
movzx eax, byte [rcx + r11]
mov byte [r9 + rbx + 1], al
mov eax, edx
shr rax, 6
and edx, 0x3f
movzx ecx, r8b
or rcx, rax
movzx eax, byte [rcx + r11]
mov byte [r9 + rbx + 2], al
movzx eax, byte [rdx + r11]
mov byte [r9 + rbx + 3], al
mov rax, r12
mul r10
add rbx, 4
shr rdx, 3
imul rcx, rdx, 0xf
cmp r10, rcx
jne 0x140224e2e
mov byte [r9 + rbx], 0xa
inc rbx
inc r10
cmp r10, rsi
jbe 0x140224da0
movzx ecx, byte [rdi + rbp]
inc rdi
mov r12, qword [rsp + 0x50]
mov eax, ecx
shr rax, 2
and cl, 3
shl cl, 4
movzx edx, cl
movzx eax, byte [rax + r11]
mov byte [r9 + rbx], al
inc rbx
lea r8, [r9 + rbx]
inc rbx
cmp rdi, r14
jae 0x140224ecd
movzx ecx, byte [rdi + rbp]
inc rdi
mov eax, ecx
and cl, 0xf
shr rax, 4
or rax, rdx
shl cl, 2
movzx edx, cl
movzx eax, byte [rax + r11]
mov byte [r8], al
lea r8, [r9 + rbx]
inc rbx
cmp rdi, r14
jae 0x140224ebd
movzx ecx, byte [rdi + rbp]
mov eax, ecx
shr rax, 6
or rax, rdx
and ecx, 0x3f
movzx eax, byte [rax + r11]
mov byte [r8], al
movzx eax, byte [rcx + r11]
mov byte [rbx + r9], al
jmp 0x140224ee2
movzx eax, byte [rdx + r11]
mov byte [r8], al
mov al, 0x3d
mov byte [rbx + r9], al
jmp 0x140224ee2
movzx ecx, byte [rdx + r11]
mov byte [r8], cl
mov byte [r9 + rbx], 0x3d
inc rbx
mov byte [r9 + rbx], 0x3d
mov rdi, qword [rsp + 0x48]
lea rcx, [rbx + 2]
mov byte [rbx + r9 + 1], 0xa
mov rax, r9
mov rbx, qword [rsp + 0x40]
mov byte [r9 + rcx], 0
mov qword [r15], rcx
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov rbp, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x140272f80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x1402730d4
cmp r9, 4
jb 0x140272fca
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x140272fb0
xor r11d, r11d
test r9, r9
je 0x1402730d4
cmp r9, 0x40
jb 0x1402730b3
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x140272ffc
cmp rdx, r8
jae 0x1402730b3
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x140273011
cmp rdx, r10
jae 0x1402730b3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp], rdi
mov rdi, r9
and rdi, 0xffffffffffffffc0
mov rdx, r10
lea rax, [r8 + 0x10]
sub rdx, r8
mov rbx, rcx
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rdi
jb 0x140273040
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
cmp r11, r9
jae 0x1402730d4
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x1402730c0
add rsp, 8
ret

Function at 0x14028da70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14027bde2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14027bdc5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14027bdb0
Function at 0x1402b20e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1402b1f6f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402b1f6f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402b1f6f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402b1f6f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402b1f6f
cmp dword [rcx + 0x84], 0xe
jbe 0x1402b1f6f
cmp dword [rcx + 0xf8], 0
je 0x1402b1f6f
mov ecx, ebx
call fcn.1402b2010
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1402b1e00
cmp dword [rbp + 0x20], 0
je 0x1402b1fbc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1402b1fc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1402b1f08
Function at 0x1402beaf4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1402be81a
call fcn.1402ad9f0
mov dword [rax], 0x16
call fcn.1402a5e00
jmp 0x1402be965
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1402be965
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1402be965
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1402be849
lock or dword [rcx + 0x14], 0x10
jmp 0x1402be965
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1402be85d
call fcn.1402c0158
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1402be86d
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1402be870
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1402bd810
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1402c1c1c
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1402be953
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1402be901
mov rcx, rbx
call fcn.1402bd810
cmp eax, 0xffffffff
je 0x1402be8ec
mov rcx, rbx
call fcn.1402bd810
cmp eax, 0xfffffffe
je 0x1402be8ec
mov rcx, rbx
call fcn.1402bd810
movsxd rdi, eax
lea r14, [0x140475f80]
mov rcx, rbx
sar rdi, 6
call fcn.1402bd810
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1402be8f3
lea rdx, [0x14045f8c0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1402be901
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1402be925
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1402be925
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1402be925
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1402be943
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1402be94e
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1402be96a
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1402be7e4
Function at 0x180006260
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov edx, dword [rcx]
mov r9d, 0x138
mov r10, rcx
cmp edx, r9d
jne 0x1800062c7
lea r8, [rcx + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180006282
mov edx, dword [r10]
jmp 0x1800063da
cmp edx, 0x270
jb 0x1800063da
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [rcx + 0x9c8]
mov qword [rsp], rdi
mov r9, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx + 0x4e0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x180006300
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x180006352
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
xor edx, edx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], edx
mov eax, edx
xorps xmm0, xmm0
mov rcx, qword [r10 + rax*8 + 8]
lea eax, [rdx + 1]
mov dword [r10], eax
movabs rdx, 0x38eb3ffff6d3
mov rax, rcx
shr rax, 0x1d
and rax, qword [r10 + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x180006440
cvtsi2sd xmm0, rdx
mulsd xmm0, qword [0x1802720f0]
add rsp, 8
ret
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x1802720f0]
add rsp, 8
ret
Function at 0x1800068f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x1802e1308]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x1800069cb
mov rax, qword [rdi]
test rax, rax
je 0x18000697b
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x18000697b
test rsi, rsi
je 0x18000697b
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x18000697b
cmp dword [rsp + 0x40], ebx
je 0x1800069cb
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x18000699a
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x18000699a
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180012b80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x180012be0
mov r8, qword [rcx]
test r8, r8
je 0x180012be0
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180012ba0
test ecx, ecx
je 0x180012bdd
mov r9d, ecx
lea r10, [0x180244030]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x180012bc0
not eax
ret
xor eax, eax
ret

Function at 0x180013540
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18001354d
xor eax, eax
jmp 0x1800135c6
mov r9, qword [rcx]
test r9, r9
jne 0x180013559
xor eax, eax
jmp 0x1800135c6
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x180013566
xor eax, eax
jmp 0x1800135c6
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x180244030]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x180013590
cmp edx, eax
jae 0x1800135bc
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x18001357d
not r8d
mov eax, r8d
jmp 0x1800135c6
add rsp, 0x18
ret

Function at 0x180013c50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1802bfb46], 0
mov rbx, rcx
je 0x180013cc1
mov ecx, dword [0x1802bfc1c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180013cc1
cmp dword [0x1802bfb60], 1
jne 0x180013cc1
lea rcx, [rbx + 0x98]
cmp rcx, 0x40000
jbe 0x180013cc1
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x180013cc1
mov rcx, qword [rcx]
add rcx, 0x1dc
cmp rcx, 0x40000
jbe 0x180013cc1
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x180013cc1
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret

Function at 0x180017e30
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x1802bfa3c], 0
jne 0x180017e90
lea rcx, [rsp + 0x30]
mov byte [0x1802bfa3c], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x1802bfc48], xmm0
movss dword [0x1802bfa9c], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x1802bfa9c]
divss xmm0, dword [0x1802bfc48]
add rsp, 0x28
ret
Function at 0x180019b90
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1802bfb00]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.1800146a0
mov rbx, rax
test rax, rax
je 0x180019db2
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180013aa0
cmp dword [rsp + 0x20], 0
je 0x180019db2
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180019db2
cmp eax, 0xfffffffe
jne 0x180019c76
mov rcx, rbx
call fcn.180013cd0
cmp byte [0x1802bfaf6], 0
je 0x180019db2
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019db2
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019db2
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x180019c49
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x180019c49
mov byte [r9], 1
lea rdx, [r8 + 0x344]
cmp rdx, 0x40000
jbe 0x180019db2
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180019db2
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x180019cde
mov rcx, rbx
call fcn.180013cd0
cmp byte [0x1802bfb32], 0
je 0x180019cd1
lea rdx, [rbx + 0x98]
cmp rdx, 0x40000
jbe 0x180019cd1
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019cd1
mov rdx, qword [rdx]
add rdx, 0x1dc
cmp rdx, 0x40000
jbe 0x180019cd1
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180019cd1
mov dword [rdx], 0x3c23d70a
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.180013c50
cmp eax, 2
jne 0x180019d37
mov rcx, rbx
call fcn.180013cd0
mov rcx, rbx
call fcn.180013c50
cmp byte [0x1802bfaf5], 0
je 0x180019db2
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019db2
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019db2
mov rdx, qword [rbx]
add rdx, 0x270
jmp 0x180019d9d
cmp eax, 0xffffffff
jne 0x180019db2
mov rcx, rbx
call fcn.180013cd0
cmp byte [0x1802bfb38], 0
je 0x180019db2
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019db2
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019db2
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x180019d96
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x180019d96
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x350]
cmp rdx, 0x40000
jbe 0x180019db2
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x180019db2
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x18001c730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18001c7a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18001c7a8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x18001c795
nop
cmp rbx, rcx
jae 0x18001c7a8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18001c780
cmp rbx, rcx
jae 0x18001c7a8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18001c7aa
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003e2e0
Capabilities:
Execute command
Hash data with crc32

Disassembly:
sub rsp, 0x48
cmp dword [0x1802c0d98], 4
jne 0x18003e532
mov r10, qword [0x1802bfc78]
lea rdx, [0x18026fb05]
mov qword [rsp + 0x40], rbx
lea r11, [0x180267e50]
mov dword [rsp + 0x50], 0xc0c00000
mov r8b, 0x4d
mov dword [rsp + 0x54], 0x43d20000
mov rax, qword [r10 + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [r10 + 0x3ea0]
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r9d, dword [rax + rcx*4 - 4]
not r9d
mov ebx, r9d
nop dword [rax]
cmp r8b, 0x23
jne 0x18003e363
cmp byte [rdx], r8b
jne 0x18003e363
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r11 + rcx*4]
test r8b, r8b
jne 0x18003e350
not ebx
cmp dword [r10 + 0x3ed4], ebx
jne 0x18003e39e
lea r8, str.Main
mov edx, 0xb
mov ecx, ebx
call fcn.18005b5d0
lea r8, [rsp + 0x50]
mov edx, ebx
lea rcx, str.Main
call fcn.18003a840
xor eax, eax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x38], rax
lea r8, [0x180286290]
mov qword [rsp + 0x30], rax
lea rcx, [0x18026c6ef]
mov dword [rsp + 0x28], eax
mov r9d, 0x100
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.18006ddd0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Save
call fcn.180068540
mov rbx, qword [rsp + 0x40]
test al, al
je 0x18003e417
call fcn.18002ced0
movss xmm1, dword [0x180272818]
call fcn.180054380
lea rcx, str.Load
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
call fcn.180068540
test al, al
je 0x18003e447
call fcn.18002d4d0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Open_Folder
call fcn.180068540
test al, al
je 0x18003e472
lea rcx, str.start_C:NightaWare
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Discord_Server
call fcn.180068540
test al, al
je 0x18003e49d
lea rcx, str.start_https:__discord.gg_QDC57S7xZR
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Unload_Cheat
call fcn.180068540
test al, al
je 0x18003e4c2
mov byte [0x1802bfb69], 1
mov r8d, 0x260
lea rdx, [0x1802beef0]
lea rcx, str.UI_color
call fcn.180071320
test al, al
je 0x18003e529
movss xmm2, dword [0x180272770]
movss xmm0, dword [0x1802beef0]
movss xmm1, dword [0x1802beef8]
mulss xmm0, xmm2
mulss xmm1, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [0x1802beef4]
mov dword [0x1802860a8], eax
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [0x1802860ac], eax
cvttss2si eax, xmm1
mov dword [0x1802860b0], eax
add rsp, 0x48
jmp fcn.18004de10
add rsp, 0x48
ret

Function at 0x18003f960
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x18003f970
xor al, al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x18003f720]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003f99d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret