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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1400091a3
mov r8d, 0x773
lea rdx, str.D:Kenzo_ImGuiNovus_ImGuiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x120]
lea r9, [0x1400b3780]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0x100]
subss xmm0, xmm2
mov rax, qword [rbx + 0x108]
movss xmm3, dword [rbx + 0x124]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
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 + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x140019040
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140b1d220]
mov edi, ecx
cmp byte [rbx + 0x4d21], 0
jne 0x140019092
cmp byte [rbx + 0x4d22], 0
jne 0x140019092
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004ea0
test dil, 2
je 0x1400191bf
jmp 0x14001911b
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400bd0a8]
xor eax, eax
mulss xmm1, dword [0x1400bd094]
addss xmm0, dword [rbx + 0xe48]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x4a00], rax
mov dword [rbx + 0x49ec], 1
movss dword [rbx + 0x49f8], xmm0
movss dword [rbx + 0x49fc], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mulss xmm0, dword [0x1400bd008]
or dword [rbx + 0x49e8], 0x41
movss dword [rbx + 0x4a48], xmm0
movsx r9d, word [rbx + 0x5e68]
call fcn.140004ea0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019170
lea r11, [0x1400b3780]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140019153
cmp byte [r8], r9b
jne 0x140019153
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 0x140019140
not ecx
call fcn.14000d2e0
test rax, rax
je 0x1400191bf
cmp byte [rax + 0xbe], 0
je 0x1400191bf
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e68]
movsx r9d, word [rbx + 0x5e68]
call fcn.140004ea0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140010450
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001ed90
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 + 0x5fc0], 0
lea rbx, [rcx + 0x5fc8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ee37
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001edea
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.1400217d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400056b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fd0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140b1d218]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ee3f
mov rcx, rbx
call fcn.1400056b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f0a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140b1d220]
xor ebp, ebp
cmp byte [rbx + 0x5f18], bpl
jne 0x14001f19c
cmp dword [rbx + 0x5f40], ebp
je 0x14001f0e7
mov r8d, 0x339a
lea rdx, str.D:Kenzo_ImGuiNovus_ImGuiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001f195
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1400050c0
mov rdi, rax
test rax, rax
je 0x14001f195
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001f121
mov rcx, rax
call fcn.14001f2f0
mov r8, qword [0x140b1d220]
test r8, r8
je 0x14001f18c
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001f181
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 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f18], 1
movss xmm0, dword [rbx + 0x5f1c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001f239
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f1c], xmm0
jb 0x14001f239
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001f227
mov rax, qword [0x140b1d220]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f1c], ebp
call fcn.14001f570
lea rdx, [0x1400b2f6c]
mov rcx, rdi
mov rsi, rax
call fcn.140004fd0
mov rdi, rax
test rax, rax
je 0x14001f22e
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 0x14001f22e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f1c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f250
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140b1d220]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001f2b3
mov qword [rsp], rbx
lea rbx, [0x1400b3780]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001f293
cmp byte [r8], r9b
jne 0x14001f293
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 0x14001f280
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001f2df
cmp dword [r8 + 8], eax
je 0x14001f2e6
add r8, 0x48
cmp r8, rcx
jne 0x14001f2d0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140043640
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xa0
xor ebx, ebx
lea r9, [rax + 0x18]
mov dword [rax - 0x70], ebx
mov rdi, rcx
mov qword [rax - 0x78], rbx
lea rcx, [0x1400bb290]
mov qword [rax - 0x80], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x14004382e
lea rdx, [rsp + 0x70]
call fcn.1400438c0
mov r9, rax
cmp byte [rax + 0x12], bl
je 0x140043898
cmp dword [0x1400d8158], 2
jl 0x1400437f0
movdqa xmm0, xmmword [0x1400bd380]
mov rcx, rax
movdqa xmm5, xmmword [0x1400bd2e0]
movdqa xmm4, xmmword [0x1400bd370]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x1400bd300]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400bd350]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400bd350]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp ebx, 0x10
jl 0x1400436e0
movaps xmm6, xmmword [rsp + 0x90]
cmp eax, 0x13
jge 0x140043898
movsxd r8, ebx
add r8, r9
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x13
jge 0x140043898
jmp 0x140043800
mov ecx, dword [rsp + 0xc0]
lea r10, [rsp + 0x85]
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x140043840
lea r9, [rsp + 0xb8]
mov rdx, r10
lea r8, [rsp + 0x85]
mov rcx, rdi
call fcn.140051350
mov rbx, qword [rsp + 0xb0]
mov rax, rdi
add rsp, 0xa0
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.140041e80
lea rdx, [0x1400d4ea0]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400441b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r15d, [rbp + 3]
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov r14d, 0x275c
mov eax, dword [r14 + rdi]
mov r13d, 0x13c0
test al, 1
jne 0x140044258
or eax, 1
mov dword [r14 + rdi], eax
mov ebx, r13d
add rbx, rdi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea edx, [rbp + 1]
lea r8, [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140044230
mov dword [rbx], 0x270
mov eax, dword [r14 + rdi]
mov ecx, 0x2748
test al, 2
jne 0x140044279
or eax, 2
mov dword [r14 + rdi], eax
mov qword [rdi + rcx], rbp
mov qword [rdi + rcx + 8], 0x3d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x20], 1
lea r12, [rcx + rdi]
mov ebx, r13d
add rbx, rdi
mov qword [rsp + 0x78], rbx
lea r13, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx edi, byte [rsp + 0x78]
dec r15
mov rbp, qword [r12]
mov rdx, qword [r12 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x1400442e4
mov rcx, rbx
call fcn.140053eb0
mov r14d, eax
shl r14, 0x20
mov rcx, rbx
call fcn.140053eb0
mov eax, eax
or r14, rax
jmp 0x1400442f4
inc rdx
lea rcx, [rsp + 0x78]
call fcn.140053910
mov r14, rax
lea rax, [r14 + rbp]
movzx r9d, byte [rax + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140044329
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x14004431e
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004433a
movzx r8d, dil
mov edx, 1
mov rcx, rsi
call fcn.140051930
test r15, r15
jne 0x1400442b1
mov rax, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140044360
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov r14d, 0x2758
mov eax, dword [r14 + rdi]
mov r13d, 0x20
test al, 1
jne 0x1400443f8
or eax, 1
mov dword [r14 + rdi], eax
mov ebx, r13d
add rbx, rdi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea edx, [rbp + 1]
lea r8, [rbx + 8]
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x1400443d0
mov dword [rbx], 0x270
mov eax, dword [r14 + rdi]
mov ebx, 0x13a8
test al, 2
jne 0x140044419
or eax, 2
mov dword [r14 + rdi], eax
mov qword [rdi + rbx], rbp
mov qword [rdi + rbx + 8], 9
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x20], 1
cmp r15, 0xf
jbe 0x140044451
movzx r8d, byte [rsp + 0x70]
mov rdx, r15
mov rcx, rsi
call fcn.140051640
mov qword [rsi + 0x10], rbp
lea r12, [rdi + rbx]
mov ebx, r13d
add rbx, rdi
mov qword [rsp + 0x78], rbx
lea r13, str.0123456789
movzx edi, byte [rsp + 0x70]
nop dword [rax]
dec r15
mov rbp, qword [r12]
mov rdx, qword [r12 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x1400444a3
mov rcx, rbx
call fcn.140053eb0
mov r14d, eax
shl r14, 0x20
mov rcx, rbx
call fcn.140053eb0
mov eax, eax
or r14, rax
jmp 0x1400444b3
inc rdx
lea rcx, [rsp + 0x78]
call fcn.140053910
mov r14, rax
lea rax, [r14 + rbp]
movzx r9d, byte [rax + r13]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x1400444e8
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x1400444dd
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400444f9
movzx r8d, dil
mov edx, 1
mov rcx, rsi
call fcn.140051930
test r15, r15
jne 0x140044470
mov rax, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140045160
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rsi
push r15
mov eax, 0x13d8
call fcn.14009fb30
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140045190
mov r15, qword [0x140b1d8e0]
xor esi, esi
mov rax, qword [0x140b1d8e8]
sub rax, r15
mov dword [rsp + 0x20], 0x270
sar rax, 3
test rax, rax
je 0x1400453f8
movss xmm4, dword [0x1400bd4a0]
xorps xmm5, xmm5
mov qword [rsp + 0x13f0], rbx
mov ebx, esi
mov qword [rsp + 0x13f8], rbp
mov qword [rsp + 0x1400], rdi
mov rdi, qword [0x140b1d8f8]
mov qword [rsp + 0x13d0], r12
mov r12, qword [0x140b1d980]
mov qword [rsp + 0x13c8], r13
mov r13, qword [0x140b1d220]
mov qword [rsp + 0x13c0], r14
mov r14d, esi
movaps xmmword [rsp + 0x13b0], xmm6
movsd xmm6, qword [0x1400bd050]
nop dword [rax]
movss xmm1, dword [rdi + rbx]
xorps xmm2, xmm2
mov ebp, dword [r12 + r14]
movss xmm0, dword [r15 + rbx]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm6
cvtsi2ss xmm2, ebp
addsd xmm1, xmm0
movss xmm0, dword [r15 + rbx + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [r15 + rbx], xmm3
movss xmm1, dword [rdi + rbx + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [r15 + rbx + 4], xmm0
comiss xmm5, xmm1
ja 0x1400452b9
mov rax, qword [r13 + 0x4038]
addss xmm2, xmm3
comiss xmm2, dword [rax + 0x30]
ja 0x1400452b9
movss xmm2, dword [rdi + rbx + 4]
jmp 0x140045313
movss xmm0, dword [rdi + rbx]
lea rcx, [rsp + 0x20]
xorps xmm0, xmm4
movss dword [rdi + rbx], xmm0
call fcn.140053eb0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x1400452f8
nop
lea rcx, [rsp + 0x20]
call fcn.140053eb0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x1400452e0
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + rbx + 4], xmm2
movss xmm3, dword [r15 + rbx + 4]
movd xmm0, ebp
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
comiss xmm5, xmm1
ja 0x140045345
mov rax, qword [r13 + 0x4038]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
comiss xmm0, dword [rax + 0x34]
jbe 0x140045398
xorps xmm2, xmm4
lea rcx, [rsp + 0x20]
movss dword [rdi + rbx + 4], xmm2
call fcn.140053eb0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x14004537e
lea rcx, [rsp + 0x20]
call fcn.140053eb0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x140045366
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx], xmm0
mov rcx, qword [0x140b1d8e8]
inc esi
sub rcx, qword [0x140b1d8e0]
add rbx, 8
sar rcx, 3
add r14, 4
movsxd rax, esi
cmp rax, rcx
jb 0x140045240
movaps xmm6, xmmword [rsp + 0x13b0]
mov r14, qword [rsp + 0x13c0]
mov r13, qword [rsp + 0x13c8]
mov r12, qword [rsp + 0x13d0]
mov rdi, qword [rsp + 0x1400]
mov rbp, qword [rsp + 0x13f8]
mov rbx, qword [rsp + 0x13f0]
add rsp, 0x13d8
pop r15
pop rsi
ret
Function at 0x14004de70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x26], 0
je 0x14004de93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x24]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x25
jb 0x14004de80
mov byte [rcx + 0x26], 0
mov rax, rcx
ret

Function at 0x14004e100
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x28], 0
je 0x14004e123
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x24]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x27
jb 0x14004e110
mov byte [rcx + 0x28], 0
mov rax, rcx
ret

Function at 0x14004e160
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x14004e183
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x24]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x1b
jb 0x14004e170
mov byte [rcx + 0x1c], 0
mov rax, rcx
ret

Function at 0x14004eb60
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.0x14004eb81
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 0x14004ebae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004ebb0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004ec09
test ecx, ecx
jle 0x14004ebe9
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 0x14004ec09
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004ec09
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
insb byte [rdi], dx
or byte [rdx], 0xa6
in eax, dx
cmc
jmp 0x14017cf8c
Function at 0x14004ec30
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 0x14004ec61
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.0x14004ec78
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 0x14004ec9b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004ec9d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004ecd9
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 0x14004ed6e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14004ed14
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 0x14004ed4e
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 0x14004ed6e
cmp rbx, rax
ja 0x14004ed20
test rbx, rbx
je 0x14004ed6e
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
jmp 0x12cf9b945