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

Disassembly:
push rbx
mov r9d, dword [rcx + 0x60]
mov ebx, dword [rcx + 0x5c]
mov r8, rcx
test r9d, r9d
jle 0x1800b61c8
mov r10, qword [0x1800fdec0]
mov edx, dword [rcx + 0x288]
movzx r11d, bl
xor ecx, ecx
nop word [rax + rax]
mov eax, edx
add ecx, 1
shl edx, 8
shr eax, 0x18
xor eax, r11d
xor edx, dword [r10 + rax*4]
cmp ecx, r9d
jne 0x1800b6130
mov eax, ebx
mov dword [r8 + 0x288], edx
mov byte [r8 + rax + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
add rax, qword [r8 + 0x40]
cmp ecx, 2
je 0x1800b61c0
cmp ecx, 3
je 0x1800b6180
cmp ecx, 1
jne 0x1800b61d2
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
jmp 0x1800b6196
mov eax, ebx
mov byte [rcx + rax + 0x80], 1
sub r9d, 4
movsxd r9, r9d
mov byte [r8 + r9 + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
movzx ebx, byte [r8 + 0x60]
mov rcx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
lea edx, [rbx - 4]
cdqe
mov byte [rcx + rax], dl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret

Function at 0x1800b9cc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
mov eax, ecx
mov r9, rdx
not eax
cmp r8, 3
jbe 0x1800b9d41
lea rbx, [r8 - 4]
mov rcx, r9
lea r10, [0x1800fe080]
mov rdx, rbx
shr rdx, 2
lea r11, [r9 + rdx*4 + 4]
nop dword [rax + rax]
mov edx, eax
xor al, byte [rcx]
add rcx, 4
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [rcx - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
mov edx, eax
xor al, byte [rcx - 2]
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [rcx - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
cmp rcx, r11
jne 0x1800b9cf0
and rbx, 0xfffffffffffffffc
and r8d, 3
lea r9, [r9 + rbx + 4]
test r8, r8
je 0x1800b9d87
mov ecx, eax
xor al, byte [r9]
lea rdx, [0x1800fe080]
movzx eax, al
shr ecx, 8
xor ecx, dword [rdx + rax*4]
mov eax, ecx
cmp r8, 1
je 0x1800b9d87
xor al, byte [r9 + 1]
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, ecx
cmp r8, 2
je 0x1800b9d87
xor al, byte [r9 + 2]
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, ecx
not eax
pop rbx
ret
Function at 0x1800bc070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov r8d, 0x773
lea rdx, str.miniz.c
lea rcx, str.d__m_pPut_buf_func
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
Function at 0x140583318
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14058349f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140583349
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14058332f
add dl, dl
jne 0x140583356
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405833b6
xor eax, eax
add dl, dl
jne 0x140583365
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14058346d
add dl, dl
jne 0x140583376
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140583383
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140583390
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14058339d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405833aa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14058333e
mov eax, 1
add dl, dl
jne 0x1405833c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405833d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405833bb
sub eax, ebx
mov ebx, 1
jne 0x14058340c
mov ecx, 1
add dl, dl
jne 0x1405833ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405833fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405833e3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058333e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140583428
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140583435
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14058341d
cmp eax, 0x7d00
jae 0x14058345b
cmp eax, 0x500
jb 0x140583456
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058333e
cmp eax, 0x7f
ja 0x14058345e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058333e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140583492
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14058333e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140064d90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rax, [r8 - 1]
mov r13, r9
mov rbp, rax
mov qword [rsp + 0x50], rax
sar rbp, 1
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov r12, rdx
mov r14, rdx
cmp rdx, rbp
jge 0x140064e40
nop dword [rax]
nop word [rax + rax]
lea rdi, [r14 + r14]
mov rax, rdi
lea rdx, [rsi + 0x60]
shl rax, 6
lea rcx, [rsi + 0xa0]
add rdx, rax
add rcx, rax
call fcn.14000ed10
lea r14, [rdi + 1]
movzx eax, al
xor rax, 1
shl rbx, 6
add r14, rax
add rbx, rsi
mov rdi, r14
mov rcx, rbx
shl rdi, 6
add rdi, rsi
mov rdx, rdi
call fcn.14001a310
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.14001a310
mov rbx, r14
cmp r14, rbp
jl 0x140064de0
cmp r14, rbp
jne 0x140064e78
test r15b, 1
jne 0x140064e78
shl r15, 6
shl rbx, 6
add rbx, rsi
mov rcx, rbx
lea rdi, [r15 + rsi]
lea rdx, [rdi - 0x40]
call fcn.14001a310
lea rdx, [rdi - 0x20]
lea rcx, [rbx + 0x20]
call fcn.14001a310
mov rbx, qword [rsp + 0x50]
cmp r12, rbx
jge 0x140064ec9
nop dword [rax]
lea rdi, [rbx - 1]
sar rdi, 1
lea rdx, [r13 + 0x20]
mov rbp, rdi
shl rbp, 6
add rbp, rsi
lea rcx, [rbp + 0x20]
call fcn.14000ed10
test al, al
je 0x140064ec9
shl rbx, 6
mov rdx, rbp
add rbx, rsi
mov rcx, rbx
call fcn.14001a310
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x20]
call fcn.14001a310
mov rbx, rdi
cmp r12, rdi
jl 0x140064e80
shl rbx, 6
mov rdx, r13
add rbx, rsi
mov rcx, rbx
call fcn.14001a310
lea rdx, [r13 + 0x20]
lea rcx, [rbx + 0x20]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.14001a310
Function at 0x1400665f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1400
call fcn.14027cc20
sub rsp, rax
mov rax, qword [0x14045d080]
xor rax, rsp
mov qword [rsp + 0x13f8], rax
xor edi, edi
call qword [sym.imp.Qt6Core.dll_public:_static_class_QCoreApplication____ptr64___cdecl_QCoreApplication::instance_void_]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x140066631
mov ecx, dword [rcx + 4]
test ecx, ecx
je 0x140066631
mov rdi, qword [rax + 0x50]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x170]
mov rcx, rax
lea r8, str.CookieId
lea rdx, str.Panels
call qword [sym.imp.obs.dll_config_has_user_value]
test al, al
jne 0x140066795
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
movabs rax, 0x5555555555555555
mov qword [rsp + 0x13d8], rax
mov qword [rsp + 0x58], rdx
mov ecx, 1
movabs r8, 0x5851f42d4c957f2d
nop word [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r8
add rdx, rcx
mov qword [rsp + rcx*8 + 0x58], rdx
inc rcx
cmp rcx, 0x138
jb 0x140066690
mov dword [rsp + 0x50], 0x138
lea rcx, [rsp + 0x50]
call fcn.1400667c0
mov r9, rax
lea r8, str._16llX
mov edx, 0x14
lea rcx, [rsp + 0x13e0]
call fcn.140066590
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x13e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140066700
lea rdx, [rsp + 0x13e0]
lea rcx, [rsp + 0x28]
call fcn.140009a30
nop
lea rbx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rbx, qword [rsp + 0x28]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x170]
mov r9, rbx
lea r8, str.CookieId
lea rdx, str.Panels
mov rcx, rax
call qword [sym.imp.obs.dll_config_set_string]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140066795
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066790
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066790
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
mov rcx, qword [rsp + 0x13f8]
xor rcx, rsp
call fcn.14027c240
mov rbx, qword [rsp + 0x1410]
add rsp, 0x1400
pop rdi
ret
Function at 0x1400667c0
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 0x140066827
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 0x1400667e2
mov ecx, dword [r10]
jmp 0x140066948
cmp ecx, 0x270
jb 0x140066948
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 0x140066860
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 0x1400668c0
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 0x140188a00
Capabilities:
Hash data using fnv

Disassembly:
mov r9, qword [rdx]
movabs r11, 0x100000001b3
mov rax, r9
movabs rdx, 0xcbf29ce484222325
shr rax, 8
movzx r10d, al
movzx eax, r9b
xor rax, rdx
imul rax, r11
xor r10, rax
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
imul r10, r11
shr r9, 0x20
xor r10, rcx
movzx r8d, r9b
movzx ecx, al
xor r8, rdx
imul r8, r11
imul r10, r11
mov eax, r9d
sar eax, 8
xor r10, rcx
movzx ecx, al
xor r8, rcx
mov eax, r9d
sar eax, 0x10
movzx ecx, al
imul r8, r11
imul r10, r11
xor r8, rcx
sar r9d, 0x18
imul r8, r11
movzx eax, r9b
xor r8, rax
mov eax, 0x9e3779b9
imul r8, r11
mov rcx, r8
mov rdx, r8
shl rcx, 6
shr rdx, 2
add rcx, r10
add rax, rdx
add rax, rcx
xor rax, r8
ret
Function at 0x1401fc030
Capabilities:
Enumerate processes

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x14045d080]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r14, rcx
xor edx, edx
mov ecx, 2
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401fc08e
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1401fc095
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401fc1f7
mov qword [rsp + 0x2e0], rbx
mov qword [rsp + 0x2e8], rbp
mov qword [rsp + 0x2f0], rdi
nop dword [rax]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x9c]
mov qword [rsp + 0x30], r15
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r15d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1401fe5b0
cmp qword [rsp + 0x60], 0xf
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x9c]
cmova rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
cmp rbp, 0xf
mov r8, qword [r14 + 0x10]
mov rcx, r14
cmova rdx, rbx
cmp qword [r14 + 0x18], 0xf
jbe 0x1401fc159
mov rcx, qword [r14]
cmp r8, qword [rsp + 0x58]
jne 0x1401fc16e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401fc16e
mov dil, 1
jmp 0x1401fc171
xor dil, dil
cmp rbp, 0xf
jbe 0x1401fc1a4
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401fc19c
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc1cc
mov rcx, rbx
call fcn.14027c260
mov rcx, rsi
test dil, dil
jne 0x1401fc1d3
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1401fc0b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401fc1df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x2e0]
mov rbp, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14027c240
add rsp, 0x2c0
pop r15
pop r14
pop rsi
ret
Function at 0x1401fc8f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14045d080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0xb
mov qword [rbp - 0x18], 0xf
movsd xmm0, qword [str.AnyDesk.exe]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x1403e76f0]
mov word [rbp - 0x28], ax
movzx eax, byte [0x1403e76f2]
mov byte [rbp - 0x26], al
mov byte [rbp - 0x25], dil
lea rcx, [rbp - 0x30]
call fcn.1401fc030
mov ebx, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1401fc998
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc993
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401fc993
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
test ebx, ebx
jne 0x1401fcaa4
mov qword [rbp - 0x28], rdi
mov ecx, 0x20
call fcn.14027c294
mov rdx, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], 0x1e
mov qword [rbp - 0x18], 0x1f
movups xmm0, xmmword [str.Sidoka___Louis_V__Menina_Linda]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1403e76d8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1403e76e0]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1403e76e4]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], bl
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1401fca4a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fca45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401fca45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c260
test rbx, rbx
je 0x1401fcaa4
mov ecx, 1
call fcn.14027c294
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140208600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1401fcad0
cmp dword [rbp - 0x28], 0
je 0x1401fcac4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1401fcac4
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14027c240
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1401fd830
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.0x1401fd851
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 0x1401fd87e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1401fd880
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1401fd8d9
test ecx, ecx
jle 0x1401fd8b9
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 0x1401fd8d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1401fd8d9
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
add byte [rsi], ah
call qword [rax + rax + 0x27]
dec ebp
add byte [rax], ch
dec ebp
add byte [rcx], ch
dec ebp
add byte [rdx], ch
call qword [rax + rax + 0x2b]
dec ebp
add byte [rdi + rdi*8], ch
int 0
dec ebp
add byte [rdi], ch
dec ebp
add byte [rcx], dh
dec ebp
add byte [rdx], dh
call qword [rax + rax + 0x33]
dec ebp
add byte [rdi + rdi*8], dh
push rsp
add byte [0x176701859], dh
dec eax
add byte [rdi], dh
invalid
Function at 0x1401fd900
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 0x1401fd931
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.0x1401fd948
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 0x1401fd96b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1401fd96d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1401fd9a9
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 0x1401fda3e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1401fd9e4
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 0x1401fda1e
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 0x1401fda3e
cmp rbx, rax
ja 0x1401fd9f0
test rbx, rbx
je 0x1401fda3e
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
call [rax + rax + 0x9cffb1]
mov dl, 0xff
pushfq
add byte [rbx - 0x4bff6301], dh
call [rax + rax + 0xacffb6]
mov bh, 0xff
insd dword [rdi], dx
add byte [rax - 0x46ff9201], bh
jmp [rbp]
Function at 0x1401fdea0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14045d080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1401fdecd
xor eax, eax
jmp 0x1401fe039
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1401fdf07
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1401fdf07
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 0x1401fe039
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1401fe02c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1401fdf4a
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 0x1401fdf75
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 0x1401fe031
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x1401fdfe4
sub eax, 1
je 0x1401fdfe4
cmp eax, 2
jne 0x1401fe02c
movsx ecx, byte [rsp + 0x40]
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 0x1401fe031
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1401fe012
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 0x1401fe02c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1401fe031
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14027c240
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret