joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2980
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b2996
mov al, 1
jmp 0x1400b29f6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b29a7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b29f4
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400b3394
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b29f4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b29f4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b29f4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b29f6
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400b34a4
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.1400ab060
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400ab060
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400b35f4
cmp rax, 0xffffffffffffffff
je 0x1400b35f4
xor edi, edi
test rbp, rbp
jle 0x1400b359f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400af460
mov rbx, rax
test rax, rax
jne 0x1400b352c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400b3595
mov edx, 0x8000
mov ecx, r14d
call fcn.1400ac720
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.1400adea0
cmp eax, 0xffffffff
je 0x1400b3575
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400b353c
mov edx, r15d
mov ecx, r14d
call fcn.1400ac720
jmp 0x1400b3595
cmp byte [rsi + 0x38], dil
je 0x1400b358c
cmp dword [rsi + 0x34], 5
jne 0x1400b358c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400b3595
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400af4d8
jmp 0x1400b3608
jns 0x1400b3608
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400ab060
cmp rax, 0xffffffffffffffff
jne 0x1400b35c0
cmp byte [rsi + 0x30], dil
je 0x1400b3608
mov edi, dword [rsi + 0x2c]
jmp 0x1400b3608
mov ecx, r14d
call fcn.1400b3394
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400b3608
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400b3608
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400b3601
mov eax, dword [rsi + 0x2c]
jmp 0x1400b3606
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400ab060
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 0x1400b6e84
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 0x1400b6eb4
xor eax, eax
jmp 0x1400b6f77
mov rbp, rbx
cmp word [rax], si
je 0x1400b6ed9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b6ec0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b6ebc
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.1400b3e40
movsxd r14, eax
test eax, eax
jne 0x1400b6f17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b6ead
mov rcx, r14
call fcn.1400b00bc
mov rdi, rax
test rax, rax
jne 0x1400b6f30
xor ecx, ecx
call fcn.1400af4d8
jmp 0x1400b6f0c
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.1400b3e40
test eax, eax
jne 0x1400b6f61
mov rcx, rdi
call fcn.1400af4d8
jmp 0x1400b6f6b
xor ecx, ecx
call fcn.1400af4d8
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 0x1400b6f94
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 0x1400b701b
mov rsi, rbx
cmp word [rax], bp
je 0x1400b6fda
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b6fc4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b6fc0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b00bc
mov rdi, rax
test rax, rax
je 0x1400b7008
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400be6e0
mov rbp, rdi
xor ecx, ecx
call fcn.1400af4d8
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 0x1400b871c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b873c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a020c
or eax, 0xffffffff
jmp 0x1400b873e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400bb088
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400ea700]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400bb0d2
call fcn.1400a0278
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400a0298
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14009d400
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140094cb0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400bb0dd
lea eax, [rbx + 1]
jmp 0x1400bb0bf
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400bb0bd
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400bb0bf
Function at 0x1400bc524
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400a02b8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bc5ae
cmp byte [rbp - 0x21], r15b
je 0x1400bc5a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400bc5e4
call fcn.1400af780
test eax, eax
jne 0x1400bc5d0
cmp byte [rbp - 0x21], r15b
je 0x1400bc5c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400bc5e4
cmp byte [rbp - 0x21], r15b
je 0x1400bc5e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400a8b08
test eax, eax
jne 0x1400bc684
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400a02b8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bc623
cmp byte [rbp - 0x21], r15b
je 0x1400bc658
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bc658
call fcn.1400af780
test eax, eax
jne 0x1400bc644
cmp byte [rbp - 0x21], r15b
je 0x1400bc63d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bc658
cmp byte [rbp - 0x21], r15b
je 0x1400bc655
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400a8b08
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bc684
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400bc687
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bc695
mov rcx, rdi
call fcn.1400af4d8
cmp byte [rbp + 0x3f], r15b
je 0x1400bc6a4
mov rcx, qword [rbp + 0x27]
call fcn.1400af4d8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x183503070
Capabilities:
Encode data using xor

Disassembly:
jmp 0x18350307a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1835030a3
pop rbp
sub rbp, 0x33
sub rbp, 0x3503070
cmp edx, 1
je 0x1835030e6
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x1835030f6
mov rax, 0x3503070
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0xffffffffd6cdde68
xor byte [rax], dl
inc rax
dec rcx
jne 0x183503115
jmp 0x18350312c
and cl, ah
and ebx, 0x686854e1
push 0x60a9e920
imul ebp, dword [rax + 0x68], 0x20816920
scasd eax, dword [rdi]
test al, 0x6d
push 0xffffffffaf206868
stosb byte [rdi], al
push 0xffffffff9f206868
mov ah, byte [rax]
imul ebp, dword [rcx + 0x6864e9e3], 0x69206868
cmp byte [rax], 0x38
push 0xffffffff80692068
cmp byte [rax], bh
and al, dl
fdiv qword [rdx]
cld
push 0x68686868
and cl, dl
sar byte [rbp + 0x68686ad3], cl
push 0xffffffff81692068
and dl, dl
cmpsd dword [rsi], dword [rdi]
lodsd eax, dword [rsi]
xchg esp, eax
or byte [rax + 0x68], ch
push 0x686d8068
push 0x687e8168
push 0x6a80a968
pop rcx
jns 0x1835031af
and cl, ch
test eax, 0x6868686c
and byte [rdi - 0x79129860], dl
xchg edi, eax
xchg edi, eax
xchg edi, eax
stosd dword [rdi], eax
xor byte [rdx], dh
cmp bh, byte [rax]
and al, dl
fdiv qword [rdx]
cld
push 0x68686868
and cl, dl
jmp 0x1ebb89e3d
sar byte [rbp + 0x68686ad3], cl
push 0xffffffff81692068
sub byte [rbp + 0x68], 0x68
push 0x686ae581
push 0x6815803a
push 0x203f3268
loope 0x18350318e
and byte [rcx - 0x5f], bl
and byte [rcx - 0x46], bl
jmp 0x183503157

Function at 0x140001918
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001962
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001962
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001962
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001962
cmp dword [rcx + 0x84], 0xe
jbe 0x140001962
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001964
xor al, al
add rsp, 0x28
ret
Function at 0x18000c1e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movaps xmmword [rax - 0x28], xmm6
mov r15, rcx
test r8, r8
je 0x18000c308
mov rdi, rcx
lea rbp, [r8 - 1]
sub rdi, rdx
shr rbp, 4
add rdi, 0xf0
lea rsi, [rdx + 9]
inc rbp
lea rbx, [rsi - 9]
mov r8, r15
movups xmm6, xmmword [rbx]
mov rdx, rbx
mov cl, 0xe
call fcn.18000c358
mov r14b, 0xd
mov al, byte [rsi]
mov rdx, rbx
mov cl, byte [rsi + 4]
mov r9d, 4
mov byte [rsi + 4], al
mov al, byte [rsi - 4]
mov byte [rsi], al
mov al, byte [rsi - 8]
mov byte [rsi - 4], al
mov al, byte [rsi + 1]
mov byte [rsi - 8], cl
mov cl, byte [rsi - 7]
mov byte [rsi - 7], al
mov al, byte [rsi + 5]
mov byte [rsi + 1], cl
mov cl, byte [rsi - 3]
mov byte [rsi - 3], al
mov al, byte [rsi - 2]
mov byte [rsi + 5], cl
mov cl, byte [rsi - 6]
mov byte [rsi - 6], al
mov al, byte [rsi + 2]
mov byte [rsi - 2], al
mov al, byte [rsi + 6]
mov byte [rsi + 2], al
mov byte [rsi + 6], cl
mov rcx, rdx
mov r8d, 4
movzx eax, byte [rcx]
lea r10, [0x180036550]
mov al, byte [rax + r10]
mov byte [rcx], al
lea rcx, [rcx + 4]
sub r8, 1
jne 0x18000c293
inc rdx
sub r9, 1
jne 0x18000c28a
mov r8, r15
mov rdx, rbx
mov cl, r14b
call fcn.18000c358
test r14b, r14b
je 0x18000c2da
mov rcx, rbx
call fcn.18000c58c
add r14b, 0xff
jmp 0x18000c23b
mov ecx, 0x10
mov al, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x18000c2df
add rsi, 0x10
sub rdi, 0x10
movdqu xmmword [r15 + 0xf0], xmm6
sub rbp, 1
jne 0x18000c224
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x18000c358
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x18004e330]
xor ebp, ebp
movzx eax, word [0x18004e214]
mov r14d, 4
movzx r9d, word [0x18004e310]
mov r10, rdx
mov word [rsp + 0x28], ax
mov edx, ebp
movzx eax, word [0x18004e22c]
mov rsi, r8
mov qword [rsp + 0x68], rax
lea r8d, [r14 - 3]
movzx eax, word [0x18004e314]
mov word [rsp + 0x2c], ax
mov rax, qword [0x18004e2f8]
movsx eax, word [0x18004e254]
mov qword [rsp + 0x68], 0xce18
mov dword [rsp + 0x68], eax
mov al, byte [0x18004e206]
mov byte [rsp + 0x68], al
mov eax, 0xa5e
movzx edi, byte [0x18004e1b7]
mov r11d, dword [0x18004e1dc]
mov word [rsp + 0x20], ax
movzx eax, word [0x18004e26c]
mov word [rsp + 0x20], ax
movzx eax, word [0x18004e30c]
mov word [rsp + 0x20], r14w
mov dword [rsp + 0x20], eax
mov eax, 0xfac9e1ce
mov qword [rsp + 0x20], rax
mov rax, qword [0x18004e328]
mov dword [rsp + 0x20], 0x59f
mov qword [rsp + 0x20], rax
movzx eax, word [0x18004e310]
mov dword [rsp + 0x20], 0x25f91f3a
mov qword [rsp + 0x20], 0xf9
mov dword [rsp + 0x20], eax
movzx eax, word [0x18004e214]
mov dword [rsp + 0x20], eax
mov eax, dword [0x18004e300]
movzx eax, word [0x18004e318]
mov al, byte [0x18004e1db]
mov byte [rsp + 0x20], al
movzx eax, word [0x18004e2c0]
mov word [rsp + 0x20], ax
movzx eax, word [0x18004e2b0]
movzx eax, word [0x18004e338]
mov rax, qword [0x18004e2c8]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18004e2b8]
mov byte [rsp + 0x20], al
movzx eax, word [rsp + 0x28]
cmp ax, r9w
movzx ebx, cl
movzx eax, word [rsp + 0x28]
mov ecx, ebp
setle dl
cmp ax, 0x3a
setle cl
cmp edx, ecx
jb 0x18000c4c3
add word [0x18004e254], r8w
jmp 0x18000c51a
mov al, byte [rsp + 0x68]
test al, al
jne 0x18000c4d2
mov ecx, ebp
test r11, r11
je 0x18000c4d5
mov ecx, r8d
movzx eax, word [rsp + 0x2c]
cmp ecx, eax
jb 0x18000c51a
movzx ecx, word [0x18004e2e4]
movzx eax, word [0x18004e310]
imul ecx, eax
movzx eax, word [0x18004e22c]
add rax, rdi
movsxd rdx, ecx
mov rcx, rbp
imul rdx, rax
mov rax, qword [0x18004e298]
test rdx, rdx
sete cl
and ax, cx
mov word [0x18004e284], ax
mov r9b, bpl
shl ebx, 2
movzx edx, r9b
mov r11b, bpl
add edx, ebx
shl edx, 2
movzx eax, r11b
add r11b, r8b
add eax, edx
mov cl, byte [rax + rsi]
xor byte [r10], cl
add r10, r8
cmp r11b, r14b
jb 0x18000c52c
add r9b, r8b
cmp r9b, r14b
jb 0x18000c520
mov edx, 0x8b
xor ecx, ecx
call fcn.18000dea4
test ax, ax
jne 0x18000c577
mov eax, dword [0x18004e2f0]
test eax, eax
je 0x18000c577
movsx eax, word [rsp + 0x28]
sub eax, 0x7a
cdqe
mov qword [0x18004e2c0], rax
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x18023f63f
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1804e6e10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x180ad8300]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x180b304f2]
call fcn.18024a9d1
nop
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
test eax, eax
je 0x1804e6e6d
jmp 0x1804e6f3a
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x10]
movzx eax, byte [rax]
cmp eax, 0xe9
jne 0x1804e6f06
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 1]
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, eax
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1804e6f06
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 1]
mov r8d, eax
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.18024418a
nop
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 1]
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, eax
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov r8d, 0x8000
xor edx, edx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov r8d, 0x8000
xor edx, edx
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1807abd40]
call fcn.18024867c
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.180244135
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1802401f7
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1804cd540
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x180b2df65]
call fcn.18024a9d1
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1804cd57e
mov rcx, qword [rbp + 0x100]
call fcn.180240805
nop
jmp 0x1804cd59a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x1804cd59a
mov rcx, qword [rbp + 0x100]
call fcn.180244248
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1802402a6
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1804aa9b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x180b2dbb2]
call fcn.18024a9d1
nop
mov qword [rbp + 8], 0
jmp 0x1804aa9ef
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1804aaa45
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x1804aa9e4
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x18024106b
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1804dd9f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x1e0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x180ad8300]
xor rax, rbp
mov qword [rbp + 0x1b0], rax
lea rcx, [0x180b2f786]
call fcn.18024a9d1
nop
mov rax, qword [rbp + 0x1e0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x1804dda81
mov ecx, 0x5a
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1804dda81
mov rcx, qword [rbp + 0x1f0]
call fcn.18024055d
movzx eax, al
test eax, eax
jne 0x1804dda86
jmp 0x1804ddb35
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1f0]
call fcn.180244a8b
nop
mov rax, qword [rbp + 0x1e0]
cvtss2sd xmm0, dword [rax + 0x20]
movsd qword [rbp + 0x1a8], xmm0
lea rdx, [rbp + 0x128]
mov rcx, qword [rbp + 0x1f0]
call fcn.1802454c7
lea rcx, [rbp + 0x158]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x190]
lea rcx, [rbp + 0x158]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movsd xmm2, qword [rbp + 0x1a8]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x38]
call fcn.1802456fc
nop
movsd xmm0, qword [rbp + 8]
addsd xmm0, qword [rbp + 0x38]
movsd qword [rbp + 8], xmm0
movsd xmm0, qword [rbp + 0x18]
addsd xmm0, qword [rbp + 0x48]
movsd qword [rbp + 0x18], xmm0
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x1f0]
call fcn.180243569
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x18078ac40]
call fcn.18024867c
mov rcx, qword [rbp + 0x1b0]
xor rcx, rbp
call fcn.180244135
lea rsp, [rbp + 0x1c0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1802411e7
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x180295890
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x20]
lea rcx, [0x180b2e673]
call fcn.18024a9d1
nop
mov rax, qword [rbp + 0x230]
movzx eax, byte [rax + 8]
test eax, eax
je 0x1802958cf
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x1802958d4
jmp 0x180295a63
mov rax, qword [0x180ae5c70]
mov qword [rbp + 0x1a8], rax
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x1a8]
call fcn.1802472ae
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1b8]
mov qword [rbp + 0x1c0], rax
lea rdx, [rbp + 0x118]
mov rcx, qword [rbp + 0x1c0]
call fcn.180241557
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x1d0]
mov qword [rbp + 0x1d8], rax
mov rax, qword [0x180adb6d8]
mov qword [rbp + 0x1e0], rax
lea rdx, str.BLOCK
lea rcx, [rbp + 0x148]
call fcn.180243b95
nop
mov r8, qword [rbp + 0x1e0]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x188]
call fcn.180248ab4
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x1f8], rax
mov rdx, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1d8]
call fcn.18024742f
movzx eax, al
test eax, eax
jne 0x1802959d3
mov dword [rbp + 0x200], 1
jmp 0x1802959dd
mov dword [rbp + 0x200], 0
movzx eax, byte [rbp + 0x200]
mov byte [rbp + 0xc4], al
lea rcx, [rbp + 0x188]
call fcn.180245198
nop
lea rcx, [rbp + 0x148]
call fcn.180240526
nop
lea rcx, [rbp + 0x118]
call fcn.180245198
nop
lea rcx, [rbp + 0xe8]
call fcn.18024575b
movzx eax, byte [rbp + 0xc4]
test eax, eax
je 0x180295a2a
jmp 0x180295a63
mov rax, qword [0x180ae5c70]
mov rcx, rax
call fcn.18024484c
cmp eax, 4
jne 0x180295a63
mov rax, qword [0x180ae5c70]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x230]
mov edx, dword [rax + 0x20]
mov rcx, qword [rbp + 0x1a8]
call fcn.18024383e
nop
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret