joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011a00
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001af50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x140033018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14003b068]
call fcn.140011a1e
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x14001afb6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001afbd
mov al, 1
jmp 0x14001b117
call fcn.1400112ee
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.1400112ee
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.140011870
movzx eax, al
test eax, eax
je 0x14001b018
xor al, al
jmp 0x14001b117
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x14001b07d
cmp dword [rbp + 0x194], 1
je 0x14001b088
cmp dword [rbp + 0x194], 3
je 0x14001b106
jmp 0x14001b115
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001b0d8
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001b0d8
xor al, al
jmp 0x14001b117
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001b0f3
mov dword [rbp + 0x194], 1
jmp 0x14001b0fd
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x14001b117
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001b117
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002cc70]
call fcn.140011852
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.140011505
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x4863c0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x00400000], 0x5a4d
je 0x4863fd
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x00400000]
jmp 0x48648b
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x486421
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x48648b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x486468
cmp ecx, 0x20b
je 0x486440
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x48648b
cmp dword [rax + 0x84], 0xe
ja 0x486454
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x48648b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x48648b
cmp dword [rax + 0x74], 0xe
ja 0x486479
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x48648b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x004bc360], 0xffffffffffffffff
mov qword [0x004bc368], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x004bbde4]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x004bbde0]
mov dword [rcx], eax
call fcn.00486670
cmp dword [0x004bb0f0], 0
jne 0x4864e5
lea rcx, [fcn.00486670]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x004879e8]
lea rcx, [0x004879e0]
call fcn.00564000
mov r11d, dword [0x004bbddc]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x004bbdd8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x004879d8]
lea rcx, [0x00487930]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x486586
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x486576
cmp al, 0x22
je 0x486576
jmp 0x486560
cmp byte [r8], 0x22
jne 0x486596
inc r8
mov qword [rsp + 0x30], r8
jmp 0x486596
cmp byte [r8], 0x20
jbe 0x486596
inc r8
mov qword [rsp + 0x30], r8
jmp 0x486586
movzx eax, byte [r8]
test al, al
je 0x4865ac
cmp al, 0x20
ja 0x4865ac
inc r8
mov qword [rsp + 0x30], r8
jmp 0x486596
test byte [rsp + 0x8c], 1
je 0x4865c1
movzx r9d, word [rsp + 0x90]
jmp 0x4865c7
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.0044a454
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x4865e3
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x486607
mov eax, edi
jmp 0x486610
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x1400025a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140087474], 0
lea rdi, [0x140087470]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002678
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400025d0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400026ae
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002690
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400026ef
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400026d3
cmp byte [r8], r9b
jne 0x1400026d3
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 [rdi + rdx*4]
test r9b, r9b
jne 0x1400026c0
not eax
pop rdi
ret
Function at 0x140011400
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140086fb0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14001152a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test r8d, r8d
jns 0x14001145e
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140012430
mov eax, esi
mov dword [rbx], esi
cmp dword [rbx + 4], eax
jne 0x140011476
mov edx, 8
mov rcx, rbx
call fcn.140012430
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x1400114ca
mov qword [rsp + 0x50], r14
mov r14, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x1400114a0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x1400114d9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x1400399a4]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140086fa8]
mov rcx, r15
cmovne rdi, rax
call fcn.140002700
mov rbx, rax
test rax, rax
je 0x140011525
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001cc70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001ce27
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001cd06
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001c650
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001bc60
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001ccf7
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140012180
mov dword [rbx + 0x80], 0
jmp 0x14001ce13
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001ab80
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002ef10
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140086010]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x140087058]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14002ef45
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400870a8]
lea rdx, [0x140087418]
mov rcx, qword [0x140087058]
mov r9, qword [0x1400873f8]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140086fe0]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
mov dword [0x140086fe0], eax
mov eax, dword [0x14008706c]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x140086fec], rbx
lea r8d, [rbx + 1]
mov qword [0x140086ff8], 1
mov qword [0x140087014], rbx
mov dword [0x14008701c], ebx
mov dword [0x140086fe4], eax
mov dword [0x140086fe8], 0x15
mov dword [0x140086ff4], ebx
mov dword [0x140087010], 0x50
mov dword [0x14008700c], 1
mov qword [0x140087000], r9
mov dword [0x140087008], 1
mov rax, qword [rcx]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x20], 0x20
call qword [rax + 0x80]
call fcn.1400048c0
mov rsi, qword [0x140086fb0]
lea rcx, [0x1400873b8]
mov rdi, qword [0x1400873f8]
mov qword [rsi + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002f10e
lea rcx, [0x1400873b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002f10e
mov rcx, qword [0x140086fb0]
lea rax, str.imgui_impl_win32
mov qword [0x1400873a8], rdi
or dword [rcx + 0xc], 6
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rdi
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], 0x25
mov dword [rcx + 0x44], 0x27
mov dword [rcx + 0x48], 0x26
mov dword [rcx + 0x4c], 0x28
mov dword [rcx + 0x50], 0x21
mov dword [rcx + 0x54], 0x22
mov dword [rcx + 0x58], 0x24
mov dword [rcx + 0x5c], 0x23
mov dword [rcx + 0x60], 0x2d
mov dword [rcx + 0x64], 0x2e
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], 0x20
mov dword [rcx + 0x70], 0xd
mov dword [rcx + 0x74], 0x1b
mov dword [rcx + 0x78], 0x41
mov dword [rcx + 0x7c], 0x43
mov dword [rcx + 0x80], 0x56
mov dword [rcx + 0x84], 0x58
mov dword [rcx + 0x88], 0x59
mov dword [rcx + 0x8c], 0x5a
jmp 0x14002f115
mov rcx, qword [0x140086fb0]
mov rax, qword [0x140087418]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rdx
xor ecx, ecx
mov qword [0x140087398], rax
call fcn.140019c10
movdqa xmm0, xmmword [0x14007f0f0]
mov rdi, qword [rsp + 0x70]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x20342613
mov dword [rsp + 0x54], 0x373b3537
mov dword [rsp + 0x58], 0x2e2d7635
mov word [rsp + 0x5c], 0x3d
mov rcx, qword [rsi + 0xa0]
mov rsi, qword [rsp + 0x88]
nop dword [rax]
movsxd rdx, ebx
lea eax, [rbx + 0x3f]
inc ebx
xor byte [rsp + rdx + 0x40], al
cmp ebx, 0x1d
jb 0x14002f180
movss xmm2, dword [0x14007ef7c]
lea rax, [0x14007e31c]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x5d], 0
call fcn.14001d850
mov rbx, qword [rsp + 0x80]
mov qword [0x140087070], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400365d0
add rsp, 0x78
ret
Function at 0x140006ed0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1400ed140]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor eax, eax
xor r12d, r12d
mov qword [rcx + 0x20], rax
mov rsi, rdx
mov qword [rcx + 0x10], rax
mov rbx, rcx
mov qword [rcx + 8], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x28], rax
lea ecx, [rax + 2]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006f8a
lea rcx, [rsp + 0x6c]
mov r8, rsi
sub r8, rcx
nop dword [rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140006f74
add rcx, 2
test eax, eax
jne 0x140006f60
mov rcx, rdi
test edx, edx
je 0x140006fc5
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006f51
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [rbx + 8], r12
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400c27c0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x48]
mov qword [rbx + 8], rax
test rax, rax
je 0x140006f97
mov rcx, rbx
call fcn.140007120
mov rcx, qword [rbx]
lea r8, [rsp + 0x30]
mov r9d, 8
lea rdi, [rax + 0x448]
mov r10, qword [rcx + 0x10]
lea rdx, [rdi + 8]
mov rcx, rbx
call r10
test al, al
je 0x140006f97
mov qword [rsp + 0x28], rdi
cmp rdi, qword [rsp + 0x30]
je 0x140006f97
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx]
lea r8, [rsp + 0x38]
add rdi, 0xfffffffffffffbb8
mov r9d, 8
mov rcx, rbx
lea rdx, [rdi + 0x498]
call qword [rax + 0x10]
test al, al
je 0x140006f97
mov rax, qword [rbx]
lea rdx, [rdi + 0x440]
mov r9d, 4
lea r8, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
je 0x140006f97
cmp qword [rsp + 0x38], r12
je 0x14000707e
mov eax, dword [rsp + 0x20]
cmp rax, qword [rbx + 8]
je 0x1400070ac
mov rax, qword [rbx]
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x28]
mov r9d, 8
mov rcx, rbx
call qword [rax + 0x10]
mov rdi, qword [rsp + 0x28]
cmp rdi, qword [rsp + 0x30]
jne 0x140007020
jmp 0x140006f97
mov rax, qword [rbx]
lea rdx, [rdi + 0x28]
mov r9d, 8
lea r8, [rbx + 0x28]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
je 0x140006f97
mov rax, qword [rbx]
lea rdx, [rdi + 0x520]
mov r9d, 8
lea r8, [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
je 0x140006f97
mov rax, qword [rbx]
lea rdx, [rdi + 0x550]
mov r9d, 8
lea r8, [rbx + 0x18]
mov rcx, rbx
call qword [rax + 0x10]
test al, al
je 0x140006f97
mov qword [rbx + 0x20], rdi
mov al, 1
jmp 0x140006f99
Function at 0x14000a0a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ed140]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rdi + 0x28]
jne 0x14000a2b4
mov qword [rsp + 0x98], rbx
mov edx, 3
mov qword [rsp + 0xa0], rsi
mov rcx, rax
movaps xmmword [rsp + 0x70], xmm6
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [rdi + 0x20]
xor esi, esi
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x48]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov rbx, qword [rdi + 0x28]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
call fcn.140034050
lea rcx, [rsp + 0x58]
mov qword [rax + 0xc0], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x40]
movd xmm6, dword [rsp + 0x58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm6, xmm6
subss xmm6, xmm0
call fcn.140034050
movss dword [rax + 0xdf8], xmm6
movd xmm6, dword [rsp + 0x5c]
movd xmm0, dword [rsp + 0x44]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
call fcn.140034050
lea ecx, [rsi + 1]
movss dword [rax + 0xdfc], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rsp + 0x98]
test ax, ax
je 0x14000a213
call fcn.140034050
mov byte [rax + 0xe00], 1
call fcn.140034050
mov byte [rax + 0x3738], 1
call fcn.140034050
movss xmm6, dword [rax + 0xdf8]
call fcn.140034050
movss dword [rax + 0x36e8], xmm6
call fcn.140034050
movss xmm6, dword [rax + 0xdfc]
call fcn.140034050
movss dword [rax + 0x36e8], xmm6
jmp 0x14000a21f
call fcn.140034050
mov byte [rax + 0xe00], sil
mov eax, dword [0x1400f6550]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rsp + 0x48], eax
jne 0x14000a254
cmp edx, dword [0x1400f6558]
jne 0x14000a254
mov eax, dword [0x1400f6554]
cmp dword [rsp + 0x4c], eax
jne 0x14000a254
cmp ecx, dword [0x1400f655c]
je 0x14000a2ac
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [rdi + 0x3c], edx
xor edx, edx
mov dword [rdi + 0x40], ecx
mov rcx, qword [rdi + 0x20]
movups xmmword [0x1400f6550], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x18]
xor edx, edx
mov r9d, dword [rdi + 0x40]
mov r8d, dword [rdi + 0x3c]
mov dword [rsp + 0x28], esi
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x1c
call qword [rax + 0x68]
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c27c0
add rsp, 0x80
pop rdi
ret
Function at 0x140021490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.140013300
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x40]
call fcn.140013300
movss xmm0, dword [rsp + 0x3c]
ucomiss xmm0, dword [0x1400d05a4]
jp 0x1400214ef
je 0x140021503
movss xmm0, dword [rsp + 0x44]
divss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x30], xmm0
jmp 0x14002150c
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x38]
ucomiss xmm0, dword [0x1400d05a4]
jp 0x14002151d
je 0x140021531
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x34], xmm0
jmp 0x14002153a
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
movss xmm2, dword [rsp + 0x30]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x58]
call fcn.140004160
movsxd rax, dword [rsp + 0xd8]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0xd0]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0xe0]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0xd0]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x108]
test eax, eax
je 0x140021687
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x68]
call fcn.14001eba0
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x60]
call fcn.14001ec50
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
jmp 0x1400215e8
mov rax, qword [rsp + 0x20]
add rax, 0x14
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x20], rax
jae 0x140021682
mov rax, qword [rsp + 0x20]
movss xmm2, dword [rax + 4]
mov rax, qword [rsp + 0x20]
movss xmm1, dword [rax]
lea rcx, [rsp + 0x70]
call fcn.140004160
mov r8, qword [rsp + 0xe8]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140013300
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14001f0a0
mov r8, rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x88]
call fcn.1400132a0
mov r9, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14001ed00
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
jmp 0x1400215da
jmp 0x140021723
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x1400216a1
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x28], rax
jae 0x140021723
mov rax, qword [rsp + 0x28]
movss xmm2, dword [rax + 4]
mov rax, qword [rsp + 0x28]
movss xmm1, dword [rax]
lea rcx, [rsp + 0x98]
call fcn.140004160
mov r8, qword [rsp + 0xe8]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140013300
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14001f0a0
mov r8, rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xb0]
call fcn.1400132a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
jmp 0x140021693
add rsp, 0xc8
ret