joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003b584
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800561a0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18003b5db
cmp word [rdx], r13w
jne 0x18003b5db
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18003b5e0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18003b705
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18003b726
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18003b619
mov rdx, r9
mov word [rbx], cx
jmp 0x18003b640
cmp r9, r8
jae 0x18003b650
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18003b5fa
jmp 0x18003b705
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18003b6fa
cmp dword [rsp + 0x80], esi
je 0x18003b6fa
lea r8, [0x1800561a0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18003b6d2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18003b6a2
mov word [rbx], r13w
jmp 0x18003b702
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18003b6af
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18003b702
cmp word [rsp + 0x70], r13w
jne 0x18003b6df
cmp rbx, r14
je 0x18003b69c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18003c9c0
cmp word [rsp + 0x70], r13w
je 0x18003b705
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800561a0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18003b6ff
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18003b705
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
add esp, 0xfffff254
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040dc
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14000403d
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x140004033
push rdx
mov rdx, qword [rdx + 0x20]
push r9
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040d1
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040d1
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040d0
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004087
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004078
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004027
Function at 0x140002ac0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002b1d
lea rbx, [0x14006faf0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002b04
cmp r10, 2
jb 0x140002b04
cmp byte [r9], r8b
jne 0x140002b04
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002ae0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002b5f
lea rbx, [0x14006faf0]
cmp r8b, 0x23
jne 0x140002b43
cmp byte [r9], r8b
jne 0x140002b43
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002b30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002c90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002caa
mov qword [r8], 0
lea rdx, [0x14006ef04]
call fcn.140002b70
mov rbx, rax
test rax, rax
jne 0x140002cca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002da1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002da1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002da1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002da1
cmp rdi, 0xffffffffffffffff
je 0x140002da1
mov rax, qword [0x1400821e0]
test rax, rax
je 0x140002d3e
inc dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002da1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002d8e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400821e0]
test rax, rax
je 0x140002d83
dec dword [rax + 0xfc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002daa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002d9c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002dac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140005380
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
mov rax, qword [rcx + 0x110]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14006faf0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400821e0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x400c], ebx
jne 0x140005416
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140023700
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140005420
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x14006faf0]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14000b050
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14000b0a0
lea r11, [0x14006faf0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000b083
cmp byte [r8], r9b
jne 0x14000b083
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14000b070
mov rcx, qword [0x1400821e0]
not edx
add rcx, 0x3fb8
jmp fcn.140003030
Function at 0x140012d80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400821e0]
mov edi, ecx
cmp byte [rbx + 0x43f5], 0
jne 0x140012de1
cmp byte [rbx + 0x43f6], 0
jne 0x140012de1
movsx r9d, word [rbx + 0x54ea]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400029b0
test dil, 1
je 0x140012f17
jmp 0x140012e71
movss xmm1, dword [rbx + 0x39a8]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54ea]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140075560]
mulss xmm1, dword [0x140075554]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe04]
addss xmm1, dword [rbx + 0xe08]
mov qword [rbx + 0x40f4], rax
mov dword [rbx + 0x40dc], 1
movss dword [rbx + 0x40ec], xmm0
mov byte [rbx + 0x4114], 1
movss dword [rbx + 0x40f0], xmm1
movss xmm0, dword [rbx + 0x3a04]
mulss xmm0, dword [0x1400754b8]
or dword [rbx + 0x40d8], 0x41
movss dword [rbx + 0x4138], xmm0
call fcn.1400029b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140012ec1
lea r11, [0x14006faf0]
cmp r9b, 0x23
jne 0x140012ea4
cmp byte [r8], r9b
jne 0x140012ea4
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140012e91
mov rcx, qword [0x1400821e0]
not edx
add rcx, 0x3fb8
call fcn.140003030
test rax, rax
je 0x140012f17
cmp byte [rax + 0xcb], 0
je 0x140012f17
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54ea]
mov edx, 0x10
movsx r9d, word [rbx + 0x54ea]
call fcn.1400029b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000dfe0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140042830
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140017f30
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 + 0x55d8], 0
lea rbx, [rcx + 0x55e0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140017fd3
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x140017f86
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140024290
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003410
mov eax, dword [rbx]
lea rcx, [0x1400821d8]
mov r9, qword [rdi + 0x55d8]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x55e8]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140017fdb
mov rcx, rbx
call fcn.140003410
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018410
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140018462
lea r11, [0x14006faf0]
cmp r9b, 0x23
jne 0x140018445
cmp byte [r8], r9b
jne 0x140018445
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018432
mov r11, qword [0x1400821e0]
mov r10, qword [r11 + 0x55a0]
test r10, r10
je 0x1400184a9
lea r9, [r10 + 4]
test r9, r9
je 0x1400184a9
not eax
cmp dword [r9], eax
je 0x1400184b2
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x5598]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140018480
mov rcx, rbx
pop rbx
jmp fcn.140018320
mov rax, r9
pop rbx
ret

Function at 0x1400184c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400821e0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018523
mov qword [rsp], rbx
lea rbx, [0x14006faf0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018503
cmp byte [r8], r9b
jne 0x140018503
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 0x1400184f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5588]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018557
mov r10, qword [r10 + 0x5590]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001855e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140018544
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 0x14001b830
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001ba34
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14006faf0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x14001b9fc
mov rcx, rbp
call fcn.14001aec0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14001b8ae
lea rcx, [rbp + 0x5538]
call fcn.140003030
mov rcx, rax
jmp 0x14001b8b0
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xc4], 0xfffffe49
or dword [rbx + 0xc4], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x58], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14001b941
cmp qword [rcx + 0x20], 0
jne 0x14001b936
mov qword [rcx + 0x20], rbx
jmp 0x14001b941
cmp qword [rcx + 0x28], 0
jne 0x14001b941
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rcx, rbx
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001b980
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001b974
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.1400029b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x14001b9e0
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b9c3
cmp byte [r8], r9b
jne 0x14001b9c3
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x14001b9b0
mov rcx, qword [0x1400821e0]
not edx
add rcx, 0x3fb8
call fcn.140003030
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001b880
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140042830
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140022ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x140022d2d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140022d32
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x140022d5d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140022d5d
mov rcx, qword [rax + 0x390]
test rcx, rcx
je 0x140022d5d
mov eax, dword [rcx + 8]
mov dword [rsp + 0x28], eax
jmp 0x140022d62
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x140022d7c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140022d81
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov word [rsp + 0x42], ax
mov eax, dword [rbp + 0x20]
cmp eax, r8d
jne 0x140022e07
lea ecx, [rax + 1]
test r8d, r8d
je 0x140022def
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140022df4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.1400240b0
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
cdqe
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140022e44
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140022ce0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140022e54
inc esi
jmp 0x140022d10
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140046a50
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14007f6c0], 0
jne 0x140046a65
xor edx, edx
mov ecx, 0x10001
jmp fcn.140047bc0
jmp 0x140048ab0
push rbx
sub rsp, 0xa0
mov rax, qword [0x14007e010]
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 0x140048b4a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x140048b15
mov rbx, qword [0x14007fab0]
test rbx, rbx
je 0x140048b2b
mov rcx, rbx
call fcn.1400461a0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140048b03
jmp 0x140048b2b
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 0x140048af0
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x140048c47
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 0x140048c3f
movdqa xmm0, xmmword [0x14006c770]
xor ebx, ebx
movdqa xmm1, xmmword [0x14006c780]
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, [0x140081198]
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 0x140048c0e
cmp byte [rbp + rdi + 0x88], 1
jne 0x140048c0e
call fcn.14004a2f0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.140044990
inc rbx
cmp rbx, 4
jl 0x140048bd0
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 [0x140081b38]
test rbx, rbx
je 0x140048cc9
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 ecx, eax
cmp dword [rbx + 0x388], eax
jne 0x140048c8d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x140048cc9
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x388], ecx
mov rcx, qword [rbx + 0x350]
sub eax, edx
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.140042830
add rsp, 0xa0
pop rbx
ret
Function at 0x1400482a0
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.140049b70
test eax, eax
je 0x1400482fa
cmp dword [rdi], 0
je 0x140048362
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x140048311
call fcn.14004f190
test eax, eax
je 0x1400482fa
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14004ed10
test eax, eax
jne 0x140048353
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x36002
jne 0x140048331
call fcn.140050470
test eax, eax
je 0x1400482fa
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14004ff60
jmp 0x1400482f6
cmp eax, 0x36003
jne 0x140048353
call fcn.1400512b0
test eax, eax
je 0x1400482fa
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.140051080
test eax, eax
je 0x1400482fa
mov rdx, rdi
mov rcx, rbx
call fcn.140043ae0
test eax, eax
je 0x1400482fa
cmp qword [rbx + 0x48], 0
je 0x1400483ca
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.140049930
mov rcx, rbx
call fcn.14004a250
cmp dword [rsi + 0x2c], 0
je 0x1400483f0
mov rcx, rbx
call fcn.140044680
mov eax, 1
jmp 0x1400482fc
cmp dword [rsi + 0x14], 0
je 0x1400483f0
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x1400483f0
mov rcx, rbx
call fcn.140048590
mov eax, 1
jmp 0x1400482fc