joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c3090
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0xd0], WSAGetLastError
lea rcx, [rsp + 0x88]
call fcn.1800057f0
nop
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x88]
call fcn.18001e080
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.180005160
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x60]
call fcn.180005150
mov qword [rsp + 0x68], rax
jmp 0x1800c3124
mov rax, qword [rsp + 0x58]
add rax, 0x20
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x58], rax
je 0x1800c318a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x70]
lea rdx, [0x1801799d0]
lea rcx, [rsp + 0xa8]
call fcn.180020cc0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.18001e080
nop
lea rcx, [rsp + 0xa8]
call fcn.180005580
jmp 0x1800c3116
lea rcx, [rsp + 0x88]
call fcn.180005490
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1800c31ef
mov byte [rsp + 0x50], 1
jmp 0x1800c31f4
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x51], al
lea rcx, [rsp + 0x88]
call fcn.180005580
nop
mov rcx, qword [rsp + 0x150]
call fcn.180005580
nop
mov rcx, qword [rsp + 0x158]
call fcn.18001dfa0
movzx eax, byte [rsp + 0x51]
add rsp, 0x140
pop rdi
ret
Function at 0x1800c3240
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov rcx, qword [rsp + 0x370]
call fcn.180020a60
movzx eax, al
test eax, eax
je 0x1800c3267
xor al, al
jmp 0x1800c349a
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x38]
call fcn.180005750
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1801799f0]
lea rcx, [rsp + 0x38]
call fcn.180005420
cmp rax, 0xffffffffffffffff
je 0x1800c32c4
mov r8, 0xffffffffffffffff
lea rdx, str.....
lea rcx, [rsp + 0x38]
call fcn.180005420
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800c57d0
lea rdx, [0x1801799e0]
lea rcx, [rsp + 0x38]
call fcn.1800c5820
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x120], 0x238
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1800c3322
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x38]
call fcn.180005580
movzx eax, byte [rsp + 0x20]
jmp 0x1800c349a
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x14c]
mov rcx, qword [rsp + 0x58]
call fcn.1800056f0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xc0]
call fcn.1800c03e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.180005750
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.1800c03e0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.1800c5760
test eax, eax
jne 0x1800c33e8
mov dword [rsp + 0x24], 1
jmp 0x1800c33f0
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0xa0]
call fcn.180005580
nop
lea rcx, [rsp + 0xc0]
call fcn.180005580
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1800c346b
mov r8d, dword [rsp + 0x128]
xor edx, edx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800c344a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x38]
call fcn.180005580
movzx eax, byte [rsp + 0x22]
jmp 0x1800c349a
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800c3322
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x38]
call fcn.180005580
movzx eax, byte [rsp + 0x23]
add rsp, 0x368
ret
Function at 0x1800c34b0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov rcx, qword [rsp + 0x370]
call fcn.180020a60
movzx eax, al
test eax, eax
je 0x1800c34d7
xor al, al
jmp 0x1800c371a
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x38]
call fcn.180005750
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1801799dc]
lea rcx, [rsp + 0x38]
call fcn.180005420
cmp rax, 0xffffffffffffffff
je 0x1800c3534
mov r8, 0xffffffffffffffff
lea rdx, [0x180179a0c]
lea rcx, [rsp + 0x38]
call fcn.180005420
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800c57d0
lea rdx, [0x180179a00]
lea rcx, [rsp + 0x38]
call fcn.1800c5820
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x120], 0x238
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1800c3592
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x38]
call fcn.180005580
movzx eax, byte [rsp + 0x20]
jmp 0x1800c371a
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x14c]
mov rcx, qword [rsp + 0x58]
call fcn.1800056f0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xc0]
call fcn.1800c03e0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.180005750
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.1800c03e0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.1800c5760
test eax, eax
jne 0x1800c3658
mov dword [rsp + 0x24], 1
jmp 0x1800c3660
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0xa0]
call fcn.180005580
nop
lea rcx, [rsp + 0xc0]
call fcn.180005580
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1800c36eb
mov r8d, dword [rsp + 0x128]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800c36ca
mov edx, 9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x38]
call fcn.180005580
movzx eax, byte [rsp + 0x22]
jmp 0x1800c371a
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800c3592
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x38]
call fcn.180005580
movzx eax, byte [rsp + 0x23]
add rsp, 0x368
ret
Function at 0x1800c3730
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x378
mov rcx, qword [rsp + 0x380]
call fcn.180020a60
movzx eax, al
test eax, eax
je 0x1800c3757
xor eax, eax
jmp 0x1800c396c
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0x40]
call fcn.180005750
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1801799f8]
lea rcx, [rsp + 0x40]
call fcn.180005420
cmp rax, 0xffffffffffffffff
je 0x1800c37b4
mov r8, 0xffffffffffffffff
lea rdx, [0x1801799f4]
lea rcx, [rsp + 0x40]
call fcn.180005420
mov r8, 0xffffffffffffffff
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800c57d0
lea rdx, str..exe
lea rcx, [rsp + 0x40]
call fcn.1800c5820
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x130], 0x238
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1800c3814
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x40]
call fcn.180005580
mov eax, dword [rsp + 0x28]
jmp 0x1800c396c
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x15c]
mov rcx, qword [rsp + 0x60]
call fcn.1800056f0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xc8]
call fcn.1800c03e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.180005750
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xa8]
call fcn.1800c03e0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.1800c5760
test eax, eax
jne 0x1800c38e0
mov dword [rsp + 0x24], 1
jmp 0x1800c38e8
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0xa8]
call fcn.180005580
nop
lea rcx, [rsp + 0xc8]
call fcn.180005580
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800c393b
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x40]
call fcn.180005580
mov eax, dword [rsp + 0x2c]
jmp 0x1800c396c
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800c3814
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.180005580
mov eax, dword [rsp + 0x30]
add rsp, 0x378
ret
Function at 0x1800c3e70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x58]
call fcn.180005490
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800c3edb
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x58]
call fcn.180005580
mov eax, dword [rsp + 0x3c]
add rsp, 0x48
ret

Function at 0x1800c3f00
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x58]
call fcn.180005490
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x58]
call fcn.180005580
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x1800c7c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.180005490
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1800c7cac
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x1800c7cac
mov dword [rsp + 0x24], 1
jmp 0x1800c7cb4
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x1800c7d30
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
lea rdx, [0x180179a68]
lea rcx, [rsp + 0xc8]
call fcn.1800056f0
nop
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x68]
call fcn.1800c7b50
nop
lea rcx, [rsp + 0xc8]
call fcn.180005580
lea rcx, [rsp + 0x68]
call fcn.180005110
movzx eax, al
test eax, eax
je 0x1800c7db7
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x68]
call fcn.18001dfa0
nop
mov rcx, qword [rsp + 0x148]
call fcn.180005290
movzx eax, byte [rsp + 0x40]
jmp 0x1800c8015
lea rcx, [rsp + 0x68]
call fcn.1800c8630
lea rcx, [rsp + 0xa8]
call fcn.1800057f0
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.180005160
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x60]
call fcn.180005150
mov qword [rsp + 0x80], rax
jmp 0x1800c7e0a
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x50], rax
je 0x1800c7eb2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
lea r8, [0x180179a64]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xe8]
call fcn.180007e50
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xa8]
call fcn.180009e60
nop
lea rcx, [rsp + 0xe8]
call fcn.180005580
lea rcx, [rsp + 0xa8]
call fcn.1800c7c70
movzx eax, al
test eax, eax
jne 0x1800c7ead
lea rcx, [rsp + 0xa8]
call fcn.180005490
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1800c7dfc
call fcn.1803841e8
push rax
invalid
add rsp, 0x130
pop rdi
ret
Function at 0x1800cc7c0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x1800cc7c0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword gs:[0x30]
xor r15d, r15d
xor ebp, ebp
xor esi, esi
mov r8, rcx
mov rdx, qword [rax + 0x60]
mov r13, qword [rdx + 0x18]
test r13, r13
je 0x1800cc927
xor r14d, r14d
lea r9, [0x18036cc50]
nop
mov ecx, r14d
test r14d, r14d
je 0x1800cc838
sub ecx, 1
je 0x1800cc82c
cmp ecx, 1
jne 0x1800cc842
lea rsi, [r13 + 0x30]
lea r15d, [rcx + 0x1f]
jmp 0x1800cc83f
lea rsi, [r13 + 0x20]
mov r15d, reloc.WS2_32.dll_recv
jmp 0x1800cc83f
lea rsi, [r13 + 0x10]
xor r15d, r15d
mov rbp, rsi
test rsi, rsi
je 0x1800cc927
test r8, r8
je 0x1800cc965
mov rdi, qword [rsi]
cmp rdi, rbp
je 0x1800cc91a
mov r12d, 0x48
sub r12d, r15d
nop dword [rax]
mov rbx, qword [r12 + rdi + 8]
xor edx, edx
mov r8d, 0x258
mov rcx, r9
mov rsi, rdi
call fcn.1800debc0
xor ecx, ecx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], cx
jne 0x1800cc891
lea rdx, [0x18036cc50]
test rax, rax
je 0x1800cc8d3
movzx eax, word [rbx + rcx*2]
test ax, ax
je 0x1800cc8ba
movzx eax, al
add ax, 3
mov word [rdx + rcx*2], ax
inc rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1800cc8c4
cmp rcx, rax
jb 0x1800cc8a6
lea rcx, [rsp + 0x20]
call fcn.1800056f0
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.18001f4e0
lea rcx, [rsp + 0x20]
cmp rax, 0xffffffffffffffff
jne 0x1800cc947
call fcn.180005580
mov rax, qword [rdi]
lea r9, [0x18036cc50]
mov rdi, rax
cmp rax, rbp
jne 0x1800cc870
mov r8, qword [rsp + 0x70]
inc r14d
cmp r14d, 3
jl 0x1800cc810
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180020a90
mov eax, r15d
lea rcx, [rsp + 0x20]
sub rdi, rax
mov rbx, qword [rdi + 0x30]
call fcn.180005580
mov rax, rbx
jmp 0x1800cc929
mov rax, qword [rsi]
mov ecx, r15d
sub rax, rcx
mov rax, qword [rax + 0x30]
jmp 0x1800cc929
Function at 0x1800ccb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov r12, r8
mov rsi, rcx
test rcx, rcx
je 0x1800ccd92
movsxd rax, dword [rcx + 0x3c]
test eax, eax
je 0x1800ccd92
mov r9, rax
add r9, rcx
je 0x1800ccd92
movzx eax, word [rcx]
add eax, dword [r9]
cmp eax, 0x9f9d
jne 0x1800ccd92
mov r14d, dword [r9 + 0x88]
add r14, rcx
je 0x1800ccd92
mov ecx, dword [r9 + 0x50]
cmp r14, rsi
jbe 0x1800ccd92
lea rax, [rcx + rsi]
cmp r14, rax
jae 0x1800ccd92
mov edx, dword [r14 + 0x1c]
lea r15, [rcx + rsi]
mov r13d, dword [r14 + 0x20]
add rdx, rsi
mov eax, dword [r14 + 0x24]
add r13, rsi
add rax, rsi
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0x20], rax
cmp rdx, rsi
jbe 0x1800ccd92
cmp rdx, r15
jae 0x1800ccd92
cmp r13, rsi
jbe 0x1800ccd92
cmp r13, r15
jae 0x1800ccd92
cmp rax, rsi
jbe 0x1800ccd92
cmp rax, r15
jae 0x1800ccd92
xor ebp, ebp
mov dword [rsp + 0xd0], 0xb8d18b4c
cmp dword [r14 + 0x14], ebp
jbe 0x1800ccd92
lea r9, [0x18036ceb0]
nop dword [rax]
movzx eax, word [rax + rbp*2]
mov ebx, dword [r13 + rbp*4]
add rbx, rsi
mov edi, dword [rdx + rax*4]
add rdi, rsi
cmp rbx, rsi
jbe 0x1800ccd66
cmp rbx, r15
jae 0x1800ccd66
cmp rdi, rsi
jbe 0x1800ccd66
cmp rdi, r15
jae 0x1800ccd66
xor edx, edx
mov r8d, 0x12c
mov rcx, r9
call fcn.1800debc0
xor edx, edx
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], dl
jne 0x1800ccc70
test rax, rax
je 0x1800cccc6
mov r8, rbx
lea r12, [0x18036ceb0]
sub r8, r12
nop word [rax + rax]
lea rcx, [rdx + r12]
movzx eax, byte [r8 + rcx]
test al, al
je 0x1800ccca1
add al, 3
mov byte [rcx], al
inc rdx
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1800cccb0
cmp rdx, rax
jb 0x1800ccc90
mov r12, qword [rsp + 0xe0]
lea rdx, [0x18036ceb0]
lea rcx, [rsp + 0x38]
call fcn.180005af0
movups xmm0, xmmword [rdi]
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x68], xmm0
call fcn.1800058d0
mov r8, qword [rsp + 0xd8]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800ccd15
inc rax
test ecx, ecx
jne 0x1800ccd02
test edx, edx
jne 0x1800ccd4d
test r12, r12
je 0x1800ccd22
mov qword [r12], rdi
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0xd0]
cmp byte [rsp + rcx + 0x58], al
jne 0x1800ccd4d
cmp rcx, 3
je 0x1800ccd78
inc rcx
cmp rcx, 4
jl 0x1800ccd30
lea rcx, [rsp + 0x38]
call fcn.1800059c0
mov rdx, qword [rsp + 0xe8]
lea r9, [0x18036ceb0]
inc ebp
cmp ebp, dword [r14 + 0x14]
jae 0x1800ccd92
mov rax, qword [rsp + 0x20]
jmp 0x1800ccc20
lea rcx, [rsp + 0x38]
call fcn.1800059c0
movups xmm0, xmmword [rsp + 0x28]
psrldq xmm0, 4
movd eax, xmm0
jmp 0x1800ccd94
xor eax, eax
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800ce320
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x180368720], 0
jne 0x1800ce335
xor edx, edx
mov ecx, 0x10001
jmp fcn.1800ce730
jmp 0x1800cf420
push rbx
sub rsp, 0xa0
mov rax, qword [0x18018e398]
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 0x1800cf4ba
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1800cf485
mov rbx, qword [0x180368b10]
test rbx, rbx
je 0x1800cf49b
mov rcx, rbx
call fcn.1800cdb30
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800cf473
jmp 0x1800cf49b
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 0x1800cf460
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1800cf5b7
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 0x1800cf5af
movdqa xmm0, xmmword [0x180132370]
xor ebx, ebx
movdqa xmm1, xmmword [0x180132380]
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, [0x180369a78]
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 0x1800cf57e
cmp byte [rbp + rdi + 0x80], 1
jne 0x1800cf57e
call fcn.1800d0940
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1800d20e0
inc rbx
cmp rbx, 4
jl 0x1800cf540
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 [0x18036a418]
test rbx, rbx
je 0x1800cf639
mov rcx, qword [rbx + 0x348]
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 ecx, eax
cmp dword [rbx + 0x378], eax
jne 0x1800cf5fd
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x37c], eax
je 0x1800cf639
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x378], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x37c], 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.1800dc9b0
add rsp, 0xa0
pop rbx
ret
Function at 0x1800ce340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x180368720], 0
mov r10d, r9d
mov r11d, r8d
jne 0x1800ce35b
xor edx, edx
mov ecx, 0x10001
jmp fcn.1800ce730
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x30]
test r8d, r8d
jle 0x1800ce3b0
test r9d, r9d
jle 0x1800ce3b0
mov eax, dword [rsp + 0x38]
cmp eax, 0xfffffffe
jg 0x1800ce38c
mov r8d, eax
lea rdx, str.Invalid_refresh_rate__i
mov ecx, 0x10004
jmp fcn.1800ce730
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r8d
mov dword [rcx + 0x28], r8d
mov r8d, r11d
mov dword [rcx + 0x2c], r9d
mov r9d, r10d
mov dword [rcx + 0x3c], eax
jmp fcn.1800cf940
lea rdx, str.Invalid_window_size__ix_i
mov ecx, 0x10004
jmp fcn.1800ce730

Function at 0x1800cf090
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x180369658]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1800cf0bd
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.1800d3980
xor eax, eax
add rsp, 0x28
ret
mov ecx, reloc.WS2_32.dll_listen
mov qword [rsp + 0x30], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
jne 0x1800cf0f8
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.1800d3980
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x28
ret
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
jne 0x1800cf136
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
call fcn.1800d3980
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
mov rcx, qword [0x180369670]
call fcn.1800e7edc
mov rcx, rdi
call fcn.1800d37d0
mov rcx, rbx
mov qword [0x180369670], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x180369670]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
sub rsp, 0x28
cmp dword [0x180368720], 0
jne 0x1800d24e0
xor edx, edx
mov ecx, 0x10001
call fcn.1800ce730
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x1800cf090