joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001160
Capabilities:
Get hostname
Get memory capacity
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x390
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x380], rax
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x100], 2
jb 0x140001366
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xa8]
shr rax, 0x14
cmp eax, 0x800
jb 0x140001366
xor ebx, ebx
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov edx, 0x70000
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [rsp + 0x90]
mov eax, dword [rsp + 0x94]
imul rax, rcx
mov ecx, dword [rsp + 0x8c]
imul rax, rcx
imul rax, qword [rsp + 0x80]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp eax, 0x64
jb 0x140001366
lea rdx, [rsp + 0x110]
lea rcx, str.C:WindowsSystem32VBox.dll
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140001366
lea rax, [rsp + 0x68]
xor r8d, r8d
lea r9d, [rbx + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMControlSet001ServicesVBoxSF
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001366
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x10
lea rcx, [rsp + 0x360]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rcx, [rsp + 0x360]
call qword [sym.imp.USER32.dll_CharUpperW]
lea rdx, str.DESKTOP_
lea rcx, [rsp + 0x360]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140001366
lea rax, [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMControlSet001EnumUSBSTOR
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rsp + 0x74], 1
setae al
jmp 0x140001368
xor al, al
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1400019f0
add rsp, 0x390
pop rbx
ret
Function at 0x1400022cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002316
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002316
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.api_ms_win_crt_runtime_l1_1_0.dll__exit
jne 0x140002316
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002316
cmp dword [rcx + 0x84], 0xe
jbe 0x140002316
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002318
xor al, al
add rsp, 0x28
ret
Function at 0x1400043b0
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 0x14000440d
lea rbx, [0x140074c40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400043f4
cmp r10, 2
jb 0x1400043f4
cmp byte [r9], r8b
jne 0x1400043f4
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 0x1400043d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000444f
lea rbx, [0x140074c40]
cmp r8b, 0x23
jne 0x140004433
cmp byte [r9], r8b
jne 0x140004433
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 0x140004420
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004590
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400045aa
mov qword [r8], 0
lea rdx, [0x140078d34]
call fcn.140004460
mov rbx, rax
test rax, rax
jne 0x1400045ca
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 0x1400046a1
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 0x1400046a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400046a1
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 0x1400046a1
cmp rdi, 0xffffffffffffffff
je 0x1400046a1
mov rax, qword [0x1400883e8]
test rax, rax
je 0x14000463e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400046a1
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 0x14000468e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400883e8]
test rax, rax
je 0x140004683
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400046aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000469c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400046ac
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 0x140011bc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140085140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400883e8]
mov edi, edx
cmp byte [rbx + 0x1f7d], 0
jne 0x140011c21
cmp byte [rbx + 0x1f7e], 0
jne 0x140011c21
movsx r9d, word [rbx + 0x305e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004330
test dil, 1
je 0x140011d48
jmp 0x140011caa
movss xmm1, dword [rbx + 0x1618]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x305e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140079af0]
mulss xmm1, dword [0x140079ae4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d20], rax
mov dword [rbx + 0x1d0c], 1
movss dword [rbx + 0x1d18], xmm0
movss dword [rbx + 0x1d1c], xmm1
movss xmm0, dword [rbx + 0x1674]
mulss xmm0, dword [0x140079a70]
or dword [rbx + 0x1d08], 0x41
movss dword [rbx + 0x1d68], xmm0
call fcn.140004330
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011d00
lea r11, [0x140074c40]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140011ce3
cmp byte [r8], r9b
jne 0x140011ce3
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 0x140011cd0
not ecx
call fcn.14000bed0
test rax, rax
je 0x140011d48
cmp byte [rax + 0x8e], 0
je 0x140011d48
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x305e]
mov edx, 0x10
movsx r9d, word [rbx + 0x305e]
call fcn.140004330
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e4c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400529c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400163e0
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 + 0x3100], 0
lea rbx, [rcx + 0x3108]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016483
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x140016436
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.140002e90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004fe0
mov eax, dword [rbx]
lea rcx, [0x1400883e0]
mov r9, qword [rdi + 0x3100]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x3110]
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 0x14001648b
mov rcx, rbx
call fcn.140004fe0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140028380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x70
mov r8, rcx
movaps xmmword [rsp + 0x30], xmm9
movzx ecx, word [rsp + 0xa8]
movaps xmm9, xmm2
mov qword [rsp + 0x20], r9
mov rsi, rdx
mov r9d, dword [rsp + 0xa0]
movsxd rax, dword [r8 + 0x18]
cmp rcx, rax
jb 0x1400283be
mov rbx, qword [r8 + 0x38]
jmp 0x1400283e2
mov rax, qword [r8 + 0x20]
movzx ecx, word [rax + rcx*2]
mov eax, 0xffff
cmp cx, ax
jne 0x1400283d6
mov rbx, qword [r8 + 0x38]
jmp 0x1400283e2
mov rax, qword [r8 + 0x30]
lea rcx, [rcx + rcx*4]
lea rbx, [rax + rcx*8]
test rbx, rbx
je 0x14002859a
mov eax, dword [rbx]
test al, 2
je 0x14002859a
mov qword [rsp + 0x80], rdi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm6
mov edi, r9d
or edi, 0xffffff
movaps xmmword [rsp + 0x50], xmm7
test al, 1
movaps xmmword [rsp + 0x40], xmm8
cmove edi, r9d
comiss xmm9, xmm0
jb 0x14002842d
divss xmm9, dword [r8 + 0x14]
jmp 0x140028436
movss xmm9, dword [0x140079aa4]
cvttss2si eax, dword [rsp + 0x20]
mov edx, 6
mov rcx, rsi
lea r8d, [rdx - 2]
movd xmm6, eax
cvttss2si eax, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.1400213c0
movzx edx, word [rsi + 0x34]
mov rax, qword [rsi + 0x50]
movss xmm8, dword [rbx + 0x24]
movaps xmm1, xmm9
mulss xmm1, dword [rbx + 0x10]
lea ecx, [rdx + 1]
movss xmm4, dword [rbx + 0x20]
movaps xmm3, xmm9
mulss xmm3, dword [rbx + 0x14]
movaps xmm2, xmm9
mulss xmm2, dword [rbx + 8]
addss xmm1, xmm6
mulss xmm9, dword [rbx + 0xc]
addss xmm3, xmm7
movss xmm5, dword [rbx + 0x18]
addss xmm2, xmm6
movss xmm0, dword [rbx + 0x1c]
mov word [rax], dx
addss xmm9, xmm7
mov rax, qword [rsi + 0x50]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rsi + 0x50]
mov word [rax + 4], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rsi + 0x50]
mov word [rax + 8], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 0xa], dx
mov rax, qword [rsi + 0x48]
movss dword [rax], xmm2
movss dword [rax + 4], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x10], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x1c], xmm4
movss dword [rax + 0x20], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x24], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x28], xmm1
movss dword [rax + 0x2c], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x30], xmm4
movss dword [rax + 0x34], xmm8
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x38], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x3c], xmm2
movss dword [rax + 0x40], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm8
mov rax, qword [rsi + 0x48]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rax + 0x4c], edi
add qword [rsi + 0x48], 0x50
add dword [rsi + 0x34], 4
add qword [rsi + 0x50], 0xc
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x70
pop rsi
ret
Function at 0x14002d460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx + 0x190]
mov r10, rcx
mov dword [rcx + 0x7c], edx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x14002d49c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0xd8]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0xf0], xmm0
subss xmm0, dword [r9 + 0x10]
movss dword [r9 + 0xdc], xmm1
subss xmm0, dword [r9 + 0x118]
movss dword [r9 + 0x11c], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x110], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x124], eax
movss dword [r9 + 0x1f4], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x1f0], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x1f8], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x194], eax
cmp byte [rbx + 0x5a], 0
jne 0x14002d537
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0xdc], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0x93], al
cmp byte [rbx + 0x60], 0
je 0x14002d55d
mov rax, qword [0x1400883e8]
xor ecx, ecx
mov dword [rax + 0x1cc8], ecx
mov dword [rax + 0x1cd0], ecx
test dword [r10 + 4], 0x100000
je 0x14002d572
mov r8d, 2
jmp 0x14002d5f2
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x270]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x210], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x270]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x270]
mov rcx, qword [r10 + 0x1a8]
call fcn.140024460
mov rdi, qword [0x1400883e8]
cmp byte [rdi + 0x30f4], 0
je 0x14002d637
cmp byte [rbx + 0x60], 0
jne 0x14002d637
xor r8d, r8d
lea rdx, [0x140078f10]
mov rcx, rsi
call fcn.1400164e0
mov dword [rdi + 0x3128], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14002eae0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400883e8]
mov rdx, qword [rax + 0x2020]
cmp ecx, 0xffffffff
jne 0x14002eafa
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x14002eb77
mov r10d, dword [rdx]
lea r8, [0x140078f01]
movzx eax, word [rdx + 0x80]
lea r11, [0x140074c40]
not r10d
mov byte [rdx + 0x1f0], cl
mov ecx, r10d
mov byte [rdx + 0x1fe], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x14002eb53
cmp byte [r8], r9b
jne 0x14002eb53
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 0x14002eb40
not ecx
jmp fcn.140011dd0
ret
Function at 0x14003a2e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x14003a36b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14003a340
lea r10, [0x140074c40]
nop dword [rax]
cmp r9b, 0x23
jne 0x14003a323
cmp byte [r8], r9b
jne 0x14003a323
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 [r10 + rdx*4]
test r9b, r9b
jne 0x14003a310
mov rcx, qword [0x1400883e8]
not eax
cmp dword [rcx + 0x1c58], eax
jne 0x14003a357
mov dword [rcx + 0x1c5c], eax
cmp dword [rcx + 0x1c98], eax
jne 0x14003a3bd
mov byte [rcx + 0x1c9c], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x1400883e8]
mov rcx, r10
mov r8, qword [rbx + 0x1c10]
movsxd rax, dword [r8 + 0xc8]
mov r8, qword [r8 + 0xd0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400043b0
cmp dword [rbx + 0x1c58], eax
jne 0x14003a3a9
mov dword [rbx + 0x1c5c], eax
cmp dword [rbx + 0x1c98], eax
jne 0x14003a3b8
mov byte [rbx + 0x1c9c], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140041c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140041d91
mov r15, qword [rsp + 0x60]
lea r8d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140041d91
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x140041c9b
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140041db8
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140041cb2
mov eax, ecx
add cx, r11w
cmp cx, r9w
ja 0x140041cb2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140041cc5
movzx r9d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x140041d12
mov r9d, eax
cmp eax, 0x800
jae 0x140041cdf
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov r11d, r8d
jmp 0x140041d12
cmp eax, 0x10000
jae 0x140041cf9
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r11d, r10d
jmp 0x140041d12
shr r9d, 0x12
mov r10d, 3
movzx r11d, sil
or r9b, 0xf0
xor r11d, 1
add r11d, r11d
lea r8d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r8d
cmp rdx, rcx
jl 0x140041d91
add qword [r14], 2
test sil, sil
jne 0x140041d33
cmp r10d, 3
jae 0x140041d3f
mov rcx, qword [rbx]
mov r8d, r11d
mov byte [rcx], r9b
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jle 0x140041d6e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jg 0x140041d50
shr eax, 0xa
mov r8d, 1
test sil, sil
mov ecx, r8d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x140041c4f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x140041d9f
Function at 0x140046560
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x1400858b0], 0
jne 0x140046575
xor edx, edx
mov ecx, 0x10001
jmp fcn.14004b970
jmp 0x1400490c0
push rbx
sub rsp, 0xa0
mov rax, qword [0x140085140]
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 0x14004915a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x140049125
mov rbx, qword [0x140085ca0]
test rbx, rbx
je 0x14004913b
mov rcx, rbx
call fcn.140045d70
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140049113
jmp 0x14004913b
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 0x140049100
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x140049257
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 0x14004924f
movdqa xmm0, xmmword [0x140055e70]
xor ebx, ebx
movdqa xmm1, xmmword [0x140055e80]
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, [0x140086c08]
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 0x14004921e
cmp byte [rbp + rdi + 0x80], 1
jne 0x14004921e
call fcn.14004a600
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.140046dc0
inc rbx
cmp rbx, 4
jl 0x1400491e0
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 [0x1400875a8]
test rbx, rbx
je 0x1400492d9
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 + 0x380], eax
jne 0x14004929d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x384], eax
je 0x1400492d9
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x380], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x384], 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.1400529c0
add rsp, 0xa0
pop rbx
ret
Function at 0x1400490c0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x1400858b0], 0
jne 0x140046575
xor edx, edx
mov ecx, 0x10001
jmp fcn.14004b970
jmp 0x1400490c0
push rbx
sub rsp, 0xa0
mov rax, qword [0x140085140]
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 0x14004915a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x140049125
mov rbx, qword [0x140085ca0]
test rbx, rbx
je 0x14004913b
mov rcx, rbx
call fcn.140045d70
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140049113
jmp 0x14004913b
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 0x140049100
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x140049257
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 0x14004924f
movdqa xmm0, xmmword [0x140055e70]
xor ebx, ebx
movdqa xmm1, xmmword [0x140055e80]
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, [0x140086c08]
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 0x14004921e
cmp byte [rbp + rdi + 0x80], 1
jne 0x14004921e
call fcn.14004a600
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.140046dc0
inc rbx
cmp rbx, 4
jl 0x1400491e0
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 [0x1400875a8]
test rbx, rbx
je 0x1400492d9
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 + 0x380], eax
jne 0x14004929d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x384], eax
je 0x1400492d9
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x380], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x384], 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.1400529c0
add rsp, 0xa0
pop rbx
ret