joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001b30
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x180
mov rax, qword [0x180025058]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, dword [0x180025af0]
lea r9, [0x180026de0]
mov dword [rsp + 0x28], eax
lea r8, str.C:_vm3dum_log_vm3dum_s__d__d.log
mov eax, dword [0x180026db0]
lea rcx, [0x180026e00]
mov edx, 0x80
mov dword [rsp + 0x20], eax
call fcn.180001d70
mov r8d, 0x20
lea rdx, [0x180019adc]
lea rcx, [0x180026e00]
call fcn.1800052e4
mov rsi, rax
test rax, rax
je 0x180001c3f
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x198], rdi
lea rcx, str.C:_vm3dum_log_vm3dum.log
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180001c23
mov qword [rsp + 0x190], rbx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x180001c01
inc ebx
cmp ebx, 0x200
ja 0x180001c01
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180001be5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x200
mov rbx, qword [rsp + 0x190]
ja 0x180001c23
mov qword [0x180025ae8], rsi
jmp 0x180001c37
mov rcx, rsi
call fcn.180004e44
lea rcx, [0x180026e00]
call fcn.180005500
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1800029b0
add rsp, 0x180
pop rsi
ret

Function at 0x180002440
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x5f0
mov rax, qword [0x180025058]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
lea rdx, str.CoreDump_CoreDump
lea rcx, str._s:_faking_exception_to_get_context_n
call fcn.180001820
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xcafebabe
call qword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x18000cd5c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000cd7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18000aa10
or eax, 0xffffffff
jmp 0x18000cd7e
xor eax, eax
add rsp, 0x28
ret
Function at 0x140005c90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14000ccc0], rbx
je 0x140005cdc
cmp rax, rbx
jne 0x140005ccf
mov ebx, 1
mov esi, ebx
jmp 0x140005ce1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005cb4
mov ebx, 1
mov eax, dword [0x14000ccc8]
cmp eax, ebx
jne 0x140005cf7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140005d5c
mov eax, dword [0x14000ccc8]
test eax, eax
jne 0x140005d56
mov dword [0x14000ccc8], ebx
lea r15, [0x1400074d0]
lea rdi, [0x1400074b8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140005d48
test eax, eax
jne 0x140005d4c
cmp qword [rdi], 0
je 0x140005d3d
mov rax, qword [rdi]
mov rcx, qword [0x140007468]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140005d1e
test eax, eax
je 0x140005d5c
mov eax, 0xff
jmp 0x140005e38
mov dword [0x14000b204], ebx
mov eax, dword [0x14000ccc8]
cmp eax, ebx
jne 0x140005d83
lea rdx, [0x1400074b0]
lea rcx, [0x140007470]
call sub.msvcrt.dll__initterm
mov dword [0x14000ccc8], 2
test esi, esi
jne 0x140005d90
xor eax, eax
xchg qword [0x14000ccc0], rax
cmp qword [0x14000ccd0], 0
je 0x140005dc4
lea rcx, [0x14000ccd0]
call fcn.140006200
test eax, eax
je 0x140005dc4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000ccd0]
mov r9, qword [0x140007468]
call r9
mov r8, qword [0x14000b218]
mov rdx, qword [0x14000b210]
mov ecx, dword [0x14000b208]
call fcn.140001c1c
mov dword [0x14000b200], eax
cmp dword [0x14000b220], 0
jne 0x140005df4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b204], 0
jne 0x140005e09
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b200]
jmp 0x140005e38
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14017d000
add rsp, 0x28
jmp 0x140005c90

Function at 0x1400060ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006138
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006130
cmp dword [rcx + 0x3c], edx
jl 0x140006130
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006130
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140006138
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14002fc00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140113080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dil, 1
mov r14, rdx
movzx ebp, dil
mov rsi, rcx
mov r12d, 0xff
movabs r15, 0x4e94914f0000
movabs r13, 0x431bde82d7b634db
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14002fc66
test bpl, bpl
sete bpl
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14002fccb
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rsp + 0x68], 0x12
je 0x14002fcc8
test dil, dil
je 0x14002fccb
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14002fc85
jmp 0x14002fccb
xor dil, dil
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14002fe8b
mov rax, qword [0x140117328]
test rax, rax
je 0x14002fcf4
mov rcx, qword [rax + 0x98]
jmp 0x14002fcf6
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14002fd02
call fcn.14005ee50
call fcn.14005ff40
call fcn.1400376a0
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movzx ecx, dil
movsd xmm1, qword [r14 + 0x10]
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
call fcn.140019370
test bpl, bpl
je 0x14002fd45
movzx ecx, dil
call fcn.14002f5f0
mov r8d, 0x80088
jmp 0x14002fd4b
mov r8d, 0x800a8
mov rcx, qword [rsi + 0x58]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.140039280
call fcn.1400396a0
mov rcx, qword [rsi + 0xb8]
lea r8, [rsi + 0xc8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x90], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [rsi + 0xb8]
lea r8, [rsp + 0x90]
mov rdx, qword [rsi + 0xc8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140117328]
mov rcx, qword [rax + 0x48d8]
mov rax, qword [rcx]
xor ecx, ecx
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14005e1f0
mov rcx, qword [rsi + 0xc0]
xor r8d, r8d
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14002f910
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14002f910
mov rax, qword [rsp + 0x38]
cmp rbx, rax
je 0x14002fe57
mov ecx, 1
cmovl ecx, r12d
test cl, cl
jle 0x14002fe57
mov rcx, rbx
sub rcx, rax
cmp rcx, r15
jge 0x14002fe4b
mov rax, r13
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x14002fe42
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x14002fdf3
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x14002fdf3
test dil, dil
jne 0x14002fc50
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140092c90
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.14002fea0
xor ecx, ecx
call fcn.14009c9f4
int3
Function at 0x140032790
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 0x1400327ed
lea rbx, [0x1400f5a20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400327d4
cmp r10, 2
jb 0x1400327d4
cmp byte [r9], r8b
jne 0x1400327d4
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 0x1400327b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14003282f
lea rbx, [0x1400f5a20]
cmp r8b, 0x23
jne 0x140032813
cmp byte [r9], r8b
jne 0x140032813
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 0x140032800
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140032930
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14003294e
mov qword [r8], r14
lea rdx, [0x1400fb250]
call fcn.140032840
mov rbx, rax
test rax, rax
jne 0x140032973
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.14009d218
mov ebp, eax
cmp eax, 0xffffffff
je 0x140032a97
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.14009dbfc
test eax, eax
jne 0x140032a97
mov rcx, rbx
call fcn.14009d218
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140032a97
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.14009dbfc
test eax, eax
jne 0x140032a97
cmp rdi, 0xffffffffffffffff
je 0x140032a97
mov rcx, rdi
call fcn.140036c60
mov rbp, rax
test rax, rax
je 0x140032a97
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14009e978
mov rcx, rbx
cmp rax, rdi
je 0x140032a85
call fcn.14009d85c
mov r8, qword [0x140117328]
test r8, r8
je 0x140032a7b
movsx rdx, word [r8 + 0x5e38]
lea rcx, [r8 + 0x5e3c]
mov r9d, dword [r8 + 0x3e38]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140032a70
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 + 0x5e38], cx
movsx rax, cx
lea rcx, [r8 + 0x5e3c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x5e34]
mov rcx, rbp
call fcn.14009c5b4
jmp 0x140032a9f
call fcn.14009d85c
test rsi, rsi
je 0x140032a92
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140032aa1
mov rcx, rbx
call fcn.14009d85c
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140036430
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1400f5a20]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f28], ebx
jne 0x1400364c4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14004a8e0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400364e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x1400f5a20]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140039dc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x140117328]
mov r14d, edx
mov r12d, dword [rsp + 0x90]
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ee0]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x140039e1b
cmp qword [rdi + 0x4bb0], 0
mov eax, 0x250
je 0x140039e20
mov eax, 0x220
movss xmm5, dword [rax + rbx]
xorps xmm4, xmm4
movss xmm2, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm5, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x140039e66
mov eax, 1
je 0x140039e69
mov eax, r15d
ucomiss xmm0, xmm4
jp 0x140039e76
jne 0x140039e76
mov r15d, 2
movss xmm3, dword [0x1400fe43c]
or r15d, eax
comiss xmm4, xmm1
jb 0x140039e91
addss xmm5, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm4, xmm0
jb 0x140039ea1
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm3
or dword [rdi + 0x47c8], 2
xor edx, edx
movss dword [rdi + 0x47e8], xmm1
movss dword [rdi + 0x47ec], xmm0
mov dword [rdi + 0x47d0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x140039eea
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140032620
jmp 0x140039f00
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.140032620
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.14003cc50
mov rsi, qword [rdi + 0x3ee0]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x140039f4e
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400fa771]
not r9d
lea r10, [0x1400f5a20]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140039f7b
cmp byte [rdx], r8b
jne 0x140039f7b
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140039f68
not ebx
cmp dword [rdi + 0x3f40], ebx
jne 0x140039fab
xor edx, edx
xor ecx, ecx
call fcn.1400366d0
cmp dword [rdi + 0x48f0], r14d
jne 0x140039ff8
bt r12d, 0x17
jb 0x140039ff8
cmp word [rsi + 0x15c], 0
jne 0x140039fce
cmp byte [rsi + 0x162], 0
je 0x140039ff8
xor edx, edx
mov rcx, rsi
call fcn.14003f180
xor edx, edx
mov rcx, rsi
call fcn.1400454e0
mov rdx, rsi
mov ecx, ebx
call fcn.1400366d0
mov eax, dword [rdi + 0x4914]
mov dword [rdi + 0x3f68], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140043530
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140113080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140117328]
mov edi, ecx
cmp byte [rbx + 0x4af9], 0
jne 0x140043591
cmp byte [rbx + 0x4afa], 0
jne 0x140043591
movsx r9d, word [rbx + 0x5c2c]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400325a0
test dil, 2
je 0x1400436bf
jmp 0x14004361c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5c2c]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400fe46c]
mov edx, 0x10
mulss xmm1, dword [0x1400fe45c]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47e0], rax
mov dword [rbx + 0x47cc], 1
movss dword [rbx + 0x47d8], xmm0
movss dword [rbx + 0x47dc], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400fe3b0]
or dword [rbx + 0x47c8], 0x41
movss dword [rbx + 0x4828], xmm0
call fcn.1400325a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140043670
lea r11, [0x1400f5a20]
nop dword [rax]
cmp r9b, 0x23
jne 0x140043653
cmp byte [r8], r9b
jne 0x140043653
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 0x140043640
not ecx
call fcn.14003a3d0
test rax, rax
je 0x1400436bf
cmp byte [rax + 0xb6], 0
je 0x1400436bf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5c2c]
movsx r9d, word [rbx + 0x5c2c]
call fcn.1400325a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14003cc50
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140092c90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400496b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140117328]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140049713
mov qword [rsp], rbx
lea rbx, [0x1400f5a20]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400496f3
cmp byte [r8], r9b
jne 0x1400496f3
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 0x1400496e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5cf0]
not eax
mov r8, qword [r10 + 0x5cf8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14004973f
cmp dword [r8 + 8], eax
je 0x140049746
add r8, 0x48
cmp r8, rcx
jne 0x140049730
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14005f530
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140113080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140117328]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14005f74e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14005f74e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.1400a4080
mov r8, qword [0x140117328]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14005f603
movsx rdx, word [r8 + 0x5e38]
lea rax, [r8 + 0x5e3c]
mov r9d, dword [r8 + 0x3e38]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14005f5f8
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 + 0x5e38], cx
movsx rax, cx
lea rax, [rax*8 + 0x5e3c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x5e30]
test rdi, rdi
je 0x14005f620
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14005f623
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400fb9a0]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14005f666
mov rsi, qword [r8 + 0x90]
jmp 0x14005f669
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14005f694
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140117328]
mov rcx, qword [rax + 0x48d8]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14005f70e
inc rbx
cmp rbx, 5
jl 0x14005f6f0
jmp 0x14005f73a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14005f750
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140092c90
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret