joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001c970
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 + 0x5c38], 0
lea rbx, [rcx + 0x5c40]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001ca17
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001c9ca
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.18001ee30
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180007a80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c38]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c48]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18050f808]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001ca1f
mov rcx, rbx
call fcn.180007a80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001cea0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18050f810]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001cf03
mov qword [rsp], rbx
lea rbx, [0x180116520]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001cee3
cmp byte [r8], r9b
jne 0x18001cee3
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 0x18001ced0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001cf37
mov r10, qword [r10 + 0x5bb8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001cf3e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001cf24
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180050c80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
mov eax, 0x1e60
call fcn.180102660
sub rsp, rax
mov rax, qword [0x18050e060]
xor rax, rsp
mov qword [rsp + 0x1e50], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov eax, dword [rsp + 0x50]
lea rdx, str.__02d:_02d:_02d____s_n
mov r9d, dword [rsp + 0x54]
lea rcx, [rsp + 0x78]
mov r8d, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
call fcn.180050ed0
lea rbx, [rsp + 0x1e78]
call fcn.180005450
mov rcx, qword [rsp + 0x1e70]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x30], rbx
mov r9d, 0xdac
mov qword [rsp + 0x28], 0
mov r8d, r9d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xe50]
call fcn.180050f30
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x180050d9a
lea r8, [0x1804f58bc]
lea rdx, [0x18050f940]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x180050d9a
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0xe50]
lea rdx, [0x180116110]
call fcn.180050490
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea r8, [rsp + 0xa0]
lea rdx, [0x1804f58c0]
lea rcx, [rsp + 0xe50]
call fcn.180050f30
lea rcx, [rsp + 0xe50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x1e50]
xor rcx, rsp
call fcn.1801017e0
add rsp, 0x1e60
pop rbx
ret
Function at 0x180051b40
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18050e060]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword gs:[0x58]
mov rsi, r8
mov edi, dword [0x18050f760]
mov rbx, rdx
mov r14d, 4
mov rcx, qword [rax + rdi*8]
mov eax, dword [r14 + rcx]
cmp dword [0x18051034c], eax
jle 0x180051bcf
lea rcx, [0x18051034c]
call fcn.180101988
cmp dword [0x18051034c], 0xffffffff
jne 0x180051bcf
mov rax, qword [0x18050f810]
lea rcx, [0x18051034c]
movss xmm0, dword [rax + 0x10]
movss dword [0x180510344], xmm0
call fcn.180101928
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rdi*8]
mov eax, dword [r14 + rcx]
cmp dword [0x180510338], eax
jle 0x180051c1d
lea rcx, [0x180510338]
call fcn.180101988
cmp dword [0x180510338], 0xffffffff
jne 0x180051c1d
mov rax, qword [0x18050f810]
lea rcx, [0x180510338]
movss xmm0, dword [rax + 0x14]
movss dword [0x180510348], xmm0
call fcn.180101928
mov rax, qword [0x180510310]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax + 0x24c]
movaps xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x25c]
movaps xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax + 0x26c]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x27c]
movaps xmmword [rsp + 0x50], xmm1
call qword [sym.imp.d3dx9_43.dll_D3DXMatrixTranspose]
movss xmm5, dword [rsi]
movss xmm6, dword [rsi + 4]
movaps xmm2, xmm5
mulss xmm2, dword [rsp + 0x50]
movaps xmm0, xmm6
mulss xmm0, dword [rsp + 0x54]
movss xmm7, dword [rsi + 8]
movaps xmm1, xmm7
mulss xmm1, dword [rsp + 0x58]
addss xmm2, xmm0
addss xmm2, xmm1
addss xmm2, dword [rsp + 0x5c]
comiss xmm2, dword [0x1804f99f8]
ja 0x180051cb5
xor eax, eax
mov qword [rbx], rax
jmp 0x180051d7b
movss xmm3, dword [0x1804f9a7c]
movaps xmm0, xmm6
mulss xmm0, dword [rsp + 0x34]
movaps xmm1, xmm7
mulss xmm1, dword [rsp + 0x38]
movss xmm4, dword [0x1804f9ad0]
mulss xmm6, dword [rsp + 0x44]
mulss xmm7, dword [rsp + 0x48]
divss xmm4, xmm2
movaps xmm2, xmm5
mulss xmm5, dword [rsp + 0x40]
mulss xmm2, dword [rsp + 0x30]
addss xmm5, xmm6
addss xmm2, xmm0
addss xmm5, xmm7
addss xmm2, xmm1
movss xmm1, dword [0x180510344]
addss xmm5, dword [rsp + 0x4c]
addss xmm2, dword [rsp + 0x3c]
mulss xmm5, xmm4
mulss xmm2, xmm4
mulss xmm5, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm0, xmm1
mulss xmm1, xmm3
addss xmm0, xmm3
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
addss xmm0, xmm1
movss xmm1, dword [0x180510348]
mulss xmm5, xmm1
addss xmm0, xmm2
movaps xmm2, xmm1
addss xmm5, xmm3
mulss xmm2, xmm3
movss dword [rbx], xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm5
cvtsi2ss xmm0, eax
subss xmm2, xmm0
movss dword [rbx + 4], xmm2
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1801017e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
ret
Function at 0x180055030
Capabilities:
Encode data using xor

Disassembly:
mov r10, qword [rcx]
xor eax, eax
mov r11, qword [rcx + 8]
add r11, r10
cmp r10, r11
je 0x180055075
movzx r9d, byte [r10]
movzx ecx, r9b
or cl, 0x20
movzx edx, cl
lea r8d, [r9 - 0x41]
cmp r8b, 0x19
cmova edx, r9d
inc r10
movsx ecx, dl
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp r10, r11
jne 0x180055041
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x18005e5f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x18050e060]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdx
xor r13d, r13d
lea rcx, [rsp + 0x78]
call fcn.1800475d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x58], r13b
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x18005e6fb
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov r15d, eax
mov ecx, eax
call fcn.18010226c
mov rbp, rax
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18005e6f3
mov r8d, r15d
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.18005f320
mov r14, qword [rsp + 0x70]
mov rcx, rbp
call fcn.180101e04
lea rdx, [rsp + 0x58]
cmp r14, 0x10
cmovae rdx, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x18005e720
mov rcx, rsi
call fcn.18004bd00
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18005e774
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005e76e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005e76e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180101e04
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x18005e7b7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005e7b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005e7b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180101e04
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18005e806
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x18005e801
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005e843
mov rcx, r8
call fcn.180101e04
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, rsi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1801017e0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
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 0x180068db0
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 0x180068dd8
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 0x180068dfe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180068e00
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180068e59
test ecx, ecx
jle 0x180068e39
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 0x180068e59
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180068e59
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 0x180068e80
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 0x180068ea2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180068eb8
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 0x180068ed4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180068ed6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180068f12
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 0x180068fae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180068f4d
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 0x180068f8e
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 0x180068fae
cmp rbx, rax
ja 0x180068f60
test rbx, rbx
je 0x180068fae
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 0x1800693e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18050e060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18006940d
xor eax, eax
jmp 0x180069579
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180069447
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180069447
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 0x180069579
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18006956c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18006948a
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 0x1800694b5
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 0x180069571
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 0x180069524
sub eax, 1
je 0x180069524
cmp eax, 2
jne 0x18006956c
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 0x180069571
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180069552
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 0x18006956c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180069571
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1801017e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180069970
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18050e060]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180069a43
cmp byte [rcx + 0x71], 0
je 0x180069a43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x180069a3f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180069a04
sub eax, 1
je 0x180069a08
cmp eax, 2
jne 0x180069a3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801017e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180069a36
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180069a3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800699ec
xor al, al
jmp 0x1800699ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801017e0
add rsp, 0x60
pop rbx
ret
Function at 0x18009da60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x18009da83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 4]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x18009da70
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x18009da90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x18009dab3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 4]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x18009daa0
mov byte [rcx + 0xc], 0
mov rax, rcx
ret
Function at 0x18009ec40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xc], al
je 0x18009ec63
lea edx, [rax - 4]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xb
jb 0x18009ec50
mov byte [rcx + 0xc], 0
lea r8, [rcx + 0xb]
mov rdx, rcx
mov rcx, rbx
call fcn.1800598f0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18009f060
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18009f091
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18050e5e8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18050e5f8]
lea rdx, [rdi + rdi]
call fcn.180047770
mov rax, qword [0x18050e5e8]
lea r9, [rdi - 1]
mov qword [0x18050e610], r9
mov qword [0x18050e618], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18009f232
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
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, r9
shl r11, 4
add r11, qword [0x18050e5f8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18009f17c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18009f1f3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18009f1b9
mov r10, qword [rdx]
cmp r10, rax
je 0x18009f1b3
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 0x18009f1f3
cmp r9, rdx
je 0x18009f1cf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18009f207
cmp r9, rdx
jne 0x18009f1c0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18009f22d
mov r9, qword [0x18050e610]
jmp 0x18009f101
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 0x18009f1f3
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18009f980
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18050e060]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
movsxd rbp, r9d
mov r15, r8
mov r14, rdx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword gs:[0x58]
mov rsi, rax
mov ecx, dword [0x18050f760]
mov eax, 4
mov rcx, qword [rdx + rcx*8]
mov edx, dword [rax + rcx]
cmp dword [0x180510788], edx
jle 0x18009f9fa
lea rcx, [0x180510788]
call fcn.180101988
cmp dword [0x180510788], 0xffffffff
jne 0x18009f9fa
lea rcx, [0x180510788]
call fcn.180101928
movsxd rax, dword [rsi + 0x3c]
lea rdx, [rsp + 0x28]
xorps xmm0, xmm0
mov r8, r15
mov ebx, dword [rax + rsi + 0x50]
xor eax, eax
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x28], xmm0
call fcn.18009f860
mov r11, qword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
sub r11, r10
sar r11, 2
sub rbx, r11
je 0x18009fb18
mov eax, edi
mov r9d, edi
test r11, r11
je 0x18009fa78
mov rcx, rdi
nop word [rax + rax]
mov r8d, dword [r10 + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rsi + 0x13000]
cmp ecx, r8d
je 0x18009fa6f
cmp r8d, 0xffffffff
jne 0x18009fb06
inc eax
mov ecx, eax
cmp rcx, r11
jb 0x18009fa50
mov edi, r9d
add rdi, 0x13000
add rdi, rsi
test r10, r10
je 0x18009fac3
mov rdx, qword [rsp + 0x38]
mov rax, r10
sub rdx, r10
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18009fabb
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009fb4e
mov rcx, r10
call fcn.180101e04
test ebp, ebp
je 0x18009fad1
mov ecx, dword [rbp + rdi - 4]
add rcx, rbp
add rdi, rcx
test rdi, rdi
jne 0x18009fb55
mov r8, r15
lea rcx, [0x1804f87d8]
mov rdx, r14
call fcn.180050c80
neg rsi
lea rcx, str.Fail:__s__0x_llx
mov r8, rsi
mov rdx, r14
call fcn.180050c80
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
inc r9d
mov eax, r9d
cmp rax, rbx
jae 0x18009fb18
mov eax, edi
jmp 0x18009fa42
test r10, r10
je 0x18009fac3
mov rdx, qword [rsp + 0x38]
mov rax, r10
sub rdx, r10
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18009fabb
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009fabb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801017e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret