joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034f40
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 0x140034f5e
mov qword [r8], r14
lea rdx, [0x1400cb560]
call fcn.140034e50
mov rbx, rax
test rax, rax
jne 0x140034f83
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 qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400350ad
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 0x1400350ad
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400350ad
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400350ad
cmp rdi, 0xffffffffffffffff
je 0x1400350ad
mov rcx, rdi
call fcn.140039e00
mov rbp, rax
test rax, rax
je 0x1400350ad
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 0x14003509a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400e6410]
test r8, r8
je 0x14003508f
movsx rdx, word [r8 + 0x62b0]
lea rcx, [r8 + 0x62b4]
mov r9d, dword [r8 + 0x40a0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140035084
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 + 0x62b0], cx
movsx rax, cx
lea rcx, [r8 + 0x62b4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x62ac]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400350b6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400350a8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400350b8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x140039500
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x130]
lea r11, [0x1400cc350]
mov rax, qword [rcx + 0x138]
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 + 0x4194], ebx
jne 0x140039596
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14005b6f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400395a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x138]
lea r9, [0x1400cc350]
movss xmm2, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movsxd rcx, dword [rcx + 0x130]
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 0x14003e070
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14003e0c0
lea r11, [0x1400cc350]
nop dword [rax]
cmp r9b, 0x23
jne 0x14003e0a3
cmp byte [r8], r9b
jne 0x14003e0a3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14003e090
mov rcx, qword [0x1400e6410]
not edx
add rcx, 0x4128
jmp fcn.1400356e0
Function at 0x140048c00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e6410]
mov edi, ecx
cmp byte [rbx + 0x4ed1], 0
jne 0x140048c61
cmp byte [rbx + 0x4ed2], 0
jne 0x140048c61
movsx r9d, word [rbx + 0x6028]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140034b80
test dil, 2
je 0x140048d9e
jmp 0x140048cf1
movss xmm1, dword [rbx + 0x3ad8]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x6028]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400d2108]
mulss xmm1, dword [0x1400d20f8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe50]
addss xmm1, dword [rbx + 0xe54]
mov qword [rbx + 0x4b24], rax
mov dword [rbx + 0x4b0c], 1
movss dword [rbx + 0x4b1c], xmm0
mov byte [rbx + 0x4b48], 1
movss dword [rbx + 0x4b20], xmm1
movss xmm0, dword [rbx + 0x3b34]
mulss xmm0, dword [0x1400d2054]
or dword [rbx + 0x4b08], 0x41
movss dword [rbx + 0x4b70], xmm0
call fcn.140034b80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140048d41
lea r11, [0x1400cc350]
cmp r9b, 0x23
jne 0x140048d24
cmp byte [r8], r9b
jne 0x140048d24
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140048d11
mov rcx, qword [0x1400e6410]
not edx
add rcx, 0x4128
call fcn.1400356e0
test rax, rax
je 0x140048d9e
cmp byte [rax + 0xf3], 0
je 0x140048d9e
mov byte [rax + 0xf8], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xfa], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0x118], 1
mov edx, 0x10
inc word [rbx + 0x6028]
movsx r9d, word [rbx + 0x6028]
call fcn.140034b80
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20b0347
call fcn.140041300
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14009e240
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14004f090
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 + 0x61e0], 0
lea rbx, [rcx + 0x61e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14004f137
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004f0ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14005c9d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140035a20
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x61e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x61f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e6403]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14004f13f
mov rcx, rbx
call fcn.140035a20
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14004f460
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 [0x1400e6410]
xor ebp, ebp
cmp byte [rbx + 0x6120], bpl
jne 0x14004f53f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14004f538
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140034f40
mov rsi, rax
test rax, rax
je 0x14004f538
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14004f4c4
mov rcx, rax
call fcn.14004f690
mov r8, qword [0x1400e6410]
test r8, r8
je 0x14004f52f
movsx rdx, word [r8 + 0x62b0]
lea rcx, [r8 + 0x62b4]
mov r9d, dword [r8 + 0x40a0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14004f524
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 + 0x62b0], cx
movsx rax, cx
lea rcx, [r8 + 0x62b4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x62ac]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x6120], 1
movss xmm0, dword [rbx + 0x6124]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14004f5ce
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x6124], xmm0
jb 0x14004f5ce
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14004f5c1
mov rax, qword [0x1400e6410]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x6124], ebp
call fcn.14004f8f0
lea rdx, [0x1400cb564]
mov rcx, rdi
mov rsi, rax
call fcn.140034e50
mov rdi, rax
test rax, rax
je 0x14004f5c8
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 0x14004f5c8
mov byte [rbx + 0xd6], 1
mov dword [rbx + 0x6124], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14004f5f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400e6410]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14004f653
mov qword [rsp], rbx
lea rbx, [0x1400cc350]
nop dword [rax]
cmp r9b, 0x23
jne 0x14004f633
cmp byte [r8], r9b
jne 0x14004f633
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 0x14004f620
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x6138]
not eax
mov r8, qword [r10 + 0x6140]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14004f67f
cmp dword [r8 + 8], eax
je 0x14004f686
add r8, 0x48
cmp r8, rcx
jne 0x14004f670
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140052d50
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140052f5c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400cc350]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140052f24
mov rcx, rbp
call fcn.1400522f0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x140052dce
lea rcx, [rbp + 0x60e0]
call fcn.1400356e0
mov r11, rax
jmp 0x140052dd1
xor r11d, r11d
mov qword [rbx + 0x18], r11
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc8]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test r11, r11
je 0x140052e65
cmp qword [r11 + 0x20], 0
jne 0x140052e5a
mov qword [r11 + 0x20], rbx
jmp 0x140052e65
cmp qword [r11 + 0x28], 0
jne 0x140052e65
mov qword [r11 + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0x3fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140052eac
nop dword [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140052ea0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140034b80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140052f08
cmp r9b, 0x23
jne 0x140052eeb
cmp byte [r8], r9b
jne 0x140052eeb
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140052ed8
mov rcx, qword [0x1400e6410]
not edx
add rcx, 0x4128
call fcn.1400356e0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140052da0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009e240
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14005ab60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov edi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14005abad
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x14005abb2
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14005abdd
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14005abdd
mov rax, qword [rax + 0x3b0]
test rax, rax
je 0x14005abdd
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x14005abe2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14005abfc
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x14005ac01
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0x3fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], dil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x14005ac83
inc ecx
test r8d, r8d
je 0x14005ac6e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14005ac73
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14005c660
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
inc edi
test rdx, rdx
je 0x14005acc3
mov r8d, edi
mov rcx, rbp
call fcn.14005ab60
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005ab90
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140070520
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400e5028]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400e6410]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400706de
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400706de
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.140039e00
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x1400705aa
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x1400705ad
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400d1778]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], 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 rax, qword [0x1400e6410]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x1400705f7
mov rsi, qword [rax + 0x98]
jmp 0x1400705fa
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 0x140070625
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400e6410]
mov rcx, qword [rax + 0x4c48]
mov rax, qword [rcx]
mov qword [rax + 0x50], 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 word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14007069e
inc rbx
cmp rbx, 5
jl 0x140070680
jmp 0x1400706ca
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 0x1400706e0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14009e240
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140075ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x1400e6410]
mov r10, rcx
mov r9, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x140075f23
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r9 + 0x140]
subss xmm0, dword [r9 + 0x58]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x158], xmm2
subss xmm0, dword [r9 + 0x184]
movss dword [r9 + 0x148], xmm2
movss dword [r9 + 0x144], xmm1
movss dword [r9 + 0x188], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r9 + 0x178], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x198], eax
movss dword [r9 + 0x25c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x258], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x260], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1fc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xf8], al
cmp byte [rbx + 0x68], 0
je 0x140075fcf
xor eax, eax
mov dword [rdi + 0x4ab8], eax
mov dword [rdi + 0x4ac0], eax
test dword [rcx + 4], 0x100000
je 0x140075fe3
mov r8d, 2
jmp 0x140076063
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2e0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x278], 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 + 0x2e0]
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, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x2e0]
mov rcx, qword [r10 + 0x1a0]
call fcn.140069070
cmp byte [rdi + 0x61d8], 0
je 0x1400760a1
cmp byte [rbx + 0x68], 0
jne 0x1400760a1
xor r8d, r8d
lea rdx, [0x1400d1814]
mov rcx, rsi
call fcn.14004f1a0
mov dword [rdi + 0x6208], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400764f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400e6410]
mov rcx, qword [rax + 0x4f98]
mov r9, qword [rax + 0x4148]
movups xmm0, xmmword [r9 + 0x278]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2e0]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x278], 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 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2e0]
add rsp, 0x38
jmp fcn.140069070

Function at 0x1400765d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400e6410]
mov rcx, qword [rax + 0x4f98]
mov r10, qword [rax + 0x4148]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2e0]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x278], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2e0]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.140069070

Function at 0x140077bd0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400e6410]
mov rdx, qword [rax + 0x4f98]
cmp ecx, 0xffffffff
jne 0x140077bea
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140077c69
mov r10d, dword [rdx]
lea r8, [0x1400d1819]
movzx eax, word [rdx + 0x78]
lea r11, [0x1400cc350]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140077c43
cmp byte [r8], r9b
jne 0x140077c43
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 0x140077c30
not ecx
xor edx, edx
jmp fcn.1400490b0
ret