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

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x140070d60]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x40cc], ebx
jne 0x140015616
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001fd80
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140015620
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x140070d60]
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 0x140019150
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140080fc0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400848a0]
mov edi, ecx
cmp byte [rbx + 0x4dc5], 0
jne 0x1400191b1
cmp byte [rbx + 0x4dc6], 0
jne 0x1400191b1
movsx r9d, word [rbx + 0x5fe8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140007430
test dil, 2
je 0x1400192df
jmp 0x14001923a
movss xmm1, dword [rbx + 0x39e0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5fe8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140077a04]
mulss xmm1, dword [0x1400779f8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x110]
addss xmm1, dword [rbx + 0x114]
mov qword [rbx + 0x4aa8], rax
mov dword [rbx + 0x4a94], 1
movss dword [rbx + 0x4aa0], xmm0
movss dword [rbx + 0x4aa4], xmm1
movss xmm0, dword [rbx + 0x3a3c]
mulss xmm0, dword [0x140077970]
or dword [rbx + 0x4a90], 0x41
movss dword [rbx + 0x4af0], xmm0
call fcn.140007430
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019290
lea r11, [0x140070d60]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140019273
cmp byte [r8], r9b
jne 0x140019273
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 0x140019260
not ecx
call fcn.14000f190
test rax, rax
je 0x1400192df
cmp byte [rax + 0xca], 0
je 0x1400192df
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5fe8]
movsx r9d, word [rbx + 0x5fe8]
call fcn.140007430
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140012180
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140051cc0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001e5e0
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 + 0x6148], 0
lea rbx, [rcx + 0x6150]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001e683
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x14001e636
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.140020d50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140008060
mov eax, dword [rbx]
lea rcx, [0x140084898]
mov r9, qword [rdi + 0x6148]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x6158]
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 0x14001e68b
mov rcx, rbx
call fcn.140008060
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e9b0
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
mov rbx, qword [0x1400848a0]
xor ebp, ebp
cmp byte [rbx + 0x6098], bpl
jne 0x14001ea8f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001ea88
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140007870
mov rsi, rax
test rax, rax
je 0x14001ea88
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001ea14
mov rcx, rax
call fcn.14001ebe0
mov r8, qword [0x1400848a0]
test r8, r8
je 0x14001ea7f
movsx rdx, word [r8 + 0x6228]
lea rcx, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001ea74
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [r8 + 0x622c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x6098], 1
movss xmm0, dword [rbx + 0x609c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001eb1e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x609c], xmm0
jb 0x14001eb1e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001eb11
mov rax, qword [0x1400848a0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x609c], ebp
call fcn.14001ee30
lea rdx, [0x1400765d4]
mov rcx, rdi
mov rsi, rax
call fcn.1400076d0
mov rdi, rax
test rax, rax
je 0x14001eb18
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001eb18
mov byte [rbx + 0xe6], 1
mov dword [rbx + 0x609c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001eb40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400848a0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001eba3
mov qword [rsp], rbx
lea rbx, [0x140070d60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001eb83
cmp byte [r8], r9b
jne 0x14001eb83
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 0x14001eb70
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60b0]
not eax
mov r8, qword [r10 + 0x60b8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001ebcf
cmp dword [r8 + 8], eax
je 0x14001ebd6
add r8, 0x48
cmp r8, rcx
jne 0x14001ebc0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003d400
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14003d48c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14003d460
lea r11, [0x140070d60]
nop
cmp r9b, 0x23
jne 0x14003d443
cmp byte [r8], r9b
jne 0x14003d443
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 0x14003d430
mov rcx, qword [0x1400848a0]
not eax
cmp dword [rcx + 0x40e4], eax
jne 0x14003d477
mov dword [rcx + 0x40e8], eax
cmp dword [rcx + 0x4114], eax
jne 0x14003d4e9
mov byte [rcx + 0x4118], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1400848a0]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x4078]
movsxd rax, dword [rbx + 0x108]
mov r8, qword [rbx + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140007620
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x40cc], eax
jne 0x14003d4e2
mov r8, rdi
mov edx, 0xc
mov ecx, eax
call fcn.14001fd80
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400473b0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x140083a78], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140047409
mov rcx, qword [rbx + 0x360]
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 [0x140083a68], xmm0
movsd qword [0x140083a70], xmm1
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x140047426
cmp eax, 0x34004
je 0x140047426
mov rcx, qword [0x140083a98]
jmp 0x140047445
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140047435
mov rcx, qword [rcx + 8]
jmp 0x140047445
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.140040770
mov rcx, rbx
call fcn.1400469d0
cmp dword [rbx + 0x208], 0
je 0x1400474a2
mov rax, qword [rbx + 0x360]
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 0x1400474a2
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.14004a840
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400474b0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
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 0x1400474f2
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.14004a840
add rsp, 0x38
ret
Function at 0x140047500
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x208], 0
mov rbx, rcx
je 0x140047550
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 0x140047550
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.14004a840
xor ecx, ecx
mov qword [0x140083a78], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x140083a68]
mov qword [0x140083a80], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x140083a70]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x3a0], ecx
mov rcx, qword [rbx + 0x360]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x3a4], 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]
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x1400475d9
cmp eax, 0x34004
je 0x1400475d9
mov rcx, qword [0x140083a98]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400475f2
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]

Function at 0x140047610
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x360]
mov edx, 1
lea rcx, [rsp + 0x20]
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 0x140047652
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.14004a840
add rsp, 0x38
ret

Function at 0x140047700
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, 0x12
or edi, 2
test ax, ax
cmovns edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, edi
mov ecx, 0x5c
or esi, 4
test ax, ax
cmovns esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, 0x14
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x140049950
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x140081130], 0
jne 0x140049970
xor edx, edx
mov ecx, 0x10001
call fcn.140043c50
xor eax, eax
add rsp, 0x28
ret
lea rcx, [0x140082ad4]
add rsp, 0x28
jmp fcn.140049b80
Function at 0x140049ad0
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 0x140049b00
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.140043c50
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14004abf0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x140080fc0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x140083392]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1d0], rdi
sub r14, 0x480
lea rbp, [0x140083118]
xor r12d, r12d
lea r15, [0x140083432]
mov ebx, 0x20
movsx esi, word [rbp]
cmp esi, 0xffffffff
je 0x14004ada8
cmp ebx, 0x140
jb 0x14004ad0f
cmp ebx, 0x14e
ja 0x14004ad0f
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x64], 0x69
mov dword [rsp + 0x68], 0x6e
mov dword [rsp + 0x6c], 0x6f
mov dword [rsp + 0x70], 0x6a
mov dword [rsp + 0x74], 0x6d
mov dword [rsp + 0x78], 0x6b
mov edi, dword [r14]
jmp 0x14004ad1e
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x14004ad71
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x14004ada8
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], r12
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r15, 5
add r14, 4
add rbp, 2
cmp ebx, 0x15c
jle 0x14004ac71
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140051cc0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14004efc0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
cmp qword [0x140082c10], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x14004eff9
mov eax, 1
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x140082c10], rax
mov rcx, rax
test rax, rax
jne 0x14004f024
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x14004f000
mov rbx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14004f046
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.140043c50
xor eax, eax
add rsp, 0x48
ret
lea rdx, str.OSMesaCreateContextExt
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140082c10]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x140082c18], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140082c10]
lea rdx, str.OSMesaDestroyContext
mov qword [0x140082c20], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140082c10]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x140082c28], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140082c10]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x140082c30], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140082c10]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x140082c38], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140082c10]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x140082c40], rax
call sub.KERNEL32.dll_GetProcAddress
cmp qword [0x140082c18], 0
mov qword [0x140082c48], rax
je 0x14004f130
cmp qword [0x140082c28], 0
je 0x14004f130
cmp qword [0x140082c30], 0
je 0x14004f130
cmp qword [0x140082c38], 0
je 0x14004f130
cmp qword [0x140082c40], 0
je 0x14004f130
test rax, rax
jne 0x14004efef
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.140043c50
mov rcx, qword [0x140082c10]
test rcx, rcx
je 0x14004f15d
call fcn.14004f9f0
mov qword [0x140082c10], 0
xor eax, eax
add rsp, 0x48
ret

Function at 0x14005283c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140052886
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140052886
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140052886
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140052886
cmp dword [rcx + 0x84], 0xe
jbe 0x140052886
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140052888
xor al, al
add rsp, 0x28
ret
Function at 0x1400029d8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov al, byte [rcx]
mov r8, rcx
or edx, 0xffffffff
jmp 0x140002a0e
movzx eax, al
mov r9d, 7
xor edx, eax
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov edx, ecx
xor edx, eax
sub r9d, 1
jns 0x1400029ed
inc r8
mov al, byte [r8]
test al, al
jne 0x1400029e2
not edx
mov eax, edx
ret
Function at 0x1400083c4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
call fcn.140063fa4
xor r10d, r10d
test eax, eax
js 0x1400085f1
mov ecx, dword [rbx + 0xf0]
mov eax, ecx
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x14000844e
lea rdx, [rbx + 8]
lea rdx, [rdx + r9*4]
lea r8, [rbx + 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov eax, dword [rdx - 8]
sub r9, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
lea r8, [r8 + 0x10]
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
lea rdx, [rdx - 0x10]
mov ecx, dword [r8 - 0xc]
mov dword [r8 - 0xc], eax
mov dword [rdx + 0x14], ecx
cmp r10, r9
jl 0x1400083ff
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x1400085ef
lea r10, [rbx + 2]
lea rdi, [0x140000000]
lea r10, [r10 + 0x10]
inc r11d
mov r8d, dword [r10 - 2]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x71ba0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x723a0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x727a0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
xor r9d, dword [rdi + rcx*4 + 0x71fa0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10 + 3]
mov r8d, dword [rdi + rdx*4 + 0x71ba0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x723a0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x71fa0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x727a0]
movzx edx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10 + 7]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x71ba0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x723a0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x71fa0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x727a0]
movzx edx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10 + 0xb]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x71ba0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, byte [r10 + 0xc]
xor r8d, dword [rdi + rcx*4 + 0x723a0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x71fa0]
movzx ecx, byte [rdi + rax*4 + 0x717a0]
xor r8d, dword [rdi + rcx*4 + 0x727a0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140008468
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret