joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800710c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18007128b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180070580
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180071254
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800711cd
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180071243
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18007120a
mov r10, qword [rdx]
cmp r10, rax
je 0x180071204
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 0x180071243
cmp r9, rdx
je 0x18007121f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180071265
cmp r9, rdx
jne 0x180071210
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
jne 0x180071151
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x180071243
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1800712a0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x18007147b
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.180070580
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x180071444
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1800713bc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180071433
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1800713f9
mov r10, qword [rdx]
cmp r10, rax
je 0x1800713f3
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 0x180071433
cmp r9, rdx
je 0x18007140f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180071455
cmp r9, rdx
jne 0x180071400
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, rdi
jne 0x180071340
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
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 0x180071433
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x180077b40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x201], 0
je 0x180077b68
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x14]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x200
jb 0x180077b50
mov byte [rcx + 0x201], 0
mov rax, rcx
ret

Function at 0x180078060
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x81], 0
mov r8, rcx
je 0x1800780fd
mov r9, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r9, rcx
nop
lea edx, [rax + r9]
lea ecx, [rdx - 0x14]
xor byte [rax - 2], cl
lea rax, [rax + 0x10]
lea ecx, [rdx - 0x13]
xor byte [rax - 0x11], cl
lea ecx, [rdx - 0x12]
xor byte [rax - 0x10], cl
lea ecx, [rdx - 0x11]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 0x10]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0xf]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0xe]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0xd]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0xc]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0xb]
xor byte [rax - 9], cl
lea ecx, [rdx - 0xa]
xor byte [rax - 8], cl
lea ecx, [rdx - 9]
xor byte [rax - 7], cl
lea ecx, [rdx - 8]
xor byte [rax - 6], cl
lea ecx, [rdx - 7]
xor byte [rax - 5], cl
lea ecx, [rdx - 6]
xor byte [rax - 4], cl
sub dl, 5
xor byte [rax - 3], dl
lea rcx, [r9 + rax]
cmp rcx, 0x80
jb 0x180078080
mov byte [r8 + 0x81], 0
mov rax, r8
ret
Function at 0x1800a8e40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.18019d760
sub rsp, rax
mov rax, qword [0x18023c800]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
xorps xmm0, xmm0
mov word [rsp + 0x25], 0x5b
xorps xmm1, xmm1
mov dword [rsp + 0x20], 0x3e3c2f5c
movups xmmword [rsp + 0x28], xmm0
mov rsi, rcx
mov byte [rsp + 0x24], 0x5d
movdqu xmmword [rsp + 0x38], xmm1
mov byte [rsp + 0x27], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800a8eb0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180001340
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rsp + 0x54], eax
mov ecx, 1
mov dword [rbp + 0x12d4], 0xffffffff
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1800a8ef0
mov eax, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], 0x270
mov r14d, 0x80000000
xor eax, r14d
cmp eax, 0x7fffffff
jne 0x1800a8f3b
call fcn.18006ab80
mov ecx, eax
jmp 0x1800a8f78
lea ebx, [rax - 0x7fffffff]
call fcn.18006ab80
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x1800a8f74
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1800a8f74
lea rcx, [rsp + 0x50]
call fcn.18006ab80
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1800a8f60
shr rcx, 0x20
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x28]
mov rbx, qword [rsp + 0x28]
add ecx, r14d
xor ecx, r14d
mov edx, 1
movsxd r8, ecx
cmp rdi, 0xf
mov rcx, rsi
cmova rax, rbx
movzx r8d, byte [r8 + rax]
call fcn.180063660
cmp rdi, 0xf
jbe 0x1800a8fe4
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800a8fdc
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a8fdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.18019d210
mov rax, rsi
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.18019d700
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1800adcb0
Capabilities:
Hash data using fnv

Disassembly:
mov r10d, edx
test r8b, r8b
je 0x1800adcc9
test r9, r9
je 0x1800add72
lea rax, [r9 + 0xfc]
ret
mov r8, qword [0x18023d5e0]
movabs r9, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r10b
xor rdx, rax
mov eax, r10d
imul rdx, r9
sar eax, 8
movzx ecx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x10
imul rdx, r9
movzx ecx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
imul rdx, r9
movzx ecx, al
xor rdx, rcx
mov rcx, qword [r8 + 0x30]
imul rdx, r9
and rcx, rdx
mov rdx, qword [r8 + 8]
shl rcx, 4
add rcx, qword [r8 + 0x18]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1800add55
mov rcx, qword [rcx]
cmp r10d, dword [rax + 0x10]
je 0x1800add57
cmp rax, rcx
je 0x1800add55
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x1800add44
jmp 0x1800add57
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1800add72
add rax, 0x18
cmp qword [rax + 0x18], 0xf
jbe 0x1800add79
mov rax, qword [rax]
ret
lea rax, [0x1801b5248]
ret
Function at 0x1800c9f40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
movups xmm0, xmmword [0x1801b5238]
mov rbx, rcx
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1800ca0e0
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800ca09c
movdqa xmm0, xmmword [0x1801bad00]
lea rcx, [rsp + 0x24]
movdqa xmm4, xmmword [0x1801bab60]
movdqa xmm3, xmmword [0x1801bac50]
movdqa xmm5, xmmword [0x1801bab80]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1801babe0]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800c9fb2
movaps xmm6, xmmword [rsp + 0x50]
jmp 0x1800ca0e0
lea r9, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x1800ca0b0
xorps xmm0, xmm0
lea rax, [rsp + 0x20]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800ca100
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180001340
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18006f180
mov rdx, qword [rsp + 0x48]
mov rbx, rax
cmp rdx, 0xf
jbe 0x1800ca169
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ca164
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ca164
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18019d210
test rbx, rbx
je 0x1800ca187
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x1800ca187
cmp byte [rax + 0xc0], 0
sete al
add rsp, 0x60
pop rbx
ret
mov al, 1
add rsp, 0x60
pop rbx
ret
Function at 0x1800d6940
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18023c800]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800d696d
xor eax, eax
jmp 0x1800d6aca
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1800d6998
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1800d6998
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x1800d6aca
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1800d6abd
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1800d69db
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x1800d6a06
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 0x1800d6ac2
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800d6a75
sub eax, 1
je 0x1800d6a75
cmp eax, 2
jne 0x1800d6abd
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1800d6ac2
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1800d6aa3
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 0x1800d6abd
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1800d6ac2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18019d700
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1800dc680
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x18023c800]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r11, rcx
mov qword [rsp + 0x38], rdx
mov rcx, rdx
mov rbx, rdx
mov rbp, rdx
shr rcx, 0x38
mov r14, rdx
shr rbx, 0x30
mov r15, rdx
shr rbp, 0x28
mov r12, rdx
shr r14, 0x20
mov rax, rdx
shr r15, 0x18
shr r12, 0x10
movzx r13d, r9b
shr rax, 8
mov r10, rdx
test rdx, rdx
je 0x1800dc8a5
test r8, r8
je 0x1800dc8a5
mov qword [rsp + 0x50], rdi
mov rdi, qword [rdx + 0xd0]
test rdi, rdi
je 0x1800dc8a0
mov qword [rsp + 0xa0], rsi
mov rsi, qword [r8 + 0xd0]
test rsi, rsi
je 0x1800dc898
cmp byte [rsp + 0xb0], 0
je 0x1800dc81b
movzx eax, al
movabs r8, 0xcbf29ce484222325
movzx edx, r10b
xor rdx, r8
movabs r8, 0x100000001b3
imul rdx, r8
xor rdx, rax
movzx eax, r12b
imul rdx, r8
xor rdx, rax
movzx eax, r15b
imul rdx, r8
xor rdx, rax
movzx eax, r14b
imul rdx, r8
xor rdx, rax
movzx eax, bpl
imul rdx, r8
xor rdx, rax
movzx eax, bl
imul rdx, r8
xor rdx, rax
imul rdx, r8
xor rdx, rcx
mov rcx, qword [r11 + 0x2580]
imul rdx, r8
and rcx, rdx
mov rdx, qword [r11 + 0x2558]
shl rcx, 4
add rcx, qword [r11 + 0x2568]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1800dc7d1
mov rcx, qword [rcx]
cmp r10, qword [rax + 0x10]
je 0x1800dc7d3
nop
cmp rax, rcx
je 0x1800dc7d1
mov rax, qword [rax + 8]
cmp r10, qword [rax + 0x10]
jne 0x1800dc7c0
jmp 0x1800dc7d3
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1800dc898
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x28]
lea rcx, [r11 + 0x2550]
call fcn.180058650
mov rcx, qword [rax]
movzx eax, byte [rcx + 0x18]
mov byte [rdi + 0x49], al
movzx eax, byte [rcx + 0x19]
mov byte [rdi + 0x4a], al
movzx eax, byte [rcx + 0x1a]
mov byte [rdi + 0x4b], al
movzx eax, word [rcx + 0x1c]
mov word [rdi + 0x4e], ax
jmp 0x1800dc898
movzx eax, byte [rdi + 0x49]
lea r8, [rsp + 0x38]
movzx ebx, word [rdi + 0x4e]
lea rdx, [rsp + 0x28]
mov byte [rsp + 0x20], al
lea rcx, [r11 + 0x2550]
movzx eax, byte [rdi + 0x4a]
mov byte [rsp + 0x21], al
movzx eax, byte [rdi + 0x4b]
mov byte [rsp + 0x22], al
call fcn.180058650
mov rcx, qword [rax]
mov eax, dword [rsp + 0x20]
mov dword [rcx + 0x18], eax
movzx eax, bx
mov word [rcx + 0x1c], bx
or bx, 1
mov ecx, 0xfffe
and ax, cx
mov ecx, 0xfff7
test r13b, r13b
cmovne bx, ax
movzx eax, bx
or bx, 8
and ax, cx
test r13b, r13b
cmove bx, ax
mov word [rdi + 0x4e], bx
movzx eax, byte [rsi + 0x49]
mov byte [rdi + 0x49], al
mov word [rdi + 0x4a], 0xff
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18019d700
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x1800df540
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800df562
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1800df578
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800df594
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800df596
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800df5d2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1800df66e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800df60d
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 0x1800df64e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1800df66e
cmp rbx, rax
ja 0x1800df620
test rbx, rbx
je 0x1800df66e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret

Function at 0x1800df690
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 0x1800df6b8
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 0x1800df6de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800df6e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800df739
test ecx, ecx
jle 0x1800df719
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 0x1800df739
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800df739
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x1800df760
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
cmp edx, 1
jne 0x1800df7c9
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov ecx, 1
call fcn.18019d1d4
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x180057780]
xor ecx, ecx
mov dword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800df7d3
cmp dword [rsp + 0x38], 0
je 0x1800df7e6
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1800df7e6
mov eax, 1
add rsp, 0x58
ret
mov ecx, 6
mov dword [rsp + 0x38], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1800e4840
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x180240f0c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1800e4887
mov rax, qword [0x180240f00]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800e4894
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1800e4870
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1800e4887
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1800e4e50
mov edi, eax
test eax, eax
jne 0x1800e497f
mov r9d, dword [0x180240f0c]
cmp ebx, r9d
jae 0x1800e490c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180240f00]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1800e4905
mov edx, esi
mov ecx, ebx
call fcn.1800e4ab0
mov edi, eax
test eax, eax
jne 0x1800e490c
mov r9d, dword [0x180240f0c]
inc ebx
cmp ebx, r9d
jb 0x1800e48d0
cmp qword [rsp + 0x20], 0
je 0x1800e497d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800e4969
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800e495a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800e4930
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802406f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret