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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1402560b8]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov r15, qword [rdi + 0x3ed8]
cmp qword [r15 + 0x1a8], 0
jne 0x140033e47
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x140033e4c
mov eax, 0x220
movss xmm4, dword [rax + r15]
xorps xmm3, xmm3
movss xmm5, dword [rax + r15 + 4]
xor ebx, ebx
cvttss2si eax, dword [r8]
subss xmm4, dword [r15 + 0x100]
subss xmm5, dword [r15 + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x140033e93
lea eax, [rbx + 1]
je 0x140033e95
mov eax, ebx
ucomiss xmm0, xmm3
jp 0x140033ea1
jne 0x140033ea1
mov ebx, 2
movss xmm2, dword [0x1401a6c48]
or ebx, eax
comiss xmm3, xmm1
jb 0x140033ebc
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x140033ebc
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x140033ecd
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x140033ecd
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 [r15 + 8]
test rcx, rcx
je 0x140033f16
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14002c810
jmp 0x140033f2c
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.14002c810
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.140036ba0
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], bl
jne 0x140033f7d
movsd xmm0, qword [rsi + 0x20]
movsd qword [r15 + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1401a1151]
not r9d
lea r10, [0x140185f90]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x140033faa
cmp byte [rdx], r8b
jne 0x140033faa
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 0x140033f97
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x140033fda
xor edx, edx
xor ecx, ecx
call fcn.1400307e0
cmp dword [rdi + 0x48e0], r14d
jne 0x140034020
cmp word [rsi + 0x15c], 0
jne 0x140033ff6
cmp byte [rsi + 0x162], 0
je 0x140034020
xor edx, edx
mov rcx, rsi
call fcn.140039000
xor edx, edx
mov rcx, rsi
call fcn.14003f760
mov rdx, rsi
mov ecx, ebx
call fcn.1400307e0
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14003d510
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401c8c00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1402560b8]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x14003d571
cmp byte [rbx + 0x4a92], 0
jne 0x14003d571
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14002c790
test dil, 2
je 0x14003d69f
jmp 0x14003d5fa
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401a6c70]
mulss xmm1, dword [0x1401a6c60]
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 [0x1401a69f0]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.14002c790
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14003d650
lea r11, [0x140185f90]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14003d633
cmp byte [r8], r9b
jne 0x14003d633
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 0x14003d620
not ecx
call fcn.140034370
test rax, rax
je 0x14003d69f
cmp byte [rax + 0xb6], 0
je 0x14003d69f
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, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.14002c790
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140036ba0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140131b90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140043400
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 + 0x5d10], 0
lea rbx, [rcx + 0x5d18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400434a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004345a
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.1400458c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002d2a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5d10]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5d20]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140255ecb]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400434af
mov rcx, rbx
call fcn.14002d2a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140043930
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402560b8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140043993
mov qword [rsp], rbx
lea rbx, [0x140185f90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140043973
cmp byte [r8], r9b
jne 0x140043973
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 0x140043960
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c80]
not eax
mov r8, qword [r10 + 0x5c88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400439bf
cmp dword [r8 + 8], eax
je 0x1400439c6
add r8, 0x48
cmp r8, rcx
jne 0x1400439b0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140077490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov edi, edx
and edi, 7
je 0x140077524
cmp edx, edi
jge 0x140077515
mov r8d, dword [rcx + 0x18]
mov eax, 1
mov ecx, edx
mov r10d, edx
shl eax, cl
mov r9d, edx
cmp r8d, eax
jae 0x14007750b
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x1400774d3
xor cl, cl
jmp 0x1400774dc
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r10 + 8]
mov ecx, r10d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x18], r8d
cmp edx, 0x18
jg 0x140077515
mov ecx, edx
mov eax, 1
shl eax, cl
mov r10d, edx
mov r9d, edx
cmp r8d, eax
jb 0x1400774c7
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x18]
mov ecx, edi
shr eax, cl
sub edx, edi
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov eax, edx
test edx, edx
jle 0x14007755e
mov ecx, dword [rbx + 0x18]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x18], ecx
movzx r9d, cl
test eax, eax
jg 0x140077540
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14007758b
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x1400775bf
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax + rax]
cmp rax, r8
jb 0x1400775a9
xor dl, dl
jmp 0x1400775b2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1400775a0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140077562
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140077628
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x20]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x30]
jbe 0x140077646
mov rcx, rbx
call fcn.140076890
test eax, eax
je 0x14007757e
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x20], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a36f0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 8]
lea r8, str.Updater.exe
mov dword [rsp + 0x28], 1
lea rdx, str.runas
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov rbx, qword [rax]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x1400a373e
mov edx, 1
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.1400a7a70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:
mov ebx, eax
call fcn.1400122d0
mov edx, ebx
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
Function at 0x1400a43d0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
lea rcx, str.rasdial__d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
jne 0x1400a44bf
mov rax, qword [0x140256748]
mov qword [rsp + 0x20], rbx
cmp rax, 0x20
jb 0x1400a4434
cmp rax, 0xf
mov qword [0x140256740], 0x20
lea rbx, [0x140256730]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
cmova rbx, qword [0x140256730]
lea rdx, str.You_arent_connected_to_any_VPN.
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x20], 0
jmp 0x1400a444c
lea r9, str.You_arent_connected_to_any_VPN.
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [0x140256730]
call fcn.140004ca0
mov rax, qword [0x140256768]
cmp rax, 0x3a
jb 0x1400a4492
cmp rax, 0xf
mov qword [0x140256760], 0x3a
lea rbx, [0x140256750]
mov r8d, Ordinal_60
cmova rbx, qword [0x140256750]
lea rdx, str.__newline__Select_the_location_you_want_and_press_connect.
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x3a], 0
jmp 0x1400a44aa
lea r9, str.__newline__Select_the_location_you_want_and_press_connect.
mov edx, Ordinal_60
lea rcx, [0x140256750]
call fcn.140004ca0
mov byte [0x1402560af], 0
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.14009d580
add rsp, 0x28
ret
Function at 0x1400a7950
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14021be50], 0
jne 0x1400a7965
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400aa350
jmp 0x1400ab390
push rbx
sub rsp, 0xa0
mov rax, qword [0x1401c8c00]
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 0x1400ab42a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400ab3f5
mov rbx, qword [0x14021c240]
test rbx, rbx
je 0x1400ab40b
mov rcx, rbx
call fcn.1400a7070
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400ab3e3
jmp 0x1400ab40b
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 0x1400ab3d0
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400ab527
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 0x1400ab51f
movdqa xmm0, xmmword [0x1401534f0]
xor ebx, ebx
movdqa xmm1, xmmword [0x140153500]
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, [0x14021d928]
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 0x1400ab4ee
cmp byte [rbp + rdi + 0x88], 1
jne 0x1400ab4ee
call fcn.1400acf10
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400a8300
inc rbx
cmp rbx, 4
jl 0x1400ab4b0
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 [0x14021e2c8]
test rbx, rbx
je 0x1400ab5ac
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 0x1400ab56e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x1400ab5ac
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.140131b90
add rsp, 0xa0
pop rbx
ret
Function at 0x1400aaa50
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.1400ac760
test eax, eax
je 0x1400aaba3
cmp dword [rdi], 0
je 0x1400aab11
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x1400aaab0
call fcn.1400b2890
test eax, eax
je 0x1400aaba3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400b2410
jmp 0x1400aaaf6
cmp eax, 0x36002
jne 0x1400aaad4
call fcn.1400b3c90
test eax, eax
je 0x1400aaba3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400b3780
jmp 0x1400aaaf6
cmp eax, 0x36003
jne 0x1400aaafe
call fcn.1400b4ad0
test eax, eax
je 0x1400aaba3
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400b4890
test eax, eax
je 0x1400aaba3
mov rdx, rdi
mov rcx, rbx
call fcn.1400ae6c0
test eax, eax
je 0x1400aaba3
cmp qword [rbx + 0x48], 0
je 0x1400aab76
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.1400ac280
mov rcx, rbx
call fcn.1400ace70
cmp dword [rsi + 0x2c], 0
je 0x1400aab9c
mov rcx, rbx
call fcn.1400a7ff0
mov eax, 1
jmp 0x1400aaba5
cmp dword [rsi + 0x14], 0
je 0x1400aab9c
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x1400aab9c
mov rcx, rbx
call fcn.1400aac80
mov eax, 1
jmp 0x1400aaba5
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 0x1400ab390
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14021be50], 0
jne 0x1400a7965
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400aa350
jmp 0x1400ab390
push rbx
sub rsp, 0xa0
mov rax, qword [0x1401c8c00]
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 0x1400ab42a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400ab3f5
mov rbx, qword [0x14021c240]
test rbx, rbx
je 0x1400ab40b
mov rcx, rbx
call fcn.1400a7070
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400ab3e3
jmp 0x1400ab40b
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 0x1400ab3d0
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400ab527
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 0x1400ab51f
movdqa xmm0, xmmword [0x1401534f0]
xor ebx, ebx
movdqa xmm1, xmmword [0x140153500]
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, [0x14021d928]
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 0x1400ab4ee
cmp byte [rbp + rdi + 0x88], 1
jne 0x1400ab4ee
call fcn.1400acf10
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400a8300
inc rbx
cmp rbx, 4
jl 0x1400ab4b0
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 [0x14021e2c8]
test rbx, rbx
je 0x1400ab5ac
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 0x1400ab56e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x1400ab5ac
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.140131b90
add rsp, 0xa0
pop rbx
ret
Function at 0x1400ac4c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
xor r10d, r10d
mov edi, r8d
mov rbx, rdx
mov r11d, 0x7fffffff
test ecx, ecx
jle 0x1400ac526
mov qword [rsp + 0x10], rsi
imul edi, r9d
mov r9, rdx
mov esi, ecx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, r11d
imul eax, dword [rbx]
lea rbx, [rbx + 0x10]
mov r8, r10
mov r10, r9
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, r11d
cmovl r11d, eax
cmp eax, ecx
cmovge r10, r8
add r9, 0x10
sub rsi, 1
jne 0x1400ac4f0
mov rsi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rax, r10
pop rdi
ret

Function at 0x1400acc60
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x14021e2c8], rcx
lea rdi, [rcx + 0x350]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400accbc
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 [0x14021e2b8], xmm0
movsd qword [0x14021e2c0], xmm1
cmp dword [rbx + 0x7c], 0x34001
jne 0x1400acd00
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400acce1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetCursor]
lea rdi, [rbx + 0x350]
jmp 0x1400acd08
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 0x1400acd08
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.1400a7ff0
mov rcx, rbx
call fcn.1400ad0b0
cmp dword [rbx + 0x1f8], 0
je 0x1400acd5b
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 0x1400acd5b
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400b13b0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400acd70
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x1f8], 0
mov rbx, rcx
je 0x1400acdc0
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 0x1400acdc0
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400b13b0
xor ecx, ecx
mov qword [0x14021e2c8], 0
call fcn.1400ad0b0
cvttsd2si ecx, qword [0x14021e2b8]
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x14021e2c0]
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 0x1400ace54
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1400ace38
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 0x1400acf10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, reloc.WS2_32.dll_recvfrom
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov esi, 0x8000
or edi, 2
mov ecx, reloc.WS2_32.dll_select
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, reloc.WS2_32.dll_sendto
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 0x1400af050
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 0x1400af080
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400b13b0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret