joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001fda0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x14001fdc3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xc]
xor byte [rcx + rax], dl
inc rax
cmp rax, 7
jb 0x14001fdb0
mov byte [rcx + 8], 0
ret

Function at 0x14001fdd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x14001fdf3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xc]
xor byte [rcx + rax], dl
inc rax
cmp rax, 9
jb 0x14001fde0
mov byte [rcx + 0xa], 0
ret

Function at 0x14001ff20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x14001ff43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xc]
xor byte [rcx + rax], dl
inc rax
cmp rax, 8
jb 0x14001ff30
mov byte [rcx + 9], 0
ret

Function at 0x14001ff50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x14001ff73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xc]
xor byte [rcx + rax], dl
inc rax
cmp rax, 6
jb 0x14001ff60
mov byte [rcx + 7], 0
ret

Function at 0x14001ff80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x14001ffa3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xc]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x13
jb 0x14001ff90
mov byte [rcx + 0x14], 0
ret

Function at 0x14001ffb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x14001ffd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xc]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0xd
jb 0x14001ffc0
mov byte [rcx + 0xe], 0
ret

Function at 0x14001ffe0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x140020003
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xc]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0xa
jb 0x14001fff0
mov byte [rcx + 0xb], 0
ret

Function at 0x140023120
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 0x14002317d
lea rbx, [0x140056280]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140023164
cmp r10, 2
jb 0x140023164
cmp byte [r9], r8b
jne 0x140023164
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 0x140023140
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400231bf
lea rbx, [0x140056280]
cmp r8b, 0x23
jne 0x1400231a3
cmp byte [r9], r8b
jne 0x1400231a3
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 0x140023190
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140023300
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14002331a
mov qword [r8], 0
lea rdx, [0x14005a540]
call fcn.1400231d0
mov rbx, rax
test rax, rax
jne 0x14002333a
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 0x140023411
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 0x140023411
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140023411
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 0x140023411
cmp rdi, 0xffffffffffffffff
je 0x140023411
mov rax, qword [0x140113898]
test rax, rax
je 0x1400233ae
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140023411
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 0x1400233fe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140113898]
test rax, rax
je 0x1400233f3
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002341a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002340c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14002341c
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 0x140024b00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x140113898]
test rax, rax
je 0x140024b26
inc dword [rax + 0x3b4]
mov ecx, 0x3f80
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x38]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rax
xor r14d, r14d
test rax, rax
je 0x140024b58
xor edx, edx
mov rcx, rax
call fcn.140021ea0
mov rbx, rax
jmp 0x140024b5b
mov rbx, r14
cmp qword [0x140113898], 0
jne 0x140024b6c
mov qword [0x140113898], rbx
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Window
mov qword [rbp - 0x58], rax
mov esi, 0xffffffff
mov edx, esi
lea r8, [0x14005a47d]
mov r9b, 0x57
lea r15, [0x140056280]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140024bb2
cmp byte [r8], r9b
jne 0x140024bb2
cmp byte [r8 + 1], r9b
cmove edx, esi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140024ba0
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x140033860]
mov qword [rbp - 0x48], rax
lea rax, [0x1400338f0]
mov qword [rbp - 0x38], rax
lea rax, [0x1400339c0]
mov qword [rbp - 0x30], rax
lea rax, [0x140033aa0]
mov qword [rbp - 0x28], rax
lea rax, [0x140033bf0]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30f8]
call fcn.140034170
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Table
mov qword [rbp - 0x58], rax
mov eax, esi
lea r8, [0x14005a645]
mov r9b, 0x54
nop
cmp r9b, 0x23
jne 0x140024c52
cmp byte [r8], r9b
jne 0x140024c52
cmp byte [r8 + 1], r9b
cmove eax, esi
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr eax, 8
xor eax, dword [r15 + rdx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140024c40
not eax
mov dword [rbp - 0x50], eax
lea rax, [0x140046100]
mov qword [rbp - 0x48], rax
lea rax, [0x1400461d0]
mov qword [rbp - 0x38], rax
lea rax, [0x1400462d0]
mov qword [rbp - 0x30], rax
lea rax, [0x140046190]
mov qword [rbp - 0x28], rax
lea rax, [0x140046560]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30f8]
call fcn.140034170
mov byte [rbx], 1
mov rax, rbx
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14002d960
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140113898]
lea rdx, [0x140056280]
mov r8d, ecx
mov rbx, qword [rax + 0x1ae0]
add rbx, 0xc0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14002da17
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14002da03
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002da08
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140034e40
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002e8d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140113898]
mov edi, edx
cmp byte [rbx + 0x2005], 0
jne 0x14002e930
cmp byte [rbx + 0x2006], 0
jne 0x14002e930
mov r9d, dword [rbx + 0x30a8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400230a0
test dil, 1
je 0x14002ea4e
jmp 0x14002e9b8
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x30a8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14005aad4]
mulss xmm1, dword [0x14005aab8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1ba0], rax
mov dword [rbx + 0x1b8c], 1
movss dword [rbx + 0x1b98], xmm0
movss dword [rbx + 0x1b9c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14005a9cc]
or dword [rbx + 0x1b88], 0x41
movss dword [rbx + 0x1be8], xmm0
call fcn.1400230a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002ea08
lea r11, [0x140056280]
cmp r9b, 0x23
jne 0x14002e9eb
cmp byte [r8], r9b
jne 0x14002e9eb
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 0x14002e9d8
not ecx
call fcn.140028460
test rax, rax
je 0x14002ea4e
cmp byte [rax + 0x86], 0
je 0x14002ea4e
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x30a8]
mov edx, 0x10
mov r9d, dword [rbx + 0x30a8]
call fcn.1400230a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14002ab10
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140051cb0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140032fa0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x140113898]
cmp byte [rbx + 0x3138], 0
je 0x14003308c
cmp qword [rbx + 0x3140], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3148]
je 0x140033074
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14003301b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140034bc0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400236d0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3140]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3150]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14011358f]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400236d0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140045ce0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1401145a0]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x140113898]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401145a8]
cvtsi2ss xmm0, qword [0x1401145b0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401145a8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x140113898]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x140045e1f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1401145a0]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140045e1f
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140045e9e
mov rdx, qword [0x1401145a0]
cmp rax, rdx
je 0x140045e57
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x140045e9e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140045e9e
mov rcx, qword [0x1401145a0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140045e9e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140045eae
mov eax, 0xffffffff
jmp 0x140045ebb
mov rax, qword [0x140113898]
mov eax, dword [rax + 0x2000]
cmp dword [0x1401000e8], eax
je 0x140045ece
mov dword [0x1401000e8], eax
call fcn.1400458b0
call fcn.140045a30
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140051cb0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14004f030
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14004f061
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140118cd8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140118ce8]
lea rdx, [rdi + rdi]
call fcn.14004c2c0
mov rax, qword [0x140118cd8]
lea r9, [rdi - 1]
mov qword [0x140118d00], r9
mov qword [0x140118d08], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14004f1d4
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140118ce8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14004f120
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14004f195
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14004f15d
mov r10, qword [rdx]
cmp r10, rax
je 0x14004f157
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14004f195
cmp r9, rdx
je 0x14004f171
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14004f1a9
cmp r9, rdx
jne 0x14004f162
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14004f1cf
mov r9, qword [0x140118d00]
jmp 0x14004f0d1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14004f195
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400507d0
Capabilities:
Encode data using xor
Get common file path
Write file on windows

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8010
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp byte [0x14005a91b], 0
movsd xmm0, qword [str.haOGPVT]
mov eax, dword [str.__Y_CW6]
movsd qword [rsp + 0x38], xmm0
mov dword [rsp + 0x40], eax
je 0x14005097f
xor ecx, ecx
cmp dword [0x140063090], 2
jl 0x14005093f
movdqa xmm2, xmmword [0x14005ac30]
mov ecx, 8
movdqa xmm3, xmmword [0x14005ac40]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14005afe0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14005ac80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.haOGPVT]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14005ace0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14005ad30]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x38], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14005ac80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x3c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005ace0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14005ad30]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x140050950
movzx eax, word [0x14005a91c]
lea rcx, [rsp + 0x50]
movzx r9d, byte [0x14005a91e]
lea r8, [rsp + 0x38]
mov word [rsp + 0x30], ax
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400509a0
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400509b0
xor byte [rsp + 0x31], 0x35
lea rdx, [rsp + 0x30]
xor r9b, 0x36
mov byte [rsp + 0x30], 0x77
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x32], r9b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x140050a0d
mov edx, 0x60
lea rcx, [0x140114330]
mov r9, rax
lea r8d, [rdx - 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140051cb0
add rsp, 0x170
pop rbx
ret
Function at 0x1400513f0
Capabilities:
Authenticate hmac
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rbp + 0x60], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8010
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp byte [0x14005a981], 0
lea rcx, [rsp + 0x50]
movzx eax, word [0x14005a980]
lea r8, [rsp + 0x38]
movsd xmm0, qword [str.hy_t]
movzx r9d, byte [0x14005a91e]
mov word [rsp + 0x40], ax
movzx eax, word [0x14005a91c]
mov word [rsp + 0x30], ax
movsd qword [rsp + 0x38], xmm0
je 0x1400514a0
xor byte [rsp + 0x39], 0x35
xor byte [rsp + 0x3a], 0x36
xor byte [rsp + 0x3b], 0x37
xor byte [rsp + 0x3c], 0x38
xor byte [rsp + 0x3d], 0x39
xor byte [rsp + 0x3e], 0x3a
xor byte [rsp + 0x3f], 0x3b
xor byte [rsp + 0x40], 0x3c
xor byte [rsp + 0x41], 0x3d
mov byte [rsp + 0x38], 0x5c
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400514a3
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400514b0
xor byte [rsp + 0x31], 0x35
lea rdx, [rsp + 0x30]
xor r9b, 0x36
mov byte [rsp + 0x30], 0x77
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x32], r9b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x14005150f
mov r9, rax
lea rcx, [0x1401138b0]
mov edx, 0x1e0
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140051cb0
mov rbx, qword [rsp + 0x180]
add rsp, 0x170
pop rbp
ret
Function at 0x140051860
Capabilities:
Authenticate hmac
Delete file
Get common file path
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rbp + 0x60], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8010
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp byte [0x14005a981], 0
lea rcx, [rsp + 0x50]
movzx eax, word [0x14005a980]
lea r8, [rsp + 0x38]
movsd xmm0, qword [str.hy_t]
movzx r9d, byte [0x14005a90e]
mov word [rsp + 0x40], ax
movzx eax, word [0x14005a90c]
mov word [rsp + 0x30], ax
movsd qword [rsp + 0x38], xmm0
je 0x140051910
xor byte [rsp + 0x39], 0x35
xor byte [rsp + 0x3a], 0x36
xor byte [rsp + 0x3b], 0x37
xor byte [rsp + 0x3c], 0x38
xor byte [rsp + 0x3d], 0x39
xor byte [rsp + 0x3e], 0x3a
xor byte [rsp + 0x3f], 0x3b
xor byte [rsp + 0x40], 0x3c
xor byte [rsp + 0x41], 0x3d
mov byte [rsp + 0x38], 0x5c
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140051913
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140051920
xor byte [rsp + 0x31], 0x35
lea rdx, [rsp + 0x30]
xor r9b, 0x36
mov byte [rsp + 0x30], 0x72
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x32], r9b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x1400519bf
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, rbx
cmp eax, 0x1e0
jne 0x1400519b9
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, rbx
lea rcx, [0x1401138b0]
mov edx, 0x1e0
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400519c4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.140051530
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140051cb0
mov rbx, qword [rsp + 0x180]
add rsp, 0x170
pop rbp
ret