joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d3d0
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d477
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d42a
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.14001fb80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003cc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400fda88]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d47f
mov rcx, rbx
call fcn.140003cc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d830
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1400fda90]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001d894
lea r10, [0x140070940]
cmp r8b, 0x23
jne 0x14001d877
cmp byte [rdx], r8b
jne 0x14001d877
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 0x14001d864
mov eax, dword [r14 + 0x5c20]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001d8f5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001d8ba
cmp edi, eax
jl 0x14001d8d4
mov r8d, 0x70e
lea rdx, str.C:UsersNotNameDownloadsAVN_NhanZed_ImGUIAVN_NhanZed_ImGUIimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5c28]
cmp dword [rax + rbp + 8], ebx
je 0x14001d912
mov eax, dword [r14 + 0x5c20]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001d8b1
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001d91f
cmp edi, dword [r14 + 0x5c20]
jl 0x14001d939
mov r8d, 0x70e
lea rdx, str.C:UsersNotNameDownloadsAVN_NhanZed_ImGUIAVN_NhanZed_ImGUIimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5c28]
lea rax, [rax + rcx*8]
jmp 0x14001d8f7
Function at 0x140041990
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400419f7
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x1400419b2
mov ecx, dword [r10]
jmp 0x140041b18
cmp ecx, 0x270
jb 0x140041b18
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x140041a30
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140041a90
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x1400420a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x140133300]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x1400421b3
mov rax, qword [rdi]
test rax, rax
jne 0x14004210b
mov r8d, 0x4f
lea rdx, str.C:UsersNotNameDownloadsAVN_NhanZed_ImGUIAVN_NhanZed_ImGUIexamplesexample_win32_directx11DiscordSDK_srcconnection_win.cpp
lea rcx, str.self
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x140042163
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140042163
test rsi, rsi
jne 0x140042136
mov r8d, 0x56
lea rdx, str.C:UsersNotNameDownloadsAVN_NhanZed_ImGUIAVN_NhanZed_ImGUIexamplesexample_win32_directx11DiscordSDK_srcconnection_win.cpp
lea rcx, [0x140078ad8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x140042163
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140042163
cmp dword [rsp + 0x40], ebx
je 0x1400421b3
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140042182
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x140042182
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140049b60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rbx, rcx
call fcn.14003b480
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rbp
lea rax, [0x14007b878]
mov qword [rsp + 0x38], rax
mov rax, rbx
lea rdi, [rbx + 0x18]
cmp qword [rdi], 0xf
jbe 0x140049be3
mov rax, qword [rbx]
lea rsi, [rbx + 0x18]
jmp 0x140049be6
mov rsi, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140049c52
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140049c44
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140049c3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140049ce8
mov rcx, r8
call fcn.140067308
mov rdi, rsi
mov qword [rdi], 0xf
mov eax, 0xffffffff
jmp 0x140049cce
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0xb8]
mov rdx, qword [rsi]
cmp rdx, 0xf
jbe 0x140049cc5
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140049cc0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140049ce8
mov rcx, r8
call fcn.140067308
mov qword [rsi], 0xf
mov eax, edi
mov byte [rbx], 0
mov qword [rbx + 0x10], rbp
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004b9f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x98
movaps xmmword [rax - 0x18], xmm6
xorps xmm0, xmm0
movups xmmword [rax - 0x50], xmm0
movups xmmword [rax - 0x40], xmm0
movups xmmword [rax - 0x30], xmm0
movups xmm0, xmmword [0x14007b050]
movups xmmword [rax - 0x68], xmm0
mov eax, dword [0x14007b060]
mov dword [rsp + 0x40], eax
cmp byte [0x14007b063], 0
je 0x14004bb9c
xor ecx, ecx
cmp dword [0x14008a090], 2
jl 0x14004bb64
movdqa xmm4, xmmword [0x14007c620]
movdqa xmm3, xmmword [0x14007c830]
movdqa xmm5, xmmword [0x14007c650]
movdqa xmm0, xmmword [0x14007c6f0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x14007c670]
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x14004ba80
cmp ecx, 0x14
jge 0x14004bb9c
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x14
jl 0x14004bb70
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1400405f0
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x14004c7e0
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r13, r9
mov rbx, r8
xor r14d, r14d
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rdi, rax
test eax, eax
jg 0x14004c824
xor al, al
jmp 0x14004c9fc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
lea r9, [rsp + 0x48]
mov r8, rbx
call fcn.14004c4c0
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
cmp rsi, rbp
jne 0x14004c855
xor bl, bl
jmp 0x14004c9b8
lea r9, [rsp + 0x45]
sub rbp, rsi
sar rbp, 3
mov r8, rbp
movabs r10, 0xcccccccccccccccd
nop
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14004c870
lea r8, [rsp + 0x45]
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.14005e1f0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14004c903
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c8fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c8fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067308
movdqa xmm0, xmmword [0x14007c450]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov r12d, r14d
test rbp, rbp
je 0x14004c9b6
movsxd r14, edi
mov r15, rsi
nop dword [rax + rax]
mov rdi, qword [0x1400fdaa0]
mov ebx, dword [r15]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, r14
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], 0
mov r9, r14
mov r8, r13
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xd0]
mov r8, r14
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r12d
lea r15, [r15 + 8]
movsxd rax, r12d
cmp rax, rbp
jb 0x14004c930
mov bl, 1
test rsi, rsi
je 0x14004c9f9
mov rdx, qword [rsp + 0x58]
sub rdx, rsi
and rdx, 0xfffffffffffffff8
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004c9f1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c9f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140067308
movzx eax, bl
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14004cd20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
cmp byte [0x14007a97d], 0
xorps xmm0, xmm0
mov rcx, qword [0x1400fda90]
mov dword [rsp + 0x54], 0x43af0000
mov rax, qword [rcx + 0x3ef8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ef8]
movss xmm1, dword [rax + 0x24]
subss xmm1, dword [rax + 0x88]
movss xmm2, dword [rax + 0x20]
subss xmm2, dword [rax + 0x84]
mov byte [rax + 0x141], 1
addss xmm1, xmm0
addss xmm2, xmm0
movss xmm0, dword [0x1400fdaec]
addss xmm0, dword [0x14007c348]
movss dword [rax + 0x104], xmm1
movsd xmm1, qword [str.uVLcY_K__6_6E]
movss dword [rax + 0x100], xmm2
mov eax, dword [0x14007a978]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14007a97c]
mov word [rsp + 0x3c], ax
movss dword [rsp + 0x50], xmm0
movsd qword [rsp + 0x30], xmm1
je 0x14004cf01
xor r8d, r8d
cmp dword [0x14008a090], 2
jl 0x14004cec1
movdqa xmm2, xmmword [0x14007c620]
mov r8d, 8
movdqa xmm4, xmmword [0x14007c830]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14007c650]
psubd xmm2, xmm0
movd xmm0, dword [str.uVLcY_K__6_6E]
andps xmm2, xmmword [0x14007c670]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14007c6f0]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x14007c640]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14007c650]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x34]
andps xmm2, xmmword [0x14007c670]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14007c6f0]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14004ced0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400325c0
mov rax, qword [0x1400fda90]
mov ecx, dword [rax + 0x3f58]
test ecx, ecx
je 0x14004cfc0
cmp ecx, dword [rax + 0x4794]
jne 0x14004cfc0
mov rcx, qword [0x1400fdae0]
lea rdx, [0x1400fdaf0]
mov qword [rsp + 0x40], rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
movss xmm2, dword [0x14007c3b8]
lea rcx, [rsp + 0x50]
call fcn.1400136f0
movd xmm0, dword [0x1400fdaf4]
lea rcx, [rsp + 0x58]
movss xmm2, dword [0x14007c3b8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rax + 4]
cvttss2si ebx, xmm0
call fcn.1400136f0
mov r9d, 0x1cc
mov rcx, qword [0x1400fdae0]
mov r8d, ebx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x15e
movd xmm0, dword [0x1400fdaf0]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rax]
cvttss2si edx, xmm0
call qword [sym.imp.USER32.dll_MoveWindow]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x14004d120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
movaps xmmword [rsp + 0x1c0], xmm6
mov eax, dword [str.s_]
mov dword [rbp + 0xe0], eax
cmp byte [0x14007abb3], 0
je 0x14004d20c
xor ecx, ecx
cmp dword [0x14008a090], 2
jl 0x14004d1d6
movdqa xmm3, xmmword [0x14007c620]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14007c830]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14007c830]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14007c650]
psubd xmm3, xmm0
andps xmm3, xmmword [0x14007c670]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14007c6f0]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp + 0xe0], xmm3
jmp 0x14004d20c
lea r8, [rbp + 0xe0]
nop dword [rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x14004d1e0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x50]
call fcn.14005b8e0
nop
cmp qword [rbp + 0x40], 0
je 0x14004d35e
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14007c450]
movdqu xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x50], 0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14005e480
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm6, xmmword [0x14007c450]
movdqu xmmword [rsp + 0x40], xmm6
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x70]
mov qword [rbp + 0xe0], rax
lea rdx, [0x1400fb6b0]
lea rcx, [rsp + 0x70]
call fcn.14005c150
mov rbx, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14005c150
nop
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rax
call fcn.140062b00
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004d311
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d304
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067308
movdqa xmm6, xmmword [0x14007c450]
movdqu xmmword [rsp + 0x40], xmm6
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004d360
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d357
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067308
jmp 0x14004d360
xor bl, bl
lea rcx, [rbp - 0x50]
call fcn.14004d390
movzx eax, bl
mov rbx, qword [rsp + 0x1f0]
movaps xmm6, xmmword [rsp + 0x1c0]
add rsp, 0x1d0
pop rbp
ret
Function at 0x14005b020
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 case.default.0x14005b041
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 0x14005b06e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005b070
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14005b0c9
test ecx, ecx
jle 0x14005b0a9
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 0x14005b0c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14005b0c9
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
invalid
Function at 0x14005b0f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14005b121
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14005b138
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14005b15b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005b15d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005b199
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005b22e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005b1d4
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 0x14005b20e
nop dword [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 0x14005b22e
cmp rbx, rax
ja 0x14005b1e0
test rbx, rbx
je 0x14005b22e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
xor esi, dword [rbx]