joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005bcc0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movdqa xmm0, xmmword [0x1400f46a0]
movdqu xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1400f46e0]
movdqu xmmword [rsp + 0x30], xmm1
mov dword [rsp + 0x40], 0x94889288
mov dword [rsp + 0x44], 0x12e9890
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov ecx, 0x478
mov eax, dword [rcx + rbx]
mov edi, 0x510
test al, 1
jne 0x14005be8b
or eax, 1
mov dword [rcx + rbx], eax
lea r8, [rdi + rbx]
mov byte [r8], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r8 + 1], xmm0
movups xmmword [r8 + 0x11], xmm0
mov qword [r8 + 0x21], rax
xor r9d, r9d
lea rax, [rsp + 0x20]
lea rdx, [r8 + 3]
lea rcx, [rsp + 0x20]
sub r8, rcx
nop dword [rax]
movzx ecx, byte [rax]
mov byte [r8 + rax + 1], cl
movzx ecx, byte [rax + 1]
mov byte [rdx - 1], cl
movzx ecx, byte [rax + 2]
mov byte [rdx], cl
movzx ecx, byte [rax + 3]
mov byte [rdx + 1], cl
movzx ecx, byte [rax + 4]
mov byte [rdx + 2], cl
movzx ecx, byte [rax + 5]
mov byte [rdx + 3], cl
movzx ecx, byte [rax + 6]
mov byte [rdx + 4], cl
movzx ecx, byte [rax + 7]
mov byte [rdx + 5], cl
movzx ecx, byte [rax + 8]
mov byte [rdx + 6], cl
movzx ecx, byte [rax + 9]
mov byte [rdx + 7], cl
movzx ecx, byte [rax + 0xa]
mov byte [rdx + 8], cl
movzx ecx, byte [rax + 0xb]
mov byte [rdx + 9], cl
movzx ecx, byte [rax + 0xc]
mov byte [rdx + 0xa], cl
movzx ecx, byte [rax + 0xd]
mov byte [rdx + 0xb], cl
movzx ecx, byte [rax + 0xe]
mov byte [rdx + 0xc], cl
movzx ecx, byte [rax + 0xf]
mov byte [rdx + 0xd], cl
movzx ecx, byte [rax + 0x10]
mov byte [rdx + 0xe], cl
movzx ecx, byte [rax + 0x11]
mov byte [rdx + 0xf], cl
movzx ecx, byte [rax + 0x12]
mov byte [rdx + 0x10], cl
movzx ecx, byte [rax + 0x13]
mov byte [rdx + 0x11], cl
movzx ecx, byte [rax + 0x14]
mov byte [rdx + 0x12], cl
movzx ecx, byte [rax + 0x15]
mov byte [rdx + 0x13], cl
movzx ecx, byte [rax + 0x16]
mov byte [rdx + 0x14], cl
movzx ecx, byte [rax + 0x17]
mov byte [rdx + 0x15], cl
movzx ecx, byte [rax + 0x18]
mov byte [rdx + 0x16], cl
movzx ecx, byte [rax + 0x19]
mov byte [rdx + 0x17], cl
movzx ecx, byte [rax + 0x1a]
mov byte [rdx + 0x18], cl
movzx ecx, byte [rax + 0x1b]
mov byte [rdx + 0x19], cl
movzx ecx, byte [rax + 0x1c]
mov byte [rdx + 0x1a], cl
movzx ecx, byte [rax + 0x1d]
mov byte [rdx + 0x1b], cl
movzx ecx, byte [rax + 0x1e]
mov byte [rdx + 0x1c], cl
movzx ecx, byte [rax + 0x1f]
mov byte [rdx + 0x1d], cl
movzx ecx, byte [rax + 0x20]
mov byte [rdx + 0x1e], cl
movzx ecx, byte [rax + 0x21]
mov byte [rdx + 0x1f], cl
movzx ecx, byte [rax + 0x22]
mov byte [rdx + 0x20], cl
movzx ecx, byte [rax + 0x23]
mov byte [rdx + 0x21], cl
movzx ecx, byte [rax + 0x24]
mov byte [rdx + 0x22], cl
movzx ecx, byte [rax + 0x25]
mov byte [rdx + 0x23], cl
movzx ecx, byte [rax + 0x26]
mov byte [rdx + 0x24], cl
movzx ecx, byte [rax + 0x27]
mov byte [rdx + 0x25], cl
add r9d, 0x28
lea rax, [rax + 0x28]
lea rdx, [rdx + 0x28]
cmp r9d, 0x28
jb 0x14005bd50
lea rcx, [0x1400da310]
call fcn.1400d436c
nop
lea rax, [rbx + rdi]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14005c180
Capabilities:
Enumerate pe sections

Disassembly:
xor eax, eax
mov byte [rcx], 0
xorps xmm0, xmm0
xor r10d, r10d
movups xmmword [rcx + 1], xmm0
mov qword [rcx + 0x11], rax
mov r9, rcx
mov word [rcx + 0x19], ax
mov r8, rcx
mov byte [rcx + 0x1b], al
sub r9, rdx
lea rax, [rdx + 1]
nop word [rax + rax]
movzx ecx, byte [rax - 1]
add r10d, 0x1b
mov byte [r9 + rax], cl
movzx ecx, byte [rax]
mov byte [r9 + rax + 1], cl
movzx ecx, byte [rax + 1]
mov byte [r9 + rax + 2], cl
movzx ecx, byte [rax + 2]
mov byte [r9 + rax + 3], cl
movzx ecx, byte [rax + 3]
mov byte [r9 + rax + 4], cl
movzx ecx, byte [rax + 4]
mov byte [r9 + rax + 5], cl
movzx ecx, byte [rax + 5]
mov byte [r9 + rax + 6], cl
movzx ecx, byte [rax + 6]
mov byte [r9 + rax + 7], cl
movzx ecx, byte [rax + 7]
mov byte [r9 + rax + 8], cl
movzx ecx, byte [rax + 8]
mov byte [r9 + rax + 9], cl
movzx ecx, byte [rax + 9]
mov byte [r9 + rax + 0xa], cl
movzx ecx, byte [rax + 0xa]
mov byte [r9 + rax + 0xb], cl
movzx ecx, byte [rax + 0xb]
mov byte [r9 + rax + 0xc], cl
movzx ecx, byte [rax + 0xc]
mov byte [r9 + rax + 0xd], cl
movzx ecx, byte [rax + 0xd]
mov byte [r9 + rax + 0xe], cl
movzx ecx, byte [rax + 0xe]
mov byte [r9 + rax + 0xf], cl
movzx ecx, byte [rax + 0xf]
mov byte [r9 + rax + 0x10], cl
movzx ecx, byte [rax + 0x10]
mov byte [r9 + rax + 0x11], cl
movzx ecx, byte [rax + 0x11]
mov byte [r9 + rax + 0x12], cl
movzx ecx, byte [rax + 0x12]
mov byte [r9 + rax + 0x13], cl
movzx ecx, byte [rax + 0x13]
mov byte [r9 + rax + 0x14], cl
movzx ecx, byte [rax + 0x14]
mov byte [r9 + rax + 0x15], cl
movzx ecx, byte [rax + 0x15]
mov byte [r9 + rax + 0x16], cl
movzx ecx, byte [rax + 0x16]
mov byte [r9 + rax + 0x17], cl
movzx ecx, byte [rax + 0x17]
mov byte [r9 + rax + 0x18], cl
movzx ecx, byte [rax + 0x18]
mov byte [r9 + rax + 0x19], cl
movzx ecx, byte [rax + 0x19]
mov byte [r9 + rax + 0x1a], cl
lea rax, [rax + 0x1b]
cmp r10d, 0x1b
jb 0x14005c1b0
mov rax, r8
ret
Function at 0x14005c2c0
Capabilities:
Enumerate pe sections

Disassembly:
xor eax, eax
mov byte [rcx], 0
xorps xmm0, xmm0
xor r10d, r10d
movups xmmword [rcx + 1], xmm0
mov r9, rcx
mov qword [rcx + 0x11], rax
lea rax, [rdx + 1]
mov r8, rcx
sub r9, rdx
movzx ecx, byte [rax - 1]
add r10d, 0x18
mov byte [rax + r9], cl
movzx ecx, byte [rax]
mov byte [rax + r9 + 1], cl
movzx ecx, byte [rax + 1]
mov byte [rax + r9 + 2], cl
movzx ecx, byte [rax + 2]
mov byte [rax + r9 + 3], cl
movzx ecx, byte [rax + 3]
mov byte [rax + r9 + 4], cl
movzx ecx, byte [rax + 4]
mov byte [rax + r9 + 5], cl
movzx ecx, byte [rax + 5]
mov byte [rax + r9 + 6], cl
movzx ecx, byte [rax + 6]
mov byte [rax + r9 + 7], cl
movzx ecx, byte [rax + 7]
mov byte [rax + r9 + 8], cl
movzx ecx, byte [rax + 8]
mov byte [rax + r9 + 9], cl
movzx ecx, byte [rax + 9]
mov byte [rax + r9 + 0xa], cl
movzx ecx, byte [rax + 0xa]
mov byte [rax + r9 + 0xb], cl
movzx ecx, byte [rax + 0xb]
mov byte [rax + r9 + 0xc], cl
movzx ecx, byte [rax + 0xc]
mov byte [rax + r9 + 0xd], cl
movzx ecx, byte [rax + 0xd]
mov byte [rax + r9 + 0xe], cl
movzx ecx, byte [rax + 0xe]
mov byte [rax + r9 + 0xf], cl
movzx ecx, byte [rax + 0xf]
mov byte [rax + r9 + 0x10], cl
movzx ecx, byte [rax + 0x10]
mov byte [rax + r9 + 0x11], cl
movzx ecx, byte [rax + 0x11]
mov byte [rax + r9 + 0x12], cl
movzx ecx, byte [rax + 0x12]
mov byte [rax + r9 + 0x13], cl
movzx ecx, byte [rax + 0x13]
mov byte [rax + r9 + 0x14], cl
movzx ecx, byte [rax + 0x14]
mov byte [rax + r9 + 0x15], cl
movzx ecx, byte [rax + 0x15]
mov byte [rax + r9 + 0x16], cl
movzx ecx, byte [rax + 0x16]
mov byte [rax + r9 + 0x17], cl
lea rax, [rax + 0x18]
cmp r10d, 0x18
jb 0x14005c2e0
mov rax, r8
ret

Function at 0x14005c480
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005c4a2
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 0x28
jb 0x14005c490
mov byte [rcx], 1
lea rax, [rcx + 1]
ret

Function at 0x14005c4b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005c4d2
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 0x2c
jb 0x14005c4c0
mov byte [rcx], 1
lea rax, [rcx + 1]
ret

Function at 0x14005c4e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005c502
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 0x17
jb 0x14005c4f0
mov byte [rcx], 1
lea rax, [rcx + 1]
ret

Function at 0x14005c630
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005c652
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 0x11
jb 0x14005c640
mov byte [rcx], 1
lea rax, [rcx + 1]
ret

Function at 0x14005c730
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005c752
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 0xa
jb 0x14005c740
mov byte [rcx], 1
lea rax, [rcx + 1]
ret
Function at 0x14005c760
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005c782
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 0x15
jb 0x14005c770
mov byte [rcx], 1
lea rax, [rcx + 1]
ret

Function at 0x14005c8a0
Capabilities:
Enumerate pe sections

Disassembly:
xor eax, eax
mov byte [rcx], 0
xorps xmm0, xmm0
xor r10d, r10d
movups xmmword [rcx + 1], xmm0
mov qword [rcx + 0x11], rax
mov r9, rcx
mov dword [rcx + 0x19], eax
mov r8, rcx
mov word [rcx + 0x1d], ax
sub r9, rdx
lea rax, [rdx + 1]
nop word [rax + rax]
movzx ecx, byte [rax - 1]
add r10d, 0x1e
mov byte [rax + r9], cl
movzx ecx, byte [rax]
mov byte [rax + r9 + 1], cl
movzx ecx, byte [rax + 1]
mov byte [rax + r9 + 2], cl
movzx ecx, byte [rax + 2]
mov byte [rax + r9 + 3], cl
movzx ecx, byte [rax + 3]
mov byte [rax + r9 + 4], cl
movzx ecx, byte [rax + 4]
mov byte [rax + r9 + 5], cl
movzx ecx, byte [rax + 5]
mov byte [rax + r9 + 6], cl
movzx ecx, byte [rax + 6]
mov byte [rax + r9 + 7], cl
movzx ecx, byte [rax + 7]
mov byte [rax + r9 + 8], cl
movzx ecx, byte [rax + 8]
mov byte [rax + r9 + 9], cl
movzx ecx, byte [rax + 9]
mov byte [rax + r9 + 0xa], cl
movzx ecx, byte [rax + 0xa]
mov byte [rax + r9 + 0xb], cl
movzx ecx, byte [rax + 0xb]
mov byte [rax + r9 + 0xc], cl
movzx ecx, byte [rax + 0xc]
mov byte [rax + r9 + 0xd], cl
movzx ecx, byte [rax + 0xd]
mov byte [rax + r9 + 0xe], cl
movzx ecx, byte [rax + 0xe]
mov byte [rax + r9 + 0xf], cl
movzx ecx, byte [rax + 0xf]
mov byte [rax + r9 + 0x10], cl
movzx ecx, byte [rax + 0x10]
mov byte [rax + r9 + 0x11], cl
movzx ecx, byte [rax + 0x11]
mov byte [rax + r9 + 0x12], cl
movzx ecx, byte [rax + 0x12]
mov byte [rax + r9 + 0x13], cl
movzx ecx, byte [rax + 0x13]
mov byte [rax + r9 + 0x14], cl
movzx ecx, byte [rax + 0x14]
mov byte [rax + r9 + 0x15], cl
movzx ecx, byte [rax + 0x15]
mov byte [rax + r9 + 0x16], cl
movzx ecx, byte [rax + 0x16]
mov byte [rax + r9 + 0x17], cl
movzx ecx, byte [rax + 0x17]
mov byte [rax + r9 + 0x18], cl
movzx ecx, byte [rax + 0x18]
mov byte [rax + r9 + 0x19], cl
movzx ecx, byte [rax + 0x19]
mov byte [rax + r9 + 0x1a], cl
movzx ecx, byte [rax + 0x1a]
mov byte [rax + r9 + 0x1b], cl
movzx ecx, byte [rax + 0x1b]
mov byte [rax + r9 + 0x1c], cl
movzx ecx, byte [rax + 0x1c]
mov byte [rax + r9 + 0x1d], cl
lea rax, [rax + 0x1e]
cmp r10d, 0x1e
jb 0x14005c8d0
mov rax, r8
ret

Function at 0x14005ca00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005ca22
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 9
jb 0x14005ca10
mov byte [rcx], 1
lea rax, [rcx + 1]
ret
Function at 0x14005d3c0
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 0x14005d3e8
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 0x14005d40e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005d410
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14005d469
test ecx, ecx
jle 0x14005d449
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 0x14005d469
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14005d469
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 0x14005d490
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 0x14005d4b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14005d4c8
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 0x14005d4e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005d4e6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005d522
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 0x14005d5be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005d55d
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 0x14005d59e
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 0x14005d5be
cmp rbx, rax
ja 0x14005d570
test rbx, rbx
je 0x14005d5be
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 0x14005da30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14010a0c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005da5d
xor eax, eax
jmp 0x14005dbc9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14005da97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14005da97
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 0x14005dbc9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005dbbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005dada
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 0x14005db05
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 0x14005dbc1
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 0x14005db74
sub eax, 1
je 0x14005db74
cmp eax, 2
jne 0x14005dbbc
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 0x14005dbc1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14005dba2
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 0x14005dbbc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14005dbc1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400d3a80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14005e2f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005e312
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 8
jb 0x14005e300
mov byte [rcx], 1
lea rax, [rcx + 1]
ret

Function at 0x14005e320
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005e342
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 6
jb 0x14005e330
mov byte [rcx], 1
lea rax, [rcx + 1]
ret
Function at 0x14005e470
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx], 0
jne 0x14005e492
xor eax, eax
nop word [rax + rax]
movsxd r8, eax
lea edx, [rax - 0x26]
inc eax
xor byte [r8 + rcx + 1], dl
cmp eax, 5
jb 0x14005e480
mov byte [rcx], 1
lea rax, [rcx + 1]
ret

Function at 0x14005f7f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14010a0c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005f8c3
cmp byte [rcx + 0x71], 0
je 0x14005f8c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14005f8bf
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 0x14005f884
sub eax, 1
je 0x14005f888
cmp eax, 2
jne 0x14005f8bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d3a80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005f8b6
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 0x14005f8bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005f86c
xor al, al
jmp 0x14005f86c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d3a80
add rsp, 0x60
pop rbx
ret

Function at 0x140063a90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14010a0c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 8
call fcn.1400d3aa0
lea rcx, [0x1400560e0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14006b9b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140063b0d
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d3a80
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14006e1b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x14006e1e4
mov eax, esi
lea ecx, [rax + 0x29]
xor byte [r8 + rax], cl
inc rax
cmp rax, 5
jb 0x14006e1d0
mov byte [r8 + 6], sil
add r8, 5
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140068700
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006e209
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140068610
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14006e283
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e27e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e27e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3d24
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14006e290
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14006e2c4
mov eax, esi
lea ecx, [rax + 0x29]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14006e2b0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140068700
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14006e2e9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140068610
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14006e363
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e35e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e35e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d3d24
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret