joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004cd40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 0xc8
mov byte [0x18012f738], 0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, qword [0x18012f7e8]
xor esi, esi
test r8, r8
je 0x18004cd86
mov rcx, qword [0x18012f6f0]
lea edx, [rsi - 4]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x18012f7e8], rsi
xor edx, edx
xor ecx, ecx
call fcn.18004b110
call fcn.18004af10
xor eax, eax
mov rbx, rsi
mov edi, 1
lock cmpxchg dword [0x18012f448], edi
je 0x18004cdc9
cmp rbx, 0x20
jae 0x18004cdb2
xor ecx, ecx
jmp 0x18004cdb4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18012f448], edi
jne 0x18004cda8
cmp qword [0x18012f450], rsi
je 0x18004ce41
xor ecx, ecx
call fcn.18004aac0
test eax, eax
jne 0x18004ce41
mov rcx, qword [0x18012fc50]
mov qword [0x18012fc50], rsi
test rcx, rcx
je 0x18004ce09
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x18004cdf0
mov r8, qword [0x18012fc40]
xor edx, edx
mov rcx, qword [0x18012f450]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18012f450]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x18012f450], rsi
mov qword [0x18012fc40], rsi
mov qword [0x18012fc48], rsi
mov eax, esi
xchg dword [0x18012f448], eax
call fcn.1800600a0
mov r9d, 0x30
lea r8, [0x180116cf8]
lea rdx, str.Napoleon_wymaga_aktualizacji
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor r9d, r9d
mov dword [rsp + 0x28], edi
lea r8, str.https:__www.cshacked.pl_napoleon_chams_cs2_hack_t185234_
mov qword [rsp + 0x20], rsi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x180050690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x18012f730]
mov rbx, rdx
movzx eax, word [rcx + 0x50]
cmp eax, 0xffff
je 0x180050736
mov rdi, qword [rcx + 0x40]
movabs rbp, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
mov r11d, eax
add r11, r11
mov r10, qword [rdi + r11*8]
test r10, r10
je 0x180050729
mov r9, qword [r10]
mov r8, rbp
mov rax, r9
cmp byte [r9], 0
je 0x1800506f8
nop
inc rax
cmp byte [rax], 0
jne 0x1800506f0
mov edx, 0
sub rax, r9
je 0x180050724
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r9 + rdx]
inc rdx
xor r8, rcx
imul r8, rsi
cmp rdx, rax
jb 0x180050710
cmp r8, rbx
je 0x18005074d
movzx eax, word [rdi + r11*8 + 0xa]
cmp eax, 0xffff
jne 0x1800506d1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
mov rax, r10
jmp 0x180050738
Function at 0x1800749a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1800635b0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1800749f6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x180074a4d
mov ebp, 0x4b0000
jmp 0x180074a5b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.180065af0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x180074a71
mov eax, r12d
jmp 0x180074a7a
mov edx, edi
mov ecx, ebp
call fcn.180065af0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x180074a96
shl esi, 0x10
mov ecx, esi
jmp 0x180074b85
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x180074af4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1800635b0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x180074ae4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1800659c0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1800635b0
add ebx, eax
jmp 0x180074b8e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x180074b01
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x180074b40
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1800635b0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x180074b45
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1800659c0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1800635b0
add ebx, eax
jmp 0x180074b8e
cmp eax, r12d
jge 0x180074b7e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1800635b0
sub ebp, eax
sub r15d, esi
je 0x180074b7e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1800659c0
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1800635b0
add ebx, eax
jmp 0x180074b8e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1800635b0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.1800635b0
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800ad390
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x1800ad4db
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.1800ad850
test al, al
jne 0x1800ad576
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1800ad46b
cmp edx, dword [rbx + 0x60]
jl 0x1800ad46b
cmp edx, dword [rbx + 0x64]
jg 0x1800ad46b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800ad46b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1800ad46b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800ad48e
test byte [r9 + 0x18], 8
je 0x1800ad48e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800ad49f
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1800ae210
test al, al
jne 0x1800ad576
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800ad4c2
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x1800ad3f4
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1800ad57a
test rdx, rdx
je 0x1800ad57a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1800ad518
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1800ad51b
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1800ad536
dec r11d
add r11d, eax
jmp 0x1800ad54d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1800ae4e0
test al, al
jne 0x1800ad576
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1800ae4e0
test al, al
jne 0x1800ad576
mov rdx, qword [rsi]
add di, bp
jne 0x1800ad500
jmp 0x1800ad57e
mov al, 1
jmp 0x1800ad589
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
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
Function at 0x1800c9764
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800c53c0
sub rsp, rax
mov rax, qword [0x18012d040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800d5e40
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800c97b3
mov rax, rbp
jmp 0x1800c98bb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x12ea90]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800d60d8
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x12ea90]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800c98b7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800c98b7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800d60d8
test rax, rax
js 0x1800c98b7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800c98b7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800c98a9
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800c98a9
cmp byte [rcx], 0xd
jne 0x1800c988f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800c989e
cmp byte [rcx + 1], 0xa
jne 0x1800c989e
inc rcx
jmp 0x1800c989e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x12d350]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800c9871
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800c98bb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800c4b70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800d694c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x18012ea90]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1800d69aa
cmp word [rdx], r12w
jne 0x1800d69aa
or byte [rax + r8*8 + 0x38], cl
jmp 0x1800d69b0
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1800d6b0b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1800d6ae6
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1800d69e9
mov rcx, r9
jmp 0x1800d6a0c
cmp r9, rdx
jae 0x1800d6a23
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1800d69cd
jmp 0x1800d6b0b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800d6ae0
cmp dword [rsp + 0x80], edi
je 0x1800d6ae0
mov rdx, r14
lea r11, [0x18012ea90]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1800d6ab9
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1800d6a8c
mov word [rbx], r12w
jmp 0x1800d6b07
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1800d6a95
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1800d6b07
cmp word [rsp + 0x70], r12w
jne 0x1800d6ac6
cmp rbx, rsi
je 0x1800d6a86
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1800d60e0
cmp word [rsp + 0x70], r12w
je 0x1800d6b0b
mov word [rbx], r13w
jmp 0x1800d6b07
lea r11, [0x18012ea90]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1800d6b03
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1800d6b0b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800d9b48
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 rsi, rcx
test rcx, rcx
jne 0x1800d9b7a
call fcn.1800d76a8
mov dword [rax], 0x16
call fcn.1800d1730
jmp 0x1800d9c99
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800d9c99
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1800d9c99
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1800d9ba9
lock or dword [rcx + 0x14], 0x10
jmp 0x1800d9c99
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1800d9bbd
call fcn.1800dfe88
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1800d5e40
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1800d6df8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1800d9c87
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1800d9c52
mov rcx, rsi
call fcn.1800d5e40
cmp eax, edi
je 0x1800d9c3d
mov rcx, rsi
call fcn.1800d5e40
cmp eax, 0xfffffffe
je 0x1800d9c3d
mov rcx, rsi
call fcn.1800d5e40
movsxd rbx, eax
lea r14, [0x18012ea90]
mov rcx, rsi
sar rbx, 6
call fcn.1800d5e40
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1800d9c44
lea rdx, [0x18012d450]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800d9c52
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1800d9c76
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1800d9c76
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1800d9c76
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1800d9c9c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1800de114
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800de144
xor eax, eax
jmp 0x1800de207
mov rbp, rbx
cmp word [rax], si
je 0x1800de169
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800de150
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800de14c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800de064
movsxd r14, eax
test eax, eax
jne 0x1800de1a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800de13d
mov rcx, r14
call fcn.1800da6e8
mov rdi, rax
test rax, rax
jne 0x1800de1c0
xor ecx, ecx
call fcn.1800d7740
jmp 0x1800de19c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800de064
test eax, eax
jne 0x1800de1f1
mov rcx, rdi
call fcn.1800d7740
jmp 0x1800de1fb
xor ecx, ecx
call fcn.1800d7740
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800de224
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1800de2ab
mov rsi, rbx
cmp word [rax], bp
je 0x1800de26a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1800de254
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1800de250
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1800da6e8
mov rdi, rax
test rax, rax
je 0x1800de298
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1800ea8a0
mov rbp, rdi
xor ecx, ecx
call fcn.1800d7740
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800e3644
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800d60e0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800d60e0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800e3794
cmp rax, 0xffffffffffffffff
je 0x1800e3794
xor edi, edi
test rbp, rbp
jle 0x1800e373f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800d76c8
mov rbx, rax
test rax, rax
jne 0x1800e36cc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800e3735
mov edx, 0x8000
mov ecx, r14d
call fcn.1800e34cc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800d89b0
cmp eax, 0xffffffff
je 0x1800e3715
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800e36dc
mov edx, r15d
mov ecx, r14d
call fcn.1800e34cc
jmp 0x1800e3735
cmp byte [rsi + 0x38], dil
je 0x1800e372c
cmp dword [rsi + 0x34], 5
jne 0x1800e372c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800e3735
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800d7740
jmp 0x1800e37a8
jns 0x1800e37a8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800d60e0
cmp rax, 0xffffffffffffffff
jne 0x1800e3760
cmp byte [rsi + 0x30], dil
je 0x1800e37a8
mov edi, dword [rsi + 0x2c]
jmp 0x1800e37a8
mov ecx, r14d
call fcn.1800df154
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800e37a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800e37a8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800e37a1
mov eax, dword [rsi + 0x2c]
jmp 0x1800e37a6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800d60e0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800e4ee0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800e4f08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800e4f08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000e380
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1402063c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x1402caf0b]
test eax, eax
jne 0x14000e3bb
mov rcx, qword [rsp + 0xa0]
call fcn.14000e5b0
jmp 0x14000e594
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1402cb250], eax
jle 0x14000e407
lea rcx, [0x1402cb250]
call fcn.140197fd0
cmp dword [0x1402cb250], 0xffffffff
jne 0x14000e407
lea rcx, [0x1402caf30]
call fcn.14000a320
nop
lea rcx, [0x1402cb250]
call fcn.140197f64
mov rax, qword [rsp + 0xa0]
mov ecx, dword [reloc.WS2_32.dll_accept]
cmp dword [rax + 0xc0], ecx
jbe 0x14000e56d
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x38], rax
movss xmm2, dword [0x1401ec068]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14000db00
mov r8, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x1402caf30]
call fcn.14000dab0
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000da60
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000dab0
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x1401ebcc4]
movss xmm1, dword [rsp + 0x7c]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1402cb630]
cvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x1401ebcc4]
movss xmm1, dword [rsp + 0x78]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1402cb634]
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14000e537
mov eax, dword [rsp + 0x30]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x40], rax
movss xmm2, dword [0x1401ec068]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14000db00
mov rax, qword [rax]
mov qword [0x1402caf30], rax
jmp 0x14000e587
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.14000d780
mov rax, qword [rax]
mov qword [0x1402caf30], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000e5b0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140197e90
add rsp, 0x98
ret