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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140002098
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400020be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400020c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002119
test ecx, ecx
jle 0x1400020f9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002119
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002119
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140002140
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002162
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002178
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002194
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002196
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400021d2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000226e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000220d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000224e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000226e
cmp rbx, rax
ja 0x140002220
test rbx, rbx
je 0x14000226e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400026d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400026fd
xor eax, eax
jmp 0x140002869
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002737
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002737
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002869
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000285c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000277a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400027a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002861
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002814
sub eax, 1
je 0x140002814
cmp eax, 2
jne 0x14000285c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002861
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002842
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000285c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002861
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003930
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002ce0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002db3
cmp byte [rcx + 0x71], 0
je 0x140002db3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002daf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002d74
sub eax, 1
je 0x140002d78
cmp eax, 2
jne 0x140002daf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003930
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002da6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002daf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002d5c
xor al, al
jmp 0x140002d5c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003930
add rsp, 0x60
pop rbx
ret
Function at 0x140003740
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400037a1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140003760
mov ecx, dword [r9]
jmp 0x14000388b
cmp ecx, 0x4e0
jb 0x14000388b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400037c0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140003810
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400042b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400042fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400042fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400042fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400042fa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400042fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400042fc
xor al, al
add rsp, 0x28
ret
Function at 0x14000aae4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x140090120]
xor rax, rsp
mov qword [rsp + 0x420], rax
xorps xmm0, xmm0
lea rdx, [0x140081e9c]
movups xmmword [rcx], xmm0
mov rbx, rcx
lea rcx, str.shaders.glsl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
xor edx, edx
mov rdi, rax
test rax, rax
je 0x14000ab88
lea r8d, [rdx + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rbx + 8], eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov ecx, dword [rbx + 8]
inc ecx
call fcn.14000a998
mov r8d, dword [rbx + 8]
mov edx, 1
mov rcx, rax
mov qword [rbx], rax
mov r9, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [rbx + 8]
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14000abba
mov r8d, 0x400
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea r8, str.shaders.glsl
lea rdx, str.fopen___failed_reading_file__s
lea rcx, [rsp + 0x20]
call fcn.1400016b0
lea rcx, [rsp + 0x20]
call fcn.14000ac24
mov rax, rbx
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14005bd30
mov rbx, qword [rsp + 0x440]
add rsp, 0x430
pop rdi
ret

Function at 0x14000ac24
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x140081ec0]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringA]

Function at 0x140010764
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
not r8d
movzx eax, byte [rcx]
inc rcx
movzx r9d, r8b
xor r9, rax
shr r8d, 8
lea rax, [0x14007d5a0]
xor r8d, dword [rax + r9*4]
sub rdx, 1
jne 0x140010767
not r8d
mov eax, r8d
ret

Function at 0x140010790
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400107ea
mov r11b, 0x23
lea rdi, [0x14007d5a0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1400107d4
cmp rdx, 2
jb 0x1400107d4
cmp byte [r10], r11b
jne 0x1400107d4
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1400107b2
jmp 0x14001082b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14001082b
mov r11b, 0x23
lea rdi, [0x14007d5a0]
cmp dl, r11b
jne 0x14001080f
cmp byte [r10], r11b
jne 0x14001080f
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x1400107fd
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1400126c4
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
add rcx, 0x108
mov r9, rdx
call fcn.140028044
xor edx, edx
mov rcx, r9
mov r8d, dword [rax]
add rsp, 0x28
jmp fcn.140010790
Function at 0x140026978
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x140092e58]
mov rsi, rdx
mov rbx, rcx
call fcn.140026878
test al, al
je 0x140026a14
cmp dword [rcx + 0x460], 0
jne 0x1400269b4
mov rcx, rdi
call fcn.140021f3c
mov dword [rbx + 0x460], eax
cmp dword [rbx + 0x460], 0
mov r10, qword [rbx + 0x450]
je 0x1400269e0
test r10, r10
jne 0x1400269e0
mov rdx, rbx
mov rcx, rdi
call fcn.1400268a8
mov r10, rax
test rax, rax
je 0x140026bb6
mov edx, dword [rdi + 0x1b70]
cmp dword [r10 + 0xa0], edx
jge 0x140026a56
mov rcx, r10
call fcn.14000fe28
cmp dword [rax + 0xa0], edx
jl 0x140026a46
mov al, byte [rbx + 0x431]
and al, 0xfd
or al, 1
mov byte [rbx + 0x431], al
jmp 0x140026bb6
mov ecx, dword [rcx + 0xc]
shr ecx, 0x15
and cl, 1
test byte [rdi + 0x1ca0], 1
je 0x140026a3e
movsx eax, byte [rbx + 0xf0]
test dword [rdi + 0x1ca4], eax
je 0x140026a3e
cmp byte [rdi + 0x1cdc], 0
jne 0x140026a46
test cl, cl
je 0x1400269b4
mov r8b, 1
mov rdx, rbx
call fcn.14002282c
jmp 0x140026bb6
lea r9, [0x14007d588]
mov r11, rbx
sub r11, r9
movsxd rax, dword [r9]
lea rcx, [rdi + 0x1704]
shl rax, 4
add rcx, rax
call fcn.140010fa0
mov dword [r11 + r9 + 0x434], eax
add r9, 4
lea rax, [0x14007d5a0]
cmp r9, rax
jl 0x140026a63
mov rax, qword [r10 + 0x80]
test rax, rax
jne 0x140026abd
cmp dword [r10 + 0xc], 2
mov al, byte [rbx + 0x431]
sete cl
and al, 0xfe
or cl, al
and cl, 0xfd
mov byte [rbx + 0x431], cl
jmp 0x140026bb6
mov dword [r10 + 0xc], 3
movzx eax, word [rax + 0xde]
cmp word [rbx + 0xde], ax
jl 0x140026a46
xorps xmm2, xmm2
lea rcx, [rsp + 0x40]
xorps xmm1, xmm1
call fcn.14000ae58
mov r8, rax
lea rcx, [r10 + 0x40]
xor edx, edx
call fcn.14001abcc
lea rcx, [r10 + 0x48]
call fcn.14001ac10
mov byte [rdi + 0x1cdc], dl
mov al, byte [rbx + 0x431]
and al, 0xfd
or al, 1
mov byte [rbx + 0x431], al
test byte [r10 + 4], 1
jne 0x140026bb6
cmp qword [r10 + 0x88], rbx
jne 0x140026b32
or al, 2
mov byte [rbx + 0x431], al
mov edx, dword [rbx + 0xc]
mov rcx, r10
or edx, 0x1010002
mov dword [rbx + 0xc], edx
call fcn.14000f014
test al, al
jne 0x140026b58
call fcn.14000f020
test al, al
jne 0x140026b58
and edx, 0xfffffffe
jmp 0x140026b5b
or edx, 1
mov dword [rbx + 0xc], edx
mov rax, qword [r10 + 0x38]
test rax, rax
je 0x140026b7c
cmp dword [rax + 0x24], 0xffffffff
je 0x140026b7c
mov rcx, rbx
call fcn.140022a74
mov word [rbx + 0x432], ax
test byte [r10 + 0xbc], 0x20
jne 0x140026b92
mov eax, dword [rbx + 8]
cmp dword [r10 + 0xb4], eax
jne 0x140026b9a
test rsi, rsi
je 0x140026b9a
mov byte [rsi], 0
mov rax, qword [rbx + 0x450]
mov rdx, qword [rbx]
mov rcx, qword [rax + 0x80]
call fcn.140012644
mov dword [rbx + 0x98], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140026bc8
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140090120]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [0x140092e58]
mov eax, dword [rcx + 0x94]
mov dword [rcx + 0x164], eax
mov rdx, qword [rcx + 0x3d8]
cmp byte [rbx + 0xc9], 0
mov qword [rsp + 0x40], rdx
jne 0x140026c38
call fcn.14001b39c
movss xmm3, dword [rdx + 0x60]
lea rcx, [rsp + 0x30]
xorps xmm2, xmm2
movss dword [rsp + 0x20], xmm0
xorps xmm1, xmm1
call fcn.14000ead0
mov rcx, rax
lea rdx, [rbx + 0x1c70]
call fcn.14000ebc0
test al, al
je 0x140026c8d
call fcn.14001f398
test al, al
je 0x140026c8d
lea rdx, [rsp + 0x40]
call fcn.14001f4dc
call fcn.14001f4a4
mov r10, qword [rsp + 0x40]
lea r9, [0x14007d588]
sub r10, r9
movsxd rax, dword [r9]
lea rcx, [rbx + 0x1704]
shl rax, 4
add rcx, rax
call fcn.140010fa0
mov dword [r10 + r9 + 0x434], eax
add r9, 4
lea rax, [0x14007d5a0]
cmp r9, rax
jl 0x140026c5f
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005bd30
add rsp, 0x50
pop rbx
ret

Function at 0x14003555c
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov r10d, 1
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x14003564e
xor ecx, ecx
cmp ebx, 7
jbe 0x1400355fb
lea edx, [rcx + 7]
movzx eax, byte [r11]
add ecx, 8
add r10d, eax
add edx, 8
movzx eax, byte [r11 + 1]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 2]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 3]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 4]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 5]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 6]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 7]
add r9d, r10d
add r10d, eax
add r11, 8
add r9d, r10d
cmp edx, ebx
jb 0x140035596
cmp ecx, ebx
jae 0x140035618
mov eax, ebx
sub eax, ecx
mov ecx, eax
movzx eax, byte [r11]
inc r11
add r10d, eax
add r9d, r10d
sub rcx, 1
jne 0x140035605
mov eax, 0x80078071
mul r10d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r10d, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul ecx, edx, 0xffff000f
add r9d, ecx
sub r8d, ebx
mov ebx, 0x15b0
jne 0x14003558c
mov rbx, qword [rsp + 8]
shl r9d, 0x10
lea eax, [r10 + r9]
ret

Function at 0x14003a800
Capabilities:
Hash data with crc32

Disassembly:
mov eax, edx
lea r8, [0x1400879f0]
test eax, eax
lea rdx, str.SCROLLY
cmove rdx, r8
jmp fcn.1400126c4
Function at 0x14004f060
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x140090240], 0
jne 0x14004f080
xor edx, edx
mov ecx, 0x10001
call fcn.140051b20
xor eax, eax
add rsp, 0x28
ret
lea rcx, [0x1400910dc]
add rsp, 0x28
jmp fcn.140056040

Function at 0x14004fab0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x140090240], 0
jne 0x14004fac5
xor edx, edx
mov ecx, 0x10001
jmp fcn.140051b20
jmp 0x1400534f0
push rbx
sub rsp, 0xa0
mov rax, qword [0x140090120]
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 0x14005358a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x140053555
mov rbx, qword [0x140090630]
test rbx, rbx
je 0x14005356b
mov rcx, rbx
call fcn.14004f240
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140053543
jmp 0x14005356b
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 0x140053530
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x140053687
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 0x14005367f
movdqa xmm0, xmmword [0x14007b6f0]
xor ebx, ebx
movdqa xmm1, xmmword [0x14007b700]
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, [0x140091598]
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 0x14005364e
cmp byte [rbp + rdi + 0x80], 1
jne 0x14005364e
call fcn.140054c80
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400504e0
inc rbx
cmp rbx, 4
jl 0x140053610
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 [0x140091f38]
test rbx, rbx
je 0x140053709
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 0x1400536cd
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x37c], eax
je 0x140053709
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.14005bd30
add rsp, 0xa0
pop rbx
ret
Function at 0x140052b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor r10d, r10d
test rdx, rdx
je 0x140052b6b
mov dword [rdx], r10d
test r8, r8
je 0x140052b73
mov dword [r8], r10d
test r9, r9
je 0x140052b7b
mov dword [r9], r10d
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140052b88
mov dword [rax], r10d
cmp dword [0x140090240], r10d
jne 0x140052b9d
xor edx, edx
mov ecx, 0x10001
jmp fcn.140051b20
mov qword [rsp + 0x28], rax
jmp 0x140058740
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rax, qword [0x140090120]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx + 0x88]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0xa0]
mov r14, rdx
xor eax, eax
mov dword [rsp + 0x20], 0x28
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x44], eax
movups xmmword [rsp + 0x24], xmm0
mov rsi, r9
mov rdi, r8
movups xmmword [rsp + 0x34], xmm0
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edx, dword [rsp + 0x34]
test r14, r14
je 0x1400587a3
mov dword [r14], edx
mov ecx, dword [rsp + 0x38]
test rdi, rdi
je 0x1400587ae
mov dword [rdi], ecx
test rsi, rsi
je 0x1400587bb
mov eax, dword [rsp + 0x3c]
sub eax, edx
mov dword [rsi], eax
test rbx, rbx
je 0x1400587c8
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rbx], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005bd30
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret