joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1410c6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1410c61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1410c6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410c606f
add dl, dl
jne 0x1410c6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410c60f6
xor eax, eax
add dl, dl
jne 0x1410c60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410c61ad
add dl, dl
jne 0x1410c60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410c60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1410c607e
mov eax, 1
add dl, dl
jne 0x1410c6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410c6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410c60fb
sub eax, ebx
mov ebx, 1
jne 0x1410c614c
mov ecx, 1
add dl, dl
jne 0x1410c612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410c613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410c6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410c607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1410c6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410c6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410c615d
cmp eax, 0x7d00
jae 0x1410c619b
cmp eax, 0x500
jb 0x1410c6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410c607e
cmp eax, 0x7f
ja 0x1410c619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410c607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410c61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1410c607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x6d87e3c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d89f5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d87e548
mov rax, qword [0x6d89f5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d87e40c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d87e495
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d87e3f0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d87e57d
mov rax, qword [0x6d89f5e8]
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 [0x6d89f5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d87e560
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d87e48e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d87e4f0
add dword [0x6d89f5e4], 1
cmp edi, 8
jae 0x6d87e4c3
test dil, 4
jne 0x6d87e534
test edi, edi
je 0x6d87e4b8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d87e54f
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 0x6d87e4b8
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 0x6d87e4dc
jmp 0x6d87e4b8
add rsi, qword [0x6d89f5e8]
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 0x6d87e48e
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 0x6d87e4b8
xor esi, esi
jmp 0x6d87e417
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d87e4b8
mov rax, qword [0x6d89f5e8]
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 0x6d87ecd0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d89f8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d89f8a0]
test rbx, rbx
je 0x6d87ed24
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 0x6d87ed1b
test rsi, rsi
je 0x6d87ed1b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d87ed00
lea rcx, [0x6d89f8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d87ef60
Capabilities:
Parse pe header

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

Function at 0x6d87ef80
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 0x6d87efc1
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 0x6d87efb8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d87efc3
add rax, 0x28
cmp rax, r9
jne 0x6d87efa4
xor eax, eax
ret

Function at 0x6d87f060
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d89c1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d87f0cd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d87f0cd
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 0x6d87f0cd
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 0x6d87f0c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d87f0cf
add rax, 0x28
cmp rax, r9
jne 0x6d87f0b0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d87f1d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d89c1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d87f1f0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d87f1e8
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 0x6d87f24d
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 0x6d87f244
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d87f254
add rax, 0x28
cmp rax, r9
jne 0x6d87f230
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d87f270
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d89c1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d87f2de
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d87f2de
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d87f2de
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d87f2de
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 0x6d87f2d5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d87f2e5
add rcx, 0x28
cmp rcx, rax
jne 0x6d87f2c0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d87f2f8
jmp 0x6d87f2de
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d87f306
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d87f2de
test r9d, r9d
jg 0x6d87f2f0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d87f670
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 0x140002800
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000285d
lea rbx, [0x140034ec0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002844
cmp r10, 2
jb 0x140002844
cmp byte [r9], r8b
jne 0x140002844
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002820
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000289f
lea rbx, [0x140034ec0]
cmp r8b, 0x23
jne 0x140002883
cmp byte [r9], r8b
jne 0x140002883
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002870
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400029e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400029fa
mov qword [r8], 0
lea rdx, [0x140034b44]
call fcn.1400028b0
mov rbx, rax
test rax, rax
jne 0x140002a1a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002b05
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b05
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002b05
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b05
cmp rdi, 0xffffffffffffffff
je 0x140002b05
mov rax, qword [0x140040680]
test rax, rax
je 0x140002a96
inc dword [rax + 0xec]
mov rdx, qword [0x140040670]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140002b05
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002af2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140040680]
test rax, rax
je 0x140002ae1
dec dword [rax + 0xec]
mov rdx, qword [0x140040670]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140002b0e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002b00
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002b10
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140004840
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140034ec0]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x140040680]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x1400048cb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140016270
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000ffa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140040680]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x14000fff2
cmp byte [rbx + 0x424e], 0
jne 0x14000fff2
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400026f0
test dil, 1
je 0x140010118
jmp 0x14001007b
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400396e8]
mulss xmm1, dword [0x1400396dc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x140039654]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.1400026f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400100d0
lea r11, [0x140034ec0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400100b3
cmp byte [r8], r9b
jne 0x1400100b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400100a0
not ecx
call fcn.1400097f0
test rax, rax
je 0x140010118
cmp byte [rax + 0x96], 0
je 0x140010118
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.1400026f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000bf10
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140014f20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140014fc7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140014f7a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140016e40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002e60
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140040678]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140014fcf
mov rcx, rbx
call fcn.140002e60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140015560
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140040680]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400155c3
mov qword [rsp], rbx
lea rbx, [0x140034ec0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400155a3
cmp byte [r8], r9b
jne 0x1400155a3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140015590
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400155f7
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400155fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400155e4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14002ce30
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14004067c]
lea rdx, [rsp + 0x20]
lea rcx, [0x14002ce80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14002ce72
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14002ce72
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x14002ce74
xor eax, eax
add rsp, 0x38
ret

Function at 0x14002cfd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
xor edi, edi
lea r8, [0x14002cee0]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0x50
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rbx, str.Overlay
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [0x140040788]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rdi
mov r8, rbx
mov qword [rsp + 0x50], rax
mov rdx, rbx
mov eax, dword [0x140040794]
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [0x140040790]
mov dword [rsp + 0x30], eax
mov eax, dword [0x14004078c]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140040788]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rdi - 0x14]
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x140040698], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x140040698]
lea r9d, [rdi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140039770]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140040698]
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140040698]
lea edx, [rdi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140040698]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x14002d550
Capabilities:
Hash data with crc32
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002d575
cmp byte [0x140040051], 0
sete al
mov byte [0x140040051], al
jmp 0x14002d57c
movzx eax, byte [0x140040051]
test al, al
je 0x14002d74e
xor edx, edx
lea rcx, str.Counter_Strike_2
lea r8d, [rdx + 0x23]
call fcn.14000bf10
movss xmm0, dword [0x140039718]
lea r8, [0x1400394d9]
movss xmm1, dword [0x140039714]
lea r11, [0x140034ec0]
mov r10d, 0xffffffff
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
mov ecx, r10d
mov r9b, 0x43
nop dword [rax]
cmp r9b, 0x23
jne 0x14002d5e3
cmp byte [r8], r9b
jne 0x14002d5e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14002d5d0
not ecx
call fcn.1400097f0
test rax, rax
je 0x14002d61c
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000e770
mov rcx, qword [0x140040680]
mov rax, qword [rcx + 0x3ea8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea8]
cmp byte [rax + 0x9b], 0
jne 0x14002d65c
movss xmm1, dword [0x14003974c]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
call fcn.14000f4d0
lea rdx, [0x140040050]
lea rcx, str.enable_box
call fcn.14002afe0
cmp byte [0x140040050], 0
je 0x14002d69a
lea r9, [0x1400404b0]
mov dword [rsp + 0x20], 4
lea rdx, [0x140040718]
lea rcx, str.style
call fcn.14002bf80
lea rdx, [0x14004071f]
lea rcx, str.enable_heads
call fcn.14002afe0
lea rdx, [0x14004071e]
lea rcx, str.enable_bones
call fcn.14002afe0
lea rdx, [0x140040720]
lea rcx, str.enable_armor
call fcn.14002afe0
lea rdx, [0x14004071c]
lea rcx, str.enable_health
call fcn.14002afe0
cmp byte [0x14004071c], 1
jne 0x14002d711
lea r9, str.text
mov dword [rsp + 0x20], 3
lea rdx, [0x140040810]
lea rcx, str.enable_health_type
call fcn.14002bf80
lea rdx, [0x14004067b]
lea rcx, str.enable_snaplines
call fcn.14002afe0
lea rdx, [0x14004067a]
lea rcx, str.enable_glow
call fcn.14002afe0
test al, al
je 0x14002d749
cmp byte [0x14004067a], 0
setne byte [0x140040722]
call fcn.140009540
add rsp, 0x38
jmp fcn.14000e1f0
Function at 0x140030de0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140030fda
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140030e30
cmp qword [rbx + 0x18], 8
mov r10, rbx
mov r11, qword [rbx + 0x10]
jb 0x140030e4b
mov r10, qword [rbx]
cmp rax, r11
lea rcx, [rsp + 0x4c]
mov rdx, r11
cmovb rdx, rax
test rdx, rdx
je 0x140030f4c
movzx r8d, word [r10]
movzx r9d, word [rsp + 0x4c]
cmp r8w, r9w
jb 0x140030ea2
lea rsi, [rsp + 0x4c]
sub r10, rsi
cmp r8w, r9w
ja 0x140030ea2
cmp rdx, 1
je 0x140030f4c
movzx r8d, word [r10 + rcx + 2]
add rcx, 2
dec rdx
movzx r9d, word [rcx]
cmp r8w, r9w
jae 0x140030e7f
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140030fd1
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140030ed0
cmp qword [rbx + 0x18], 8
mov r10, rbx
mov r11, qword [rbx + 0x10]
jb 0x140030eeb
mov r10, qword [rbx]
cmp rax, r11
lea rcx, [rsp + 0x4c]
mov rdx, r11
cmovb rdx, rax
test rdx, rdx
je 0x140030fb4
movzx r8d, word [r10]
movzx r9d, word [rsp + 0x4c]
cmp r8w, r9w
jb 0x140030fbb
lea rsi, [rsp + 0x4c]
sub r10, rsi
cmp r8w, r9w
ja 0x140030fbb
cmp rdx, 1
je 0x140030fb4
movzx r8d, word [r10 + rcx + 2]
add rcx, 2
dec rdx
movzx r9d, word [rcx]
cmp r8w, r9w
jae 0x140030f23
jmp 0x140030fbb
cmp r11, rax
jb 0x140030ea2
ja 0x140030ea2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
mov edi, dword [rsp + 0x28]
cmp rdx, 8
jb 0x140030fa7
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140030fa2
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003103b
mov rcx, r8
call fcn.1400322b8
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x10], rax
mov eax, edi
jmp 0x14003101e
cmp r11, rax
jb 0x140030fbb
jbe 0x140030f5b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140030ec0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140031015
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140031010
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003103b
mov rcx, r8
call fcn.1400322b8
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x10], rax
lea r11, [rsp + 0x260]
mov qword [rbx + 0x18], 7
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3