joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065050
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x14012ab70]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x1400650af
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x1400650b4
mov eax, 0x220
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x1400650f9
jne 0x1400650f9
mov eax, 1
jmp 0x1400650fb
xor eax, eax
ucomiss xmm0, xmm3
jp 0x14006510a
jne 0x14006510a
mov r15d, 2
jmp 0x14006510d
xor r15d, r15d
movss xmm2, dword [0x140101220]
or r15d, eax
comiss xmm3, xmm1
jb 0x140065129
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x140065129
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14006513a
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14006513a
movaps xmm0, xmm2
or dword [rdi + 0x47b8], 2
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x140065183
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.14005dd30
jmp 0x140065199
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.14005dd30
movss xmm6, dword [rdi + 0x37f8]
test sil, sil
jne 0x1400651b0
mov dword [rdi + 0x37f8], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.140067d90
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x1400651f6
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400f9b21]
not r9d
lea r10, [0x1400faaf0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140065223
cmp byte [rdx], r8b
jne 0x140065223
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140065210
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x140065253
xor edx, edx
xor ecx, ecx
call fcn.140061bf0
cmp dword [rdi + 0x48e0], r14d
jne 0x1400652a0
bt r12d, 0x17
jb 0x1400652a0
cmp word [rsi + 0x15c], 0
jne 0x140065276
cmp byte [rsi + 0x162], 0
je 0x1400652a0
xor edx, edx
mov rcx, rsi
call fcn.14006a3e0
xor edx, edx
mov rcx, rsi
call fcn.140070600
mov rdx, rsi
mov ecx, ebx
call fcn.140061bf0
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14006e8a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14010efb0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14012ab70]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x14006e901
cmp byte [rbx + 0x4a92], 0
jne 0x14006e901
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14005dcb0
test dil, 2
je 0x14006ea2f
jmp 0x14006e98a
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140101270]
mulss xmm1, dword [0x14010124c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x1401010a0]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.14005dcb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14006e9e0
lea r11, [0x1400faaf0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14006e9c3
cmp byte [r8], r9b
jne 0x14006e9c3
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 0x14006e9b0
not ecx
call fcn.1400655f0
test rax, rax
je 0x14006ea2f
cmp byte [rax + 0xb6], 0
je 0x14006ea2f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.14005dcb0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140067d90
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d6af0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140073820
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 + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400738c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14007387a
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.140075a20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14005ea10
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14012ab68]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400738cf
mov rcx, rbx
call fcn.14005ea10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140073c60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14012ab70]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140073cc3
mov qword [rsp], rbx
lea rbx, [0x1400faaf0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140073ca3
cmp byte [r8], r9b
jne 0x140073ca3
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 0x140073c90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140073cf7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140073cfe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140073ce4
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 0x140073fc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14012ab70]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5c0c], ecx
test rbx, rbx
je 0x14007402f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140074040
lea rdx, [0x1400fa644]
mov rcx, rbx
mov rdi, rax
call fcn.14005df00
mov rbx, rax
test rax, rax
je 0x14007402a
mov r8, qword [rsp + 0x30]
mov r9, rax
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140089690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x14012ab70]
mov r10, rcx
mov r9, qword [rcx + 0x180]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x1400896d3
addss xmm0, dword [rcx + 0x8c]
lea rsi, [r9 + 0x100]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc0]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x118], xmm0
subss xmm0, dword [r9 + 0x20]
subss xmm0, dword [r9 + 0x144]
movss dword [r9 + 0x148], xmm0
movsd xmm0, qword [r9 + 0x100]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
unpcklpd xmm0, xmm0
movups xmmword [r9 + 0x100], xmm0
mov eax, dword [rcx + 0x88]
mov dword [r9 + 0x138], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x158], eax
movss dword [r9 + 0x21c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x218], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x220], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1bc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xbb], al
cmp byte [rbx + 0x68], 0
je 0x14008978b
xor eax, eax
mov dword [rdi + 0x4778], eax
mov dword [rdi + 0x4780], eax
test dword [rcx + 4], 0x100000
je 0x14008979f
mov r8d, 2
jmp 0x14008981f
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x298]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x238], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x298]
mov rcx, qword [r10 + 0x198]
call fcn.1400814f0
cmp byte [rdi + 0x5ca8], 0
je 0x14008985d
cmp byte [rbx + 0x68], 0
jne 0x14008985d
xor r8d, r8d
lea rdx, [0x1400ff754]
mov rcx, rsi
call fcn.140073930
mov dword [rdi + 0x5cd8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14008b0a0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x14012ab70]
mov rdx, qword [rax + 0x4b48]
cmp ecx, 0xffffffff
jne 0x14008b0ba
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x14008b137
mov r10d, dword [rdx]
lea r8, [0x1400ff759]
movzx eax, word [rdx + 0x78]
lea r11, [0x1400faaf0]
not r10d
mov word [rdx + 0x218], cx
mov ecx, r10d
mov byte [rdx + 0x22f], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14008b113
cmp byte [r8], r9b
jne 0x14008b113
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 0x14008b100
not ecx
jmp fcn.14006eb00
ret
Function at 0x1400c4fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x14010efb0]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor r14d, r14d
mov esi, r8d
mov ebp, r9d
mov rbx, rdx
mov rdi, rcx
cmp dword [rcx + 0x10], r14d
je 0x1400c5043
cmp byte [rcx + 0x41], r14b
je 0x1400c501e
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400c503f
mov rdx, qword [rcx]
xor r8d, r8d
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.vulkan_1.dll_vkDestroyBuffer]
mov rdx, qword [rdi + 8]
xor r8d, r8d
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.vulkan_1.dll_vkFreeMemory]
mov dword [rdi + 0x10], r14d
movzx eax, byte [rsp + 0xe8]
mov byte [rdi + 0x40], al
mov eax, dword [rsp + 0xe0]
mov qword [rdi + 0x20], rbx
mov r10, qword [rbx + 0x1db8]
mov qword [rdi + 0x28], r10
mov dword [rdi + 0x30], ebp
or eax, dword [rbx + 0x43ec]
mov dword [rdi + 0x34], eax
cmp byte [rbx + 0x350], r14b
je 0x1400c5093
cmp ebp, 1
jne 0x1400c5093
test bpl, al
je 0x1400c5093
cmp byte [rsp + 0xf8], r14b
jne 0x1400c5093
movzx eax, bpl
jmp 0x1400c5095
xor al, al
mov byte [rdi + 0x41], al
mov dword [rdi + 0x10], esi
test esi, esi
je 0x1400c5184
mov rcx, rsi
test al, al
je 0x1400c50b9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0x38], rax
jmp 0x1400c5184
xorps xmm0, xmm0
mov qword [rsp + 0x58], rcx
xorps xmm1, xmm1
mov dword [rsp + 0x54], r14d
mov rcx, r10
mov dword [rsp + 0x40], 0xc
mov r9, rdi
mov dword [rsp + 0x60], ebp
xor r8d, r8d
mov dword [rsp + 0x64], r14d
lea rdx, [rsp + 0x40]
movdqu xmmword [rsp + 0x44], xmm0
movdqu xmmword [rsp + 0x68], xmm1
call qword [sym.imp.vulkan_1.dll_vkCreateBuffer]
mov ecx, eax
call fcn.1400af870
mov rdx, qword [rdi]
lea r8, [rsp + 0x78]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.vulkan_1.dll_vkGetBufferMemoryRequirements]
mov rax, qword [rsp + 0x78]
mov r8d, dword [rdi + 0x34]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x24], r14
mov dword [rsp + 0x2c], r14d
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x20], 5
call fcn.1400b2ad0
mov rcx, qword [rdi + 0x28]
lea r9, [rdi + 8]
xor r8d, r8d
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x20]
call qword [sym.imp.vulkan_1.dll_vkAllocateMemory]
mov ecx, eax
call fcn.1400af870
mov r8, qword [rdi + 8]
xor r9d, r9d
mov rdx, qword [rdi]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.vulkan_1.dll_vkBindBufferMemory]
mov ecx, eax
call fcn.1400af870
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d6af0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400cb620
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x140127a60], 0
jne 0x1400cb635
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400cc2a0
jmp fcn.1400cd1b0

Function at 0x1400cb6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x140127a60], 0
mov r10d, r9d
mov r11d, r8d
jne 0x1400cb6db
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400cc2a0
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x30]
test r8d, r8d
jle 0x1400cb730
test r9d, r9d
jle 0x1400cb730
mov eax, dword [rsp + 0x38]
cmp eax, 0xfffffffe
jg 0x1400cb70c
mov r8d, eax
lea rdx, str.Invalid_refresh_rate__i
mov ecx, 0x10004
jmp fcn.1400cc2a0
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r8d
mov dword [rcx + 0x2c], r8d
mov r8d, r11d
mov dword [rcx + 0x30], r9d
mov r9d, r10d
mov dword [rcx + 0x40], eax
jmp fcn.1400cd6d0
lea rdx, str.Invalid_window_size__ix_i
mov ecx, 0x10004
jmp fcn.1400cc2a0

Function at 0x1400cb770
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x140127a60], 0
jne 0x1400cb785
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400cc2a0
jmp 0x1400cdc10
sub rsp, 0x28
call qword [sym.imp.USER32.dll_WaitMessage]
add rsp, 0x28
jmp fcn.1400cd1b0

Function at 0x1400cc990
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbp, r9
mov r8, r9
mov rsi, rdx
mov rbx, rcx
call fcn.1400ce000
test eax, eax
je 0x1400ccae3
cmp dword [rdi], 0
je 0x1400cca51
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x1400cc9f0
call fcn.1400d4550
test eax, eax
je 0x1400ccae3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400d40d0
jmp 0x1400cca36
cmp eax, 0x36002
jne 0x1400cca14
call fcn.1400d5950
test eax, eax
je 0x1400ccae3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400d5440
jmp 0x1400cca36
cmp eax, 0x36003
jne 0x1400cca3e
call fcn.1400d6790
test eax, eax
je 0x1400ccae3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400d6550
test eax, eax
je 0x1400ccae3
mov rdx, rdi
mov rcx, rbx
call fcn.1400d1670
test eax, eax
je 0x1400ccae3
cmp qword [rbx + 0x48], 0
je 0x1400ccab6
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rbx
call fcn.1400cddc0
mov rcx, rbx
call fcn.1400ce710
cmp dword [rsi + 0x2c], 0
je 0x1400ccadc
mov rcx, rbx
call fcn.1400c91a0
mov eax, 1
jmp 0x1400ccae5
cmp dword [rsi + 0x14], 0
je 0x1400ccadc
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x1400ccadc
mov rcx, rbx
call fcn.1400ccc90
mov eax, 1
jmp 0x1400ccae5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cd1b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14010efb0]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400cd24a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400cd215
mov rbx, qword [0x140127e50]
test rbx, rbx
je 0x1400cd22b
mov rcx, rbx
call fcn.1400cad60
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400cd203
jmp 0x1400cd22b
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400cd1f0
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400cd347
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1400cd33f
movdqa xmm0, xmmword [0x1400f6fc0]
xor ebx, ebx
movdqa xmm1, xmmword [0x1400f6fd0]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x140129538]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400cd30e
cmp byte [rbp + rdi + 0x88], 1
jne 0x1400cd30e
call fcn.1400ce7b0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400c94b0
inc rbx
cmp rbx, 4
jl 0x1400cd2d0
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x140129ed8]
test rbx, rbx
je 0x1400cd3cc
mov rcx, qword [rbx + 0x350]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
cmp dword [rbx + 0x388], eax
jne 0x1400cd38e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x1400cd3cc
mov rcx, qword [rbx + 0x350]
mov eax, r8d
cdq
mov dword [rsp + 0x60], r9d
sub eax, edx
mov dword [rbx + 0x388], r9d
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400d6af0
add rsp, 0xa0
pop rbx
ret
Function at 0x1400cdc10
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x140127a60], 0
jne 0x1400cb785
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400cc2a0
jmp 0x1400cdc10
sub rsp, 0x28
call qword [sym.imp.USER32.dll_WaitMessage]
add rsp, 0x28
jmp fcn.1400cd1b0

Function at 0x1400ce500
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x140129ed8], rcx
lea rdi, [rcx + 0x350]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400ce55c
mov rcx, qword [rdi]
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 [0x140129ec8], xmm0
movsd qword [0x140129ed0], xmm1
cmp dword [rbx + 0x7c], 0x34001
jne 0x1400ce5a0
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400ce581
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetCursor]
lea rdi, [rbx + 0x350]
jmp 0x1400ce5a8
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rdi, [rbx + 0x350]
jmp 0x1400ce5a8
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.1400c91a0
mov rcx, rbx
call fcn.1400ce950
cmp dword [rbx + 0x1f8], 0
je 0x1400ce5fb
mov rax, qword [rdi]
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 0x1400ce5fb
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400d3090
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ce610
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x1f8], 0
mov rbx, rcx
je 0x1400ce660
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 0x1400ce660
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400d3090
xor ecx, ecx
mov qword [0x140129ed8], 0
call fcn.1400ce950
cvttsd2si ecx, qword [0x140129ec8]
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x140129ed0]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x388], ecx
mov rcx, qword [rbx + 0x350]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x38c], 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]
cmp dword [rbx + 0x7c], 0x34001
jne 0x1400ce6f4
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400ce6d8
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]
xor ecx, ecx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
Function at 0x1400ce7b0
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 esi, 0x8000
or edi, 2
mov ecx, 0x12
test si, ax
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, si
mov ecx, 0x5c
mov esi, edi
or esi, 4
test ax, ax
cmove 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 0x1400d1f60
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x1400d1f90
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400d3090
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret