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

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x1400797a0]
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 + 0x40bc], ebx
jne 0x140014fa6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001fdf0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140014fb0
Capabilities:
Hash data with crc32

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400916b0]
mov edi, ecx
cmp byte [rbx + 0x4dad], 0
jne 0x1400193d1
cmp byte [rbx + 0x4dae], 0
jne 0x1400193d1
movsx r9d, word [rbx + 0x5f20]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140006be0
test dil, 2
je 0x1400194ff
jmp 0x14001945a
movss xmm1, dword [rbx + 0x39d4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5f20]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14008263c]
mulss xmm1, dword [0x140082634]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x108]
addss xmm1, dword [rbx + 0x10c]
mov qword [rbx + 0x4a90], rax
mov dword [rbx + 0x4a7c], 1
movss dword [rbx + 0x4a88], xmm0
movss dword [rbx + 0x4a8c], xmm1
movss xmm0, dword [rbx + 0x3a30]
mulss xmm0, dword [0x140082590]
or dword [rbx + 0x4a78], 0x41
movss dword [rbx + 0x4ad8], xmm0
call fcn.140006be0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400194b0
lea r11, [0x1400797a0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140019493
cmp byte [r8], r9b
jne 0x140019493
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 0x140019480
not ecx
call fcn.14000ed50
test rax, rax
je 0x1400194ff
cmp byte [rax + 0xca], 0
je 0x1400194ff
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 + 0x5f20]
movsx r9d, word [rbx + 0x5f20]
call fcn.140006be0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140011b10
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140072580
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001e620
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 + 0x6080], 0
lea rbx, [rcx + 0x6088]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001e6c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001e67a
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.140020ea0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007820
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6080]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6090]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400916a8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001e6cf
mov rcx, rbx
call fcn.140007820
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ea00
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 [0x1400916b0]
xor ebp, ebp
cmp byte [rbx + 0x5fd0], bpl
jne 0x14001eadf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001ead8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140007060
mov rsi, rax
test rax, rax
je 0x14001ead8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001ea64
mov rcx, rax
call fcn.14001ec30
mov r8, qword [0x1400916b0]
test r8, r8
je 0x14001eacf
movsx rdx, word [r8 + 0x6160]
lea rcx, [r8 + 0x6164]
mov r9d, dword [r8 + 0x3fb0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001eac4
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 + 0x6160], cx
movsx rax, cx
lea rcx, [r8 + 0x6164]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x615c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5fd0], 1
movss xmm0, dword [rbx + 0x5fd4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001eb6e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5fd4], xmm0
jb 0x14001eb6e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001eb61
mov rax, qword [0x1400916b0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5fd4], ebp
call fcn.14001ee90
lea rdx, [0x140079294]
mov rcx, rdi
mov rsi, rax
call fcn.140006eb0
mov rdi, rax
test rax, rax
je 0x14001eb68
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 0x14001eb68
mov byte [rbx + 0xde], 1
mov dword [rbx + 0x5fd4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001eb90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400916b0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ebf3
mov qword [rsp], rbx
lea rbx, [0x1400797a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001ebd3
cmp byte [r8], r9b
jne 0x14001ebd3
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 0x14001ebc0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fe8]
not eax
mov r8, qword [r10 + 0x5ff0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001ec1f
cmp dword [r8 + 8], eax
je 0x14001ec26
add r8, 0x48
cmp r8, rcx
jne 0x14001ec10
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400429b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x38
cmp qword [r8 + 0x38], 0
lea rsi, [rcx + 0x18]
mov rbx, r8
mov r8, rdx
je 0x1400429eb
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14006e6e0
mov rdx, rbx
mov rcx, qword [rax]
add rcx, 0x30
call fcn.14006c100
add rsp, 0x38
pop rsi
pop rbx
ret
cmp qword [rdx + 0x18], 0xf
mov r9, qword [rdx + 0x10]
mov qword [rsp + 0x30], rdi
jbe 0x1400429fe
mov r8, qword [rdx]
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x140042a34
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdi, rax
imul rdi, r10
cmp rcx, r9
jb 0x140042a20
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14006fb10
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140042abb
mov rdx, qword [rsi + 0x30]
and rdx, rdi
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140042a84
cmp rax, rbx
jne 0x140042a7a
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140042a8f
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140042a8f
cmp rax, rbx
jne 0x140042a8f
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.1400700c0
mov edx, WSACleanup
mov rcx, rbx
call fcn.140072800
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop rsi
pop rbx
ret
Function at 0x14004dd10
Capabilities:
Create process on windows
Self delete

Disassembly:
sub rsp, 0x578
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x560], rax
mov r8d, 0x104
lea rdx, [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [rsp + 0x120]
lea rdx, str.cmd.exe__c_ping_1.1.1.1__n_1__w_3000___nul__del__f__q___s_
lea rcx, [rsp + 0x330]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0xe4], xmm0
movups xmmword [rsp + 0xf4], xmm0
movups xmmword [rsp + 0x104], xmm0
mov dword [rsp + 0x114], eax
mov dword [rsp + 0xb0], 0x68
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x330]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14004de2f
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140072580
add rsp, 0x578
ret
lea rdx, str.Z9TGkm664614VV3Cg0Zw2Ta8NyX88W43jan5o48iOv1bWThUi2AjTTanf8E5Pqe
lea rcx, [rsp + 0x50]
call fcn.14006cc50
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140043900
nop
mov rcx, rax
call fcn.140043ca0
int3
Function at 0x1400549d0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsx edi, cl
movzx ebx, dl
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, 0x409
cmp ax, cx
je 0x140054a25
mov edx, 0x100
lea rcx, str.0409
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x18], rax
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0x38], 1
movups xmmword [rbp - 0x28], xmm0
test bl, bl
je 0x140054a6b
xor edx, edx
lea ecx, [rax + 0x10]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, 0x28
mov dword [rbp - 0x2c], 8
lea rdx, [rbp - 0x38]
mov word [rbp - 0x2e], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
movzx ecx, di
call qword [sym.imp.USER32.dll_VkKeyScanW]
movzx ecx, al
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, 0x28
mov dword [rbp - 0x2c], 8
lea rdx, [rbp - 0x38]
mov word [rbp - 0x2e], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
test bl, bl
je 0x140054b3a
movzx eax, byte [0x140091732]
test al, al
je 0x140054b06
movabs rdi, 0x7ffffffffd050f7f
movabs rbx, 0x7fffffffffffffff
movzx eax, byte [0x140091870]
test al, al
je 0x140054b06
lea rcx, [rbp - 0x40]
call fcn.140042ad0
mov rax, qword [rbp - 0x40]
cmp rax, rdi
jge 0x140054aee
add rax, 0x2faf080
mov qword [rbp - 0x48], rax
jmp 0x140054af2
mov qword [rbp - 0x48], rbx
lea rcx, [rbp - 0x48]
call fcn.14006fd80
movzx eax, byte [0x140091732]
test al, al
jne 0x140054ac5
mov r8d, 0x28
lea rdx, [rbp - 0x38]
xor eax, eax
xchg byte [0x140091732], al
mov dword [rbp - 0x2c], 0xa
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [rbp - 0x2e], ax
jmp 0x140054b8a
movsxd rbx, dword [0x140090108]
lea rcx, [rbp - 0x50]
call fcn.140042ad0
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], rcx
test rbx, rbx
jle 0x140054b81
imul rdx, rbx, 0x3b9aca00
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rdx
cmp rcx, rax
jge 0x140054b7d
lea rax, [rdx + rcx]
mov qword [rbp - 0x50], rax
jmp 0x140054b81
mov qword [rbp - 0x50], rbx
lea rcx, [rbp - 0x50]
call fcn.14006fd80
mov r8d, 0x28
mov dword [rbp - 0x2c], 0xa
lea rdx, [rbp - 0x38]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140072580
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140059570
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140042ad0
lea rcx, [rsp + 0x30]
call fcn.140042ad0
mov rcx, qword [rsp + 0x30]
movabs rsi, 0x112e0be826d694b3
sub rcx, qword [rsp + 0x40]
mov rax, rsi
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movzx eax, byte [0x140091794]
test al, al
jne 0x14005965d
movabs rdi, 0x7ffffffffd050f7f
movabs rbx, 0x7fffffffffffffff
nop dword [rax]
cmp rdx, 5
jge 0x1400596e5
lea rcx, [rsp + 0x48]
call fcn.140042ad0
mov rax, qword [rsp + 0x48]
cmp rax, rdi
jge 0x14005961b
add rax, 0x2faf080
mov qword [rsp + 0x38], rax
jmp 0x140059620
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
call fcn.14006fd80
lea rcx, [rsp + 0x30]
call fcn.140042ad0
mov rcx, qword [rsp + 0x30]
mov rax, rsi
sub rcx, qword [rsp + 0x40]
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movzx eax, byte [0x140091794]
test al, al
je 0x1400595f0
xor ebx, ebx
mov eax, ebx
xchg byte [0x140091794], al
mov edx, dword [0x14009170c]
mov ecx, dword [0x140091798]
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
sub rax, qword [rsp + 0x58]
imul rax, rax, 0x3e8
cqo
idiv qword [rsp + 0x60]
cmp rax, 0x5a
jl 0x140059690
xor edx, edx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
xor edx, edx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140072580
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14006b540
Capabilities:
Write file on windows

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

Function at 0x14006b610
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14006b632
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14006b648
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14006b664
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006b666
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006b6a2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14006b73e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14006b6dd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14006b71e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14006b73e
cmp rbx, rax
ja 0x14006b6f0
test rbx, rbx
je 0x14006b73e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14006bba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006bbcd
xor eax, eax
jmp 0x14006bd39
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14006bc07
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14006bc07
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14006bd39
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14006bd2c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006bc4a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14006bc75
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14006bd31
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14006bce4
sub eax, 1
je 0x14006bce4
cmp eax, 2
jne 0x14006bd2c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14006bd31
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14006bd12
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14006bd2c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14006bd31
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140072580
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14006d2b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14006d383
cmp byte [rcx + 0x71], 0
je 0x14006d383
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14006d37f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14006d344
sub eax, 1
je 0x14006d348
cmp eax, 2
jne 0x14006d37f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140072580
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14006d376
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14006d37f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14006d32c
xor al, al
jmp 0x14006d32c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140072580
add rsp, 0x60
pop rbx
ret