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

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0xe], r8b
je 0x14008e663
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xd
jb 0x14008e650
mov byte [rdx + 0xe], r8b
lea rcx, [rdx + 0xd]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e68c
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008e6a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 8], r8b
je 0x14008e6d3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 7
jb 0x14008e6c0
mov byte [rdx + 8], r8b
lea rcx, [rdx + 7]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e6fc
mov r8d, 7
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008e710
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x26], r8b
je 0x14008e743
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x25
jb 0x14008e730
mov byte [rdx + 0x26], r8b
lea rcx, [rdx + 0x25]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e76c
mov r8d, Ordinal_41
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008e780
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x14], r8b
je 0x14008e7b3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x13
jb 0x14008e7a0
mov byte [rdx + 0x14], r8b
lea rcx, [rdx + 0x13]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e7dc
mov r8d, reloc.WS2_32.dll_send
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008e850
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x7b], r8b
je 0x14008e883
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x7a
jb 0x14008e870
mov byte [rdx + 0x7b], r8b
lea rcx, [rdx + 0x7a]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e8ac
mov r8d, 0x7a
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14008e8c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x75], r8b
je 0x14008e8f3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x74
jb 0x14008e8e0
mov byte [rdx + 0x75], r8b
lea rcx, [rdx + 0x74]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e91c
mov r8d, reloc.WS2_32.dll_WSACleanup
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008e930
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x6e], r8b
je 0x14008e963
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x6d
jb 0x14008e950
mov byte [rdx + 0x6e], r8b
lea rcx, [rdx + 0x6d]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e98c
mov r8d, WSASetLastError
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008e9a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x60], r8b
je 0x14008e9d3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x5f
jb 0x14008e9c0
mov byte [rdx + 0x60], r8b
lea rcx, [rdx + 0x5f]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008e9fc
mov r8d, 0x5f
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ea10
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x48], r8b
je 0x14008ea43
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x47
jb 0x14008ea30
mov byte [rdx + 0x48], r8b
lea rcx, [rdx + 0x47]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ea6c
mov r8d, 0x47
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ea80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x4a], r8b
je 0x14008eab3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x49
jb 0x14008eaa0
mov byte [rdx + 0x4a], r8b
lea rcx, [rdx + 0x49]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008eadc
mov r8d, 0x49
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14008eaf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x68], r8b
je 0x14008eb23
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x67
jb 0x14008eb10
mov byte [rdx + 0x68], r8b
lea rcx, [rdx + 0x67]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008eb4c
mov r8d, 0x67
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008eb60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x6a], r8b
je 0x14008eb93
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x69
jb 0x14008eb80
mov byte [rdx + 0x6a], r8b
lea rcx, [rdx + 0x69]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ebbc
mov r8d, 0x69
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ebd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x4d], r8b
je 0x14008ec03
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x4c
jb 0x14008ebf0
mov byte [rdx + 0x4d], r8b
lea rcx, [rdx + 0x4c]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ec2c
mov r8d, Ordinal_79
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ec40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x64], r8b
je 0x14008ec73
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x63
jb 0x14008ec60
mov byte [rdx + 0x64], r8b
lea rcx, [rdx + 0x63]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ec9c
mov r8d, 0x63
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ecb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x72], r8b
je 0x14008ece3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x71
jb 0x14008ecd0
mov byte [rdx + 0x72], r8b
lea rcx, [rdx + 0x71]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ed0c
mov r8d, WSAStartup
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14008ed20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x84], r8b
je 0x14008ed59
mov ecx, r8d
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x83
jb 0x14008ed40
mov byte [rdx + 0x84], r8b
lea rcx, [rdx + 0x83]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ed85
mov r8d, 0x83
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ed90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x69], r8b
je 0x14008edc3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x68
jb 0x14008edb0
mov byte [rdx + 0x69], r8b
lea rcx, [rdx + 0x68]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008edec
mov r8d, 0x68
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ee00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x80], r8b
je 0x14008ee36
mov ecx, r8d
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x7f
jb 0x14008ee20
mov byte [rdx + 0x80], r8b
lea rcx, [rdx + 0x7f]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ee5f
mov r8d, 0x7f
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008ee70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0x70], r8b
je 0x14008eea3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x6f
jb 0x14008ee90
mov byte [rdx + 0x70], r8b
lea rcx, [rdx + 0x6f]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008eecc
mov r8d, reloc.WS2_32.dll_WSAGetLastError
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008eee0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 4], r8b
je 0x14008ef13
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 3
jb 0x14008ef00
mov byte [rdx + 4], r8b
lea rcx, [rdx + 3]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008ef3c
mov r8d, 3
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14008ef50
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0xd], r8b
je 0x14008ef83
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xc
jb 0x14008ef70
mov byte [rdx + 0xd], r8b
lea rcx, [rdx + 0xc]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008efac
mov r8d, ntohs
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008efc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 7], r8b
je 0x14008eff3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 6
jb 0x14008efe0
mov byte [rdx + 7], r8b
lea rcx, [rdx + 6]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008f01c
mov r8d, 6
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008f030
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x20], rbx
xor r8d, r8d
cmp byte [rcx + 0xa], r8b
je 0x14008f063
mov ecx, r8d
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 9
jb 0x14008f050
mov byte [rdx + 0xa], r8b
lea rcx, [rdx + 9]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14008f08c
mov r8d, 9
mov rcx, rbx
call fcn.140092f40
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008f390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14008f3c7
mov rbx, qword [rsp + 0x40]
mov rdi, 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__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14008f3e8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14008f3ea
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14008f443
test ecx, ecx
jle 0x14008f423
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14008f443
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14008f443
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14008f470
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 0x14008f492
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14008f4a8
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 0x14008f4c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14008f4c6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x14008f500
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14008f5a7
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14008f53b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14008f581
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x14008f5c0
cmp rbx, rax
ja 0x14008f550
mov r8, rdi
test rdi, rdi
je 0x14008f5a7
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14008f5aa
Function at 0x14008f990
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401e9060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14008f9bd
xor eax, eax
jmp 0x14008fb12
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14008f9e8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14008f9e8
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 0x14008fb12
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14008fb05
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14008fa2b
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 0x14008fa56
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 0x14008fb0a
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 0x14008fac5
sub eax, 1
je 0x14008fac5
cmp eax, 2
jne 0x14008fb05
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 0x14008fb0a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14008faf3
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 0x14008fb05
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14008fb0a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400fcc80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140091ba0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1d], 0
mov r8, rcx
je 0x140091be1
xor eax, eax
movabs r9, 0xdb2993cb89d1c945
nop word [rax + rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc rax
cmp rax, 0x1d
jb 0x140091bc0
mov byte [r8 + 0x1d], 0
ret
Function at 0x140091bf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1b], 0
mov r8, rcx
je 0x140091c31
xor eax, eax
movabs r9, 0xd7c7a78f9333c9d3
nop word [rax + rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc rax
cmp rax, 0x1b
jb 0x140091c10
mov byte [r8 + 0x1b], 0
ret

Function at 0x140091c40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
mov r8, rcx
je 0x140091c81
xor eax, eax
movabs r9, 0x49954f0df74183ff
nop word [rax + rax]
movzx ecx, al
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc rax
cmp rax, 0x13
jb 0x140091c60
mov byte [r8 + 0x13], 0
ret

Function at 0x140091cf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x65], 0
je 0x140091d13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x64
jb 0x140091d00
mov byte [rcx + 0x65], 0
ret

Function at 0x140091d20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
je 0x140091d43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x6b
jb 0x140091d30
mov byte [rcx + 0x6c], 0
ret

Function at 0x140091d50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x83], 0
je 0x140091d78
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x82
jb 0x140091d60
mov byte [rcx + 0x83], 0
ret

Function at 0x140091d80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5b], 0
je 0x140091da3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5a
jb 0x140091d90
mov byte [rcx + 0x5b], 0
ret

Function at 0x140091db0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x61], 0
je 0x140091dd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x60
jb 0x140091dc0
mov byte [rcx + 0x61], 0
ret

Function at 0x140091de0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5e], 0
je 0x140091e03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5d
jb 0x140091df0
mov byte [rcx + 0x5e], 0
ret

Function at 0x140091e10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x63], 0
je 0x140091e33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x62
jb 0x140091e20
mov byte [rcx + 0x63], 0
ret

Function at 0x140091e40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x45], 0
je 0x140091e63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x44
jb 0x140091e50
mov byte [rcx + 0x45], 0
ret

Function at 0x140091e70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x52], 0
je 0x140091e93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x51
jb 0x140091e80
mov byte [rcx + 0x52], 0
ret