joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002934c
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.14001ca14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ca14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f340
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a348
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.14001d6f0
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a348
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b0dc
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ca14
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018804
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
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 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ca14
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 0x14000181c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001866
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001866
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001866
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001866
cmp dword [rcx + 0x84], 0xe
jbe 0x140001866
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001868
xor al, al
add rsp, 0x28
ret
Function at 0x6d856420
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8775e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8565a8
mov rax, qword [0x6d8775e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d85646c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8564f5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d856450
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8565dd
mov rax, qword [0x6d8775e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8775e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8565c0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8564ee
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d856550
add dword [0x6d8775e4], 1
cmp edi, 8
jae 0x6d856523
test dil, 4
jne 0x6d856594
test edi, edi
je 0x6d856518
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8565af
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d856518
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d85653c
jmp 0x6d856518
add rsi, qword [0x6d8775e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8564ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d856518
xor esi, esi
jmp 0x6d856477
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d856518
mov rax, qword [0x6d8775e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d856d30
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8778c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8778a0]
test rbx, rbx
je 0x6d856d84
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d856d7b
test rsi, rsi
je 0x6d856d7b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d856d60
lea rcx, [0x6d8778c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d856fc0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d856fd0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d856fe0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d857021
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d857018
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d857023
add rax, 0x28
cmp rax, r9
jne 0x6d857004
xor eax, eax
ret

Function at 0x6d8570c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8741f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d85712d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d85712d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d85712d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d857124
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d85712f
add rax, 0x28
cmp rax, r9
jne 0x6d857110
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d857230
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8741f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d857250
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d857248
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8572ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8572a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8572b4
add rax, 0x28
cmp rax, r9
jne 0x6d857290
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8572d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8741f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d85733e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d85733e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d85733e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d85733e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d857335
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d857345
add rcx, 0x28
cmp rcx, rax
jne 0x6d857320
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d857358
jmp 0x6d85733e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d857366
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d85733e
test r9d, r9d
jg 0x6d857350
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8576d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140002520
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov esi, 5
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov r14d, 0x234
add r14, rcx
mov edi, 0x1c8
add rdi, rcx
mov r15d, 0x380
add r15, rcx
mov ebx, 0x138
add rbx, rcx
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [r14]
test al, 1
jne 0x1400025ab
or eax, 1
mov dword [r14], eax
mov word [rdi + 7], 0x139
mov dword [rdi], 0xd4ff3c10
mov word [rdi + 4], 0xe1e9
mov byte [rdi + 6], 0x80
lea rcx, [0x14000a130]
call fcn.1400083b8
nop
cmp byte [rdi + 8], 0
je 0x1400025d4
xor byte [rdi], 0x73
xor byte [rdi + 1], 0x53
xor byte [rdi + 2], 0x93
xor byte [rdi + 3], 0xbb
xor byte [rdi + 4], 0x9b
xor byte [rdi + 5], 0xc1
xor byte [rdi + 6], 0xe3
xor byte [rdi + 7], 0x39
mov byte [rdi + 8], 0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [r15]
test al, 1
jne 0x140002618
or eax, 1
mov dword [r15], eax
mov word [rbx + 7], 0x1c7
mov dword [rbx], 0x4c128fa
mov word [rbx + 4], 0x5751
mov byte [rbx + 6], 0x19
lea rcx, [0x14000a110]
call fcn.1400083b8
nop
cmp byte [rbx + 8], 0
je 0x140002641
xor byte [rbx], 0x99
xor byte [rbx + 1], 0x47
xor byte [rbx + 2], 0xad
xor byte [rbx + 3], 0x6b
xor byte [rbx + 4], 0x23
xor byte [rbx + 5], 0x77
xor byte [rbx + 6], 0x7f
xor byte [rbx + 7], 0xc7
mov byte [rbx + 8], 0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
sub esi, 1
jne 0x140002570
mov ecx, 0xfa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
jmp qword [sym.imp.KERNEL32.dll_Sleep]
Function at 0x140002680
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400026ef
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
test eax, eax
jne 0x1400026f6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140002836
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002720
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140001cf0
nop
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x454
mov eax, dword [rdx + rcx]
mov r8d, 0x220
test al, 1
jne 0x140002788
or eax, 1
mov dword [rdx + rcx], eax
lea rbx, [rcx + r8]
mov word [rbx + 9], 0x14b
mov dword [rbx], 0x5a3d2a71
mov dword [rbx + 4], 0xe1741bc6
mov byte [rbx + 8], 0x7e
lea rcx, [0x14000a150]
call fcn.1400083b8
nop
jmp 0x14000278c
lea rbx, [r8 + rcx]
cmp byte [rbx + 0xa], 0
je 0x1400027c0
xor byte [rbx], 0x1b
xor byte [rbx + 1], 0x4b
xor byte [rbx + 2], 0x4b
xor byte [rbx + 3], 0x3b
xor byte [rbx + 4], 0xb1
xor byte [rbx + 5], 0x35
xor byte [rbx + 6], 0x11
xor byte [rbx + 7], 0x99
xor byte [rbx + 8], 0x1b
xor byte [rbx + 9], 0x4b
mov byte [rbx + 0xa], 0
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x1400027c0
lea rcx, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0x10
cmovae rcx, rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov rdx, qword [rsp + 0x48]
call fcn.140008030
cmp rax, 0xffffffffffffffff
setne bl
cmp rbp, 0x10
jb 0x140002833
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000282b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000282b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400082dc
movzx eax, bl
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140008280
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140008ecc
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0xffffffff
test edx, edx
je 0x18000447e
mov r9d, edx
lea r10, [0x180171280]
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rcx]
lea rcx, [rcx + 2]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx edx, r8b
xor eax, dword [r10 + rdx*4]
sub r9, 1
jne 0x180004460
not eax
ret
Function at 0x18000a2c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x18000a320
mov r8, qword [rcx]
test r8, r8
je 0x18000a320
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18000a2e0
test ecx, ecx
je 0x18000a31d
mov r9d, ecx
lea r10, [0x180171280]
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 0x18000a300
not eax
ret
xor eax, eax
ret

Function at 0x18000ac00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18000ac0d
xor eax, eax
jmp 0x18000ac86
mov r9, qword [rcx]
test r9, r9
jne 0x18000ac19
xor eax, eax
jmp 0x18000ac86
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x18000ac26
xor eax, eax
jmp 0x18000ac86
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x180171280]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x18000ac50
cmp edx, eax
jae 0x18000ac7c
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 0x18000ac3d
not r8d
mov eax, r8d
jmp 0x18000ac86
add rsp, 0x18
ret

Function at 0x18000b190
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1801a53db], 0
mov rbx, rcx
je 0x18000b201
mov ecx, dword [0x1801a54bc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000b201
cmp dword [0x1801a53f4], 1
jne 0x18000b201
lea rcx, [rbx + 0xb0]
cmp rcx, 0x40000
jbe 0x18000b201
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x18000b201
mov rcx, qword [rcx]
add rcx, 0x1fc
cmp rcx, 0x40000
jbe 0x18000b201
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x18000b201
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret
Function at 0x18000be80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18000c013
mov edx, dword [0x1801a5260]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rdi, qword [rax + rdx*8]
mov edx, dword [0x1801a6398]
add rdi, rcx
cmp edx, dword [rdi]
jle 0x18000bef5
lea rcx, [0x1801a6398]
call fcn.1800eea88
mov edx, dword [0x1801a6398]
cmp edx, 0xffffffff
jne 0x18000bef5
mov ecx, 0xac5e6f4b
call fcn.180008be0
lea rcx, [0x1801a6398]
mov qword [0x1801a6000], rax
call fcn.1800eea1c
mov edx, dword [0x1801a6398]
mov rax, qword [0x1801a6000]
cmp qword [rax + rbx], 0
je 0x18000c013
cmp edx, dword [rdi]
jle 0x18000bf3d
lea rcx, [0x1801a6398]
call fcn.1800eea88
cmp dword [0x1801a6398], 0xffffffff
jne 0x18000bf3d
mov ecx, 0xac5e6f4b
call fcn.180008be0
lea rcx, [0x1801a6398]
mov qword [0x1801a6000], rax
call fcn.1800eea1c
mov rax, qword [0x1801a6000]
mov rbx, qword [rax + rbx]
test rbx, rbx
je 0x18000c013
mov eax, dword [rdi]
cmp dword [0x1801a5d60], eax
jle 0x18000bf90
lea rcx, [0x1801a5d60]
call fcn.1800eea88
cmp dword [0x1801a5d60], 0xffffffff
jne 0x18000bf90
mov ecx, 0xd8de806e
call fcn.180007390
lea rcx, [0x1801a5d60]
mov rdx, qword [rax]
mov qword [0x1801a5d30], rdx
call fcn.1800eea1c
mov rax, qword [0x1801a5d30]
mov rcx, rbx
call rax
test rax, rax
je 0x18000c013
mov r8, qword [rax]
test r8, r8
je 0x18000c013
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x18000bfc0
test eax, eax
je 0x18000c013
mov r9d, eax
lea r10, [0x180171280]
nop dword [rax + rax]
movsx ecx, byte [r8]
lea r8, [r8 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
xor edx, dword [r10 + rax*4]
sub r9, 1
jne 0x18000bfe0
not edx
cmp edx, 0xafa91f9a
sete al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x180016cd0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x1801a52fc], 0
jne 0x180016d30
lea rcx, [rsp + 0x30]
mov byte [0x1801a52fc], 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 [0x1801a54dc], xmm0
movss dword [0x1801a5350], 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 [0x1801a5350]
divss xmm0, dword [0x1801a54dc]
add rsp, 0x28
ret
Function at 0x180018360
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
call fcn.18000c1d0
mov rcx, rax
call fcn.18000c0e0
mov rbx, rax
test rax, rax
je 0x180018578
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.18000afe0
cmp dword [rsp + 0x20], 0
je 0x180018578
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180018578
cmp eax, 0xfffffffe
jne 0x18001843c
mov rcx, rbx
call fcn.18000b210
cmp byte [0x1801a53c6], 0
je 0x180018578
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x180018578
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180018578
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x18001840f
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x18001840f
mov byte [r9], 1
lea rdx, [r8 + 0x3a4]
cmp rdx, 0x40000
jbe 0x180018578
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180018578
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x1800184a4
mov rcx, rbx
call fcn.18000b210
cmp byte [0x1801a53cb], 0
je 0x180018497
lea rdx, [rbx + 0xb0]
cmp rdx, 0x40000
jbe 0x180018497
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180018497
mov rdx, qword [rdx]
add rdx, 0x1fc
cmp rdx, 0x40000
jbe 0x180018497
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180018497
mov dword [rdx], 0x3c23d70a
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.18000b190
cmp eax, 2
jne 0x1800184fd
mov rcx, rbx
call fcn.18000b210
mov rcx, rbx
call fcn.18000b190
cmp byte [0x1801a53c5], 0
je 0x180018578
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x180018578
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180018578
mov rdx, qword [rbx]
add rdx, 0x290
jmp 0x180018563
cmp eax, 0xffffffff
jne 0x180018578
mov rcx, rbx
call fcn.18000b210
cmp byte [0x1801a53d3], 0
je 0x180018578
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x180018578
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180018578
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x18001855c
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x18001855c
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x3b0]
cmp rdx, 0x40000
jbe 0x180018578
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x180018578
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x18001c740
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 0x18001c7b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18001c7b8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x18001c7a5
nop
cmp rbx, rcx
jae 0x18001c7b8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18001c790
cmp rbx, rcx
jae 0x18001c7b8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18001c7ba
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret