joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801dfd10
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1801dfd81
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1801dfd6a
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov ecx, 0x5a
mov r8d, dword [r8 + rbx*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801dfd5e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1801dfd30
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x180a57f70]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1801dfd90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180a57d60]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801dfdf4
mov eax, 0xa
jmp 0x1801dfe87
test esi, esi
je 0x1801dfe16
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1801dfe39
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1801dfe39
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1801dfe32
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1801dfe39
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1801dfea0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x180a57d6c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1801dfee7
mov rax, qword [0x180a57d60]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1801dfef4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1801dfed0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1801dfee7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1801dfb30
mov edi, eax
test eax, eax
jne 0x1801dffdf
mov r9d, dword [0x180a57d6c]
cmp ebx, r9d
jae 0x1801dff6c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180a57d60]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1801dff65
mov edx, esi
mov ecx, ebx
call fcn.1801dfd90
mov edi, eax
test eax, eax
jne 0x1801dff6c
mov r9d, dword [0x180a57d6c]
inc ebx
cmp ebx, r9d
jb 0x1801dff30
cmp qword [rsp + 0x20], 0
je 0x1801dffdd
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1801dffc9
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801dffba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1801dff90
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180a57f70]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x1801e43d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov r15, rdx
mov qword [rsp + 0x58], rsi
mov r13, rcx
mov qword [rsp + 0x60], rdi
mov r9, r8
mov qword [rsp + 0x28], r12
mov rdi, r8
mov r12, qword [r8 + 0x18]
cmp r12, 0xf
jbe 0x1801e4407
mov r9, qword [r8]
mov rsi, qword [rdi + 0x10]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x1801e4444
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor r8, rax
imul r8, rdx
cmp rcx, rsi
jb 0x1801e4430
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x1801e44b0
mov qword [rsp + 0x20], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
jbe 0x1801e447f
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
cmp r12, 0xf
jbe 0x1801e448b
mov rcx, qword [rdi]
cmp rsi, qword [rbx + 0x20]
jne 0x1801e449d
mov r8, rsi
call fcn.1803751c0
test eax, eax
je 0x1801e44a8
cmp rbx, r14
je 0x1801e44ab
mov rbx, qword [rbx + 8]
jmp 0x1801e4470
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rbp, rbp
je 0x1801e44d9
mov qword [r15], rbp
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
mov rax, qword [r13 + 8]
mov qword [r15], rax
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
Function at 0x1801e9820
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1801e99af
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180017350
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1801e9974
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1801e98f2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1801e9963
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x1801e992b
mov r10, qword [rdx]
cmp r10, rax
je 0x1801e9925
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1801e9963
cmp r8, rdx
je 0x1801e993f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1801e9989
cmp r8, rdx
jne 0x1801e9930
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1801e98c0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1801e9963
lea rcx, str.invalid_hash_bucket_count
call fcn.180310e8c
int3
Function at 0x1801ef460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x90
mov rax, qword [0x180a3f180]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x48]
call fcn.18000ca30
nop
lea r8, [rsp + 0x48]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
cmp r14, 0xf
cmova r8, rbp
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1801ef4f4
movabs r9, 0x100000001b3
nop
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x1801ef4e0
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x1801ef559
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x1801ef52f
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x48]
cmp r14, 0xf
cmova rcx, rbp
cmp rdi, qword [rbx + 0x20]
jne 0x1801ef54e
mov r8, rdi
call fcn.1803751c0
test eax, eax
je 0x1801ef55b
cmp rbx, rsi
je 0x1801ef559
mov rbx, qword [rbx + 8]
jmp 0x1801ef520
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [r13 + 0xf8]
lea r8, [rsp + 0x48]
cmp rbx, qword [r13 + 0xf8]
jne 0x1801ef651
lea rcx, [r13 + 0xf0]
lea rdx, [rsp + 0x28]
call fcn.1801e3970
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.1800e63d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1801ef5d2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ef5cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ef64b
call fcn.180337884
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x1801ef61f
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1801ef61f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1801ef61f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1803373e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
call fcn.1803459e4
nop
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x68]
call fcn.1800298d0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180028bc0
mov rcx, rax
call fcn.1801efd30
int3
Function at 0x1801f4d50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x180a3f180]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1801f4f36
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.180311248
test eax, eax
jne 0x1801f4f63
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1801f4f6e
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x1801f4eca
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x1801f4eca
test r8, r8
je 0x1801f4e28
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1801f4e4b
mov ebp, 7
jmp 0x1801f4e66
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x1801f4e90
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x1801f4eee
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1801f4eee
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1801f4f2e
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801f4f28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801f4f5d
call fcn.180337884
nop
mov rcx, rbx
call fcn.180311250
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1803373e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1803459e4
nop
mov ecx, 5
call fcn.1803114c4
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1803114c4
int3
Function at 0x1802035f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
push rbx
push r12
push r15
sub rsp, 0x50
movaps xmmword [rax - 0x38], xmm6
mov r15, rdx
movaps xmmword [rax - 0x48], xmm7
mov r12, rcx
mov qword [rax + 0x10], rbp
xor ebp, ebp
mov qword [rax + 0x18], rsi
mov ebx, ebp
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r13
lea r13, [rcx + 1]
mov qword [rax - 0x28], r14
movzx eax, byte [rcx]
cmp al, 0x2d
mov byte [rsp + 0x70], al
cmovne r13, rcx
mov rdi, r13
movzx eax, byte [r13]
cmp al, 0x2d
jne 0x18020368a
movzx ecx, byte [r13 + 1]
lea rbx, [r13 + 1]
mov esi, ebp
call fcn.18024dfa0
test eax, eax
je 0x18020367b
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rbx]
lea ecx, [rsi - 6]
lea ecx, [rsi + rcx*4]
inc rbx
lea esi, [rax + rcx*2]
movzx ecx, byte [rbx]
call fcn.18024dfa0
test eax, eax
jne 0x180203660
cmp rbx, r13
jbe 0x1802036c5
mov ebp, esi
test esi, esi
je 0x1802036c5
neg ebp
jmp 0x1802036c5
mov ecx, eax
call fcn.18024dfa0
test eax, eax
je 0x1802036c2
nop word [rax + rax]
movsx eax, byte [rdi]
lea ecx, [rbx - 6]
lea ecx, [rbx + rcx*4]
inc rdi
lea ebx, [rax + rcx*2]
movzx ecx, byte [rdi]
call fcn.18024dfa0
test eax, eax
jne 0x1802036a0
cmp rdi, r13
jbe 0x1802036c2
mov ebp, ebx
mov rbx, rdi
mov r14, qword [rsp + 0x40]
sub rbx, r13
mov rsi, qword [rsp + 0x80]
xorps xmm6, xmm6
mov eax, ebp
add rbx, r13
mov r13, qword [rsp + 0x48]
xorps xmm7, xmm7
mov rbp, qword [rsp + 0x78]
cmp byte [rbx], 0x2e
cvtsi2sd xmm6, rax
addsd xmm6, xmm7
jne 0x180203743
movzx ecx, byte [rbx + 1]
inc rbx
mov edi, 0xa
call fcn.18024dfa0
test eax, eax
je 0x180203743
nop dword [rax]
movsx eax, byte [rbx]
xorps xmm1, xmm1
movzx ecx, byte [rbx + 1]
sub eax, 0x30
movd xmm0, edi
inc rbx
cvtdq2pd xmm0, xmm0
lea edi, [rdi + rdi*4]
add edi, edi
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
addsd xmm6, xmm1
call fcn.18024dfa0
test eax, eax
jne 0x180203710
mov rdi, qword [rsp + 0x88]
test r15, r15
je 0x180203770
cmp rbx, r12
jbe 0x180203770
cmp byte [rsp + 0x70], 0x2d
jne 0x18020376b
ucomisd xmm6, xmm7
jp 0x180203764
je 0x18020376b
xorps xmm6, xmmword [0x1804180b0]
movsd qword [r15], xmm6
movaps xmm6, xmmword [rsp + 0x30]
sub rbx, r12
movaps xmm7, xmmword [rsp + 0x20]
mov rax, rbx
add rsp, 0x50
pop r15
pop r12
pop rbx
ret
Function at 0x180208170
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov qword [rsp + 0x40], rbp
mov rbx, rcx
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x50], r12
xor ecx, ecx
mov qword [rsp + 0x20], r15
call fcn.180239710
mov ecx, 0x17
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, 1
mov r15d, eax
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r12d, 3
test ax, ax
js 0x18020821b
movzx eax, byte [rbx + 0x74]
test r15d, r15d
mov ecx, r12d
mov qword [rsp + 0x58], r14
cmove ecx, esi
mov ebp, esi
movzx r14d, cl
lea ecx, [r14 - 1]
shl ebp, cl
test eax, ebp
je 0x180208201
btr eax, ecx
mov rcx, qword [rbx]
mov byte [rbx + 0x74], al
call fcn.18026ff10
xor edx, edx
lea rcx, str.SDL_MOUSE_FOCUS_CLICKTHROUGH
call fcn.180227fa0
test eax, eax
je 0x180208216
test edi, ebp
je 0x180208216
mov rcx, qword [rbx]
movzx r9d, r14b
xor r8d, r8d
xor edx, edx
call fcn.18023a980
mov r14, qword [rsp + 0x58]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180208279
test r15d, r15d
mov eax, esi
cmove eax, r12d
movzx ebp, al
movzx eax, byte [rbx + 0x74]
lea ecx, [rbp - 1]
shl esi, cl
test eax, esi
je 0x180208264
btr eax, ecx
mov rcx, qword [rbx]
mov byte [rbx + 0x74], al
call fcn.18026ff10
xor edx, edx
lea rcx, str.SDL_MOUSE_FOCUS_CLICKTHROUGH
call fcn.180227fa0
test eax, eax
je 0x180208279
test edi, esi
je 0x180208279
mov rcx, qword [rbx]
movzx r9d, bpl
xor r8d, r8d
xor edx, edx
call fcn.18023a980
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
test ax, ax
js 0x1802082dc
movzx eax, byte [rbx + 0x74]
test al, 2
je 0x1802082c6
mov rcx, qword [rbx]
btr eax, 1
mov byte [rbx + 0x74], al
call fcn.18026ff10
xor edx, edx
lea rcx, str.SDL_MOUSE_FOCUS_CLICKTHROUGH
call fcn.180227fa0
test eax, eax
je 0x1802082dc
test dil, 2
je 0x1802082dc
mov rcx, qword [rbx]
mov r9b, 2
xor r8d, r8d
xor edx, edx
call fcn.18023a980
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18020832b
movzx eax, byte [rbx + 0x74]
test al, 8
je 0x180208315
mov rcx, qword [rbx]
btr eax, 3
mov byte [rbx + 0x74], al
call fcn.18026ff10
xor edx, edx
lea rcx, str.SDL_MOUSE_FOCUS_CLICKTHROUGH
call fcn.180227fa0
test eax, eax
je 0x18020832b
test dil, 8
je 0x18020832b
mov rcx, qword [rbx]
mov r9b, 4
xor r8d, r8d
xor edx, edx
call fcn.18023a980
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18020837a
movzx eax, byte [rbx + 0x74]
test al, 0x10
je 0x180208364
mov rcx, qword [rbx]
btr eax, 4
mov byte [rbx + 0x74], al
call fcn.18026ff10
xor edx, edx
lea rcx, str.SDL_MOUSE_FOCUS_CLICKTHROUGH
call fcn.180227fa0
test eax, eax
je 0x18020837a
test dil, 0x10
je 0x18020837a
mov rcx, qword [rbx]
mov r9b, 5
xor r8d, r8d
xor edx, edx
call fcn.18023a980
mov qword [rbx + 0x50], 0xffffffffffffffff
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x180208f30
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, qword [rcx + 0xd8]
mov ebp, edx
mov rsi, rcx
mov r14, qword [rdi + 8]
call fcn.18022fc90
xor ebx, ebx
cmp rax, rsi
sete bl
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
cmp rax, r14
sete cl
cmp ebx, ecx
je 0x180209173
cmp ecx, ebp
jne 0x180209173
cmp rax, r14
jne 0x1802090f8
mov ecx, 0x17
mov qword [rsp + 0x78], r15
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, 1
mov ebp, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r15d, 4
test ax, ax
je 0x180208fb4
test ebp, ebp
mov ecx, r15d
cmove ecx, ebx
or byte [rdi + 0x74], cl
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180208fcf
test ebp, ebp
mov eax, ebx
cmove eax, r15d
or byte [rdi + 0x74], al
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r15, qword [rsp + 0x78]
test ax, ax
je 0x180208fe6
or byte [rdi + 0x74], 2
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180208ffa
or byte [rdi + 0x74], 8
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18020900e
or byte [rdi + 0x74], 0x10
mov rcx, rsi
call fcn.180230760
call fcn.1802396f0
cmp dword [rax + 0x84], 0
jne 0x18020907c
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rsp + 0x80]
lea r8, [rsp + 0x74]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x70], rax
call fcn.18026e940
mov eax, dword [rsp + 0x74]
xor r8d, r8d
mov r9d, dword [rsp + 0x70]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18023a9a0
mov rcx, rdi
call fcn.180208170
mov rcx, rsi
call fcn.18026ff10
mov rcx, qword [rdi + 0xb0]
call fcn.180269410
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
and eax, ebx
mov ecx, 0x2000
mov edx, eax
call fcn.180230a50
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
and eax, ebx
mov ecx, 0x1000
mov edx, eax
call fcn.180230a50
mov ecx, 0x91
call qword [sym.imp.USER32.dll_GetKeyState]
and eax, ebx
mov ecx, 0x8000
mov edx, eax
call fcn.180230a50
mov rcx, qword [rdi]
mov edx, ebx
call fcn.1802702c0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor ecx, ecx
mov dword [rdi + 0x88], 1
call fcn.180230760
call fcn.1802396f0
cmp dword [rax + 0x84], 0
je 0x18020911e
xor ecx, ecx
call fcn.18023ae90
call fcn.18026b8f0
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClipCursor]
test eax, eax
je 0x180209169
mov r8d, 0x10
lea rdx, [rdi + 0x8c]
lea rcx, [rsp + 0x30]
call fcn.180203da0
test eax, eax
jne 0x180209169
xor ecx, ecx
call qword [sym.imp.USER32.dll_ClipCursor]
xor edx, edx
lea rcx, [rdi + 0x8c]
mov r8d, 0x10
call fcn.18024e1c0
mov dword [rdi + 0x88], 0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1802139d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
movzx eax, byte [rcx]
mov r9d, 0x7fff
movdqa xmm0, xmmword [0x180392bf0]
mov r10, rcx
movsx r11d, dx
mov dword [rbp - 0x79], 0x80007
mov dword [rbp - 0x75], 0xa0009
mov dword [rbp - 0x71], 0xc000b
mov dword [rbp - 0x6d], 0xe000d
mov dword [rbp - 0x69], 0x110010
mov dword [rbp - 0x65], 0x150013
mov dword [rbp - 0x61], 0x190017
mov dword [rbp - 0x5d], 0x1f001c
mov dword [rbp - 0x59], 0x250022
mov dword [rbp - 0x55], 0x2d0029
mov dword [rbp - 0x51], 0x370032
mov dword [rbp - 0x4d], 0x42003c
mov dword [rbp - 0x49], 0x500049
mov dword [rbp - 0x45], 0x610058
mov dword [rbp - 0x41], 0x76006b
mov dword [rbp - 0x3d], 0x8f0082
mov dword [rbp - 0x39], 0xad009d
mov dword [rbp - 0x35], 0xd100be
mov dword [rbp - 0x31], 0xfd00e6
mov dword [rbp - 0x2d], 0x1330117
mov dword [rbp - 0x29], 0x1730151
mov dword [rbp - 0x25], 0x1c10198
mov dword [rbp - 0x21], 0x22001ee
mov dword [rbp - 0x1d], 0x2920256
mov dword [rbp - 0x19], 0x31c02d4
mov dword [rbp - 0x15], 0x3c3036c
mov dword [rbp - 0x11], 0x48e0424
mov dword [rbp - 0xd], 0x5830502
mov dword [rbp - 9], 0x6ab0610
mov dword [rbp - 5], 0x8120756
mov dword [rbp - 1], 0x9c308e0
mov dword [rbp + 3], 0xbd00abd
mov dword [rbp + 7], 0xe4c0cff
mov dword [rbp + 0xb], 0x114c0fba
mov dword [rbp + 0xf], 0x14ee1307
mov dword [rbp + 0x13], 0x19541706
mov dword [rbp + 0x17], 0x1ea51bdc
mov dword [rbp + 0x1b], 0x251521b6
mov dword [rbp + 0x1f], 0x2cdf28ca
mov dword [rbp + 0x23], 0x364b315b
mov dword [rbp + 0x27], 0x41b23bb9
mov dword [rbp + 0x2b], 0x4f7e4844
mov dword [rbp + 0x2f], 0x602f5771
mov dword [rbp + 0x33], 0x746269ce
mov word [rbp + 0x37], r9w
movdqu xmmword [rbp + 0x47], xmm0
cmp al, 0x58
jle 0x180213b3c
mov cl, 0x58
jmp 0x180213b45
xor edx, edx
mov ecx, eax
test al, al
cmovs ecx, edx
movsx rax, cl
movzx edx, word [rbp + rax*2 - 0x79]
movzx eax, r8b
add cl, byte [rbp + rax + 0x47]
mov byte [r10], cl
mov ecx, edx
shr ecx, 3
test r8b, 4
je 0x180213b66
add ecx, edx
test r8b, 2
je 0x180213b72
mov eax, edx
shr eax, 1
add ecx, eax
test r8b, 1
je 0x180213b7d
shr edx, 2
add ecx, edx
mov edx, ecx
neg edx
test r8b, 8
cmove edx, ecx
add edx, r11d
cmp edx, r9d
jle 0x180213b9d
movzx eax, r9w
add rsp, 0xd0
pop rbp
ret
mov eax, 0xffff8000
cmp edx, eax
cmovl edx, eax
movzx eax, dx
add rsp, 0xd0
pop rbp
ret