joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cd10
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0xd
call fcn.140063ecc
xor edx, edx
mov r10, rax
cmp dword [0x140097018], 6
jl 0x14000ce52
add rax, 0xc
lea r8, [rbx + 0xc]
cmp r10, r8
ja 0x14000cd4b
cmp rax, rbx
jae 0x14000ce52
movdqa xmm4, xmmword [0x14008b8f0]
mov edx, 0xc
movdqa xmm0, xmmword [0x14008b940]
vpsrlvq xmm1, xmm0, xmmword [0x14008b880]
movzx eax, word [rbx]
pshufb xmm1, xmm4
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x14008b960]
movd eax, xmm1
vpsrlvq xmm1, xmm0, xmmword [0x14008b8a0]
pshufb xmm1, xmm4
mov word [r10], ax
movzx eax, word [rbx + 2]
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x14008b980]
movd eax, xmm1
vpsrlvq xmm1, xmm0, xmmword [0x14008b8b0]
pshufb xmm1, xmm4
mov word [r10 + 2], ax
movzx eax, word [rbx + 4]
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x14008b9a0]
movd eax, xmm1
vpsrlvq xmm1, xmm0, xmmword [0x14008b8c0]
pshufb xmm1, xmm4
mov word [r10 + 4], ax
movzx eax, word [rbx + 6]
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x14008b9d0]
movd eax, xmm1
vpsrlvq xmm1, xmm0, xmmword [0x14008b880]
pshufb xmm1, xmm4
mov word [r10 + 6], ax
movzx eax, word [rbx + 8]
movd xmm0, eax
xorps xmm1, xmm0
movdqa xmm0, xmmword [0x14008b9e0]
movd eax, xmm1
vpsrlvq xmm1, xmm0, xmmword [0x14008b8a0]
pshufb xmm1, xmm4
mov word [r10 + 8], ax
movzx eax, word [rbx + 0xa]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [r10 + 0xa], ax
mov r11d, 0xdbe8981a
mov r9, rdx
imul r9, r11
add r9, 0x686fbd44
sub rbx, r10
nop dword [rax]
lea r8, [rdx + r10]
movzx ecx, dl
and cl, 7
mov rax, r9
shr rax, cl
inc rdx
xor al, byte [r8 + rbx]
add r9, r11
mov byte [r8], al
cmp rdx, 0xd
jb 0x14000ce70
mov rax, r10
add rsp, 0x20
pop rbx
ret

Function at 0x140010f70
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 0x140010fcd
lea rbx, [0x140085a10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140010fb4
cmp r10, 2
jb 0x140010fb4
cmp byte [r9], r8b
jne 0x140010fb4
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 0x140010f90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001100f
lea rbx, [0x140085a10]
cmp r8b, 0x23
jne 0x140010ff3
cmp byte [r9], r8b
jne 0x140010ff3
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 0x140010fe0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400111d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x1400111ee
mov qword [r8], r14
lea rdx, [0x1400854f0]
call fcn.140011020
mov rbx, rax
test rax, rax
jne 0x140011213
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001133f
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001133f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001133f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001133f
cmp rdi, 0xffffffffffffffff
je 0x14001133f
mov rcx, rdi
call fcn.1400166d0
mov rbp, rax
test rax, rax
je 0x14001133f
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 0x14001132c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14009ae88]
test r8, r8
je 0x140011321
movsx rdx, word [r8 + 0x6228]
lea rcx, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140011316
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [r8 + 0x622c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140011348
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001133a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14001134a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140020120
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140085a10]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x40cc], ebx
jne 0x1400201b4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14002b230
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400201d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x140085a10]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140024460
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140096fc0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14009ae88]
mov edi, ecx
cmp byte [rbx + 0x4dc5], 0
jne 0x1400244c1
cmp byte [rbx + 0x4dc6], 0
jne 0x1400244c1
movsx r9d, word [rbx + 0x5fe8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140010d50
test dil, 2
je 0x1400245ef
jmp 0x14002454c
movss xmm1, dword [rbx + 0x39e0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5fe8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14008b7e4]
mov edx, 0x10
mulss xmm1, dword [0x14008b7d8]
addss xmm0, dword [rbx + 0x110]
addss xmm1, dword [rbx + 0x114]
mov qword [rbx + 0x4aa8], rax
mov dword [rbx + 0x4a94], 1
movss dword [rbx + 0x4aa0], xmm0
movss dword [rbx + 0x4aa4], xmm1
movss xmm0, dword [rbx + 0x3a3c]
mulss xmm0, dword [0x14008b730]
or dword [rbx + 0x4a90], 0x41
movss dword [rbx + 0x4af0], xmm0
call fcn.140010d50
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400245a0
lea r11, [0x140085a10]
nop dword [rax]
cmp r9b, 0x23
jne 0x140024583
cmp byte [r8], r9b
jne 0x140024583
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 0x140024570
not ecx
call fcn.140019de0
test rax, rax
je 0x1400245ef
cmp byte [rax + 0xca], 0
je 0x1400245ef
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5fe8]
movsx r9d, word [rbx + 0x5fe8]
call fcn.140010d50
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14001cc70
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140063a30
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140029a60
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 + 0x6148], 0
lea rbx, [rcx + 0x6150]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140029b07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140029aba
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.14002c560
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400119e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6148]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6158]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14009adfc]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140029b0f
mov rcx, rbx
call fcn.1400119e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140029e40
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
mov rbx, qword [0x14009ae88]
xor ebp, ebp
cmp byte [rbx + 0x6098], bpl
jne 0x140029f1f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140029f18
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400111d0
mov rsi, rax
test rax, rax
je 0x140029f18
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140029ea4
mov rcx, rax
call fcn.14002a070
mov r8, qword [0x14009ae88]
test r8, r8
je 0x140029f0f
movsx rdx, word [r8 + 0x6228]
lea rcx, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140029f04
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [r8 + 0x622c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x6098], 1
movss xmm0, dword [rbx + 0x609c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140029fae
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x609c], xmm0
jb 0x140029fae
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140029fa1
mov rax, qword [0x14009ae88]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x609c], ebp
call fcn.14002a2d0
lea rdx, [0x1400854f4]
mov rcx, rdi
mov rsi, rax
call fcn.140011020
mov rdi, rax
test rax, rax
je 0x140029fa8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140029fa8
mov byte [rbx + 0xe6], 1
mov dword [rbx + 0x609c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140029fd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14009ae88]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14002a033
mov qword [rsp], rbx
lea rbx, [0x140085a10]
nop dword [rax]
cmp r9b, 0x23
jne 0x14002a013
cmp byte [r8], r9b
jne 0x14002a013
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 0x14002a000
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60b0]
not eax
mov r8, qword [r10 + 0x60b8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002a05f
cmp dword [r8 + 8], eax
je 0x14002a066
add r8, 0x48
cmp r8, rcx
jne 0x14002a050
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14004ea90
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14004eb1c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14004eaf0
lea r11, [0x140085a10]
nop
cmp r9b, 0x23
jne 0x14004ead3
cmp byte [r8], r9b
jne 0x14004ead3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14004eac0
mov rcx, qword [0x14009ae88]
not eax
cmp dword [rcx + 0x40e4], eax
jne 0x14004eb07
mov dword [rcx + 0x40e8], eax
cmp dword [rcx + 0x4114], eax
jne 0x14004eb79
mov byte [rcx + 0x4118], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x14009ae88]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x4078]
movsxd rax, dword [rbx + 0x108]
mov r8, qword [rbx + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140010f70
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x40cc], eax
jne 0x14004eb72
mov r8, rdi
mov edx, 0xc
mov ecx, eax
call fcn.14002b230
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140051eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140096fc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, str.Utility
call fcn.14004f2c0
test al, al
je 0x1400520a0
lea rdx, [0x14009ae1f]
lea rcx, str.Bhop
call fcn.140044a00
lea rdx, [0x14009ae2a]
lea rcx, str.Radar
call fcn.140044a00
lea rdx, [0x14009ae1d]
lea rcx, str.NoFlash
call fcn.140044a00
movdqa xmm0, xmmword [0x14008bc10]
lea rdx, str.Warning:_Turn_third_person_off_before_exiting_cheat_
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140042ee0
lea rdx, [0x14009ae1e]
lea rcx, str.Third_Person
call fcn.140044a00
test al, al
je 0x140052063
cmp byte [0x14009ae1e], 0
lea r9, [rsp + 0x40]
mov rcx, qword [0x14009ade0]
mov edx, 8
mov qword [rsp + 0x60], rbx
mov r8d, 0x40
jne 0x140051fbb
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, qword [0x14009b0c0]
lea r8, [rsp + 0x48]
mov rcx, qword [0x14009b148]
xor ebx, ebx
add rdx, 0x1a5e4d0
mov dword [rsp + 0x48], ebx
mov r9d, 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x14009ade0]
lea r8, [0x14009ade8]
mov r9d, 8
jmp 0x140052030
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, qword [0x14009ade0]
lea r8, [0x14009ade8]
mov rcx, qword [0x14009b148]
xor ebx, ebx
mov r9d, 8
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [0x14009ade0]
lea r8, [0x1400972c0]
mov rcx, qword [0x14009b148]
mov r9d, 8
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x14009b0c0]
lea r8, [rsp + 0x48]
add rdx, 0x1a5e4d0
mov dword [rsp + 0x48], pe_nt_image_headers64
mov r9d, 4
mov rcx, qword [0x14009b148]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rcx, qword [0x14009ade0]
mov edx, 8
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x60]
mov r8, qword [0x14009ae88]
mov rdx, qword [r8 + 0x4078]
cmp byte [rdx + 0xcf], 0
jne 0x1400520a0
mov r8, qword [r8 + 0x4ef8]
test r8, r8
je 0x1400520a0
movsx rax, word [r8 + 0x78]
imul rcx, rax, 0x2c
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x1400520a0
dec dword [rdx + 0x108]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140063a30
add rsp, 0x68
ret
Function at 0x140059120
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x140099fd8], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140059179
mov rcx, qword [rbx + 0x360]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [0x140099fc8], xmm0
movsd qword [0x140099fd0], xmm1
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x140059196
cmp eax, 0x34004
je 0x140059196
mov rcx, qword [0x140099ff8]
jmp 0x1400591b5
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400591a5
mov rcx, qword [rcx + 8]
jmp 0x1400591b5
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.1400524e0
mov rcx, rbx
call fcn.140058740
cmp dword [rbx + 0x208], 0
je 0x140059212
mov rax, qword [rbx + 0x360]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140059212
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.14005c5b0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140059220
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140059262
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.14005c5b0
add rsp, 0x38
ret
Function at 0x140059270
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x208], 0
mov rbx, rcx
je 0x1400592c0
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400592c0
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.14005c5b0
xor ecx, ecx
mov qword [0x140099fd8], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x140099fc8]
mov qword [0x140099fe0], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x140099fd0]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x3a0], ecx
mov rcx, qword [rbx + 0x360]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x3a4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x140059349
cmp eax, 0x34004
je 0x140059349
mov rcx, qword [0x140099ff8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140059362
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]

Function at 0x140059380
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x360]
mov edx, 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400593c2
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.14005c5b0
add rsp, 0x38
ret

Function at 0x140059470
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, 0x12
or edi, 2
test ax, ax
cmovns edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, edi
mov ecx, 0x5c
or esi, 4
test ax, ax
cmovns esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, 0x14
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x14005b6c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x140097690], 0
jne 0x14005b6e0
xor edx, edx
mov ecx, 0x10001
call fcn.1400559c0
xor eax, eax
add rsp, 0x28
ret
lea rcx, [0x140099034]
add rsp, 0x28
jmp fcn.14005b8f0