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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d11c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 0xc]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d11c
mov qword [rbx], rax
lea r8, [rdi + 4]
mov r9d, 2
lea r13, [0x1400466c0]
mov r10, 0xfffffffffffffffe
mov r11d, r9d
lea rcx, [rax + 0xc]
mov r14d, 4
mov qword [rbx + 0x10], rcx
mov r15d, 6
xor ecx, ecx
sub r10, rdi
mov qword [rax], rcx
sub r11, rdi
mov dword [rax + 8], ecx
sub r14, rdi
add rax, 0xc
sub r15, rdi
mov r12, 0xfffffffffffffffc
mov qword [rbx + 8], rax
sub r12, rdi
movabs rbp, 0xc907da4e871146ad
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx]
lea r8, [r8 + 0xc]
add rcx, r12
mov rax, rbp
mul rsi
shr rdx, 8
imul rax, rdx, 0x146
sub rsi, rax
movzx eax, byte [r8 - 0x10]
xor al, byte [rsi + r13]
movsx edx, al
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 - 0xe]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
movsx edx, al
add rcx, r10
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 - 0xc]
xor al, byte [rcx + r13]
movsx ecx, al
mov rax, qword [rbx]
sub rax, rdi
mov word [rax + r8 - 0xc], cx
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 - 0xa]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r11
movsx edx, al
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
add rcx, 2
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 - 8]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r14
movsx edx, al
mov rax, rbp
mov word [rcx + r8 - 0xc], dx
movsxd rcx, r9d
add r9d, 6
add rcx, 3
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 - 6]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r15
movsx edx, al
lea eax, [r9 - 2]
movsxd rsi, eax
mov word [rcx + r8 - 0xc], dx
cmp rsi, 6
jb 0x140003170
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400032d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d11c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 0x10]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d11c
mov qword [rbx], rax
lea r8, [rdi + 4]
xorps xmm0, xmm0
mov r9d, 2
mov r10, 0xfffffffffffffffe
mov r11d, r9d
lea rcx, [rax + 0x10]
mov r14d, 4
mov qword [rbx + 0x10], rcx
mov r15d, 6
movups xmmword [rax], xmm0
add rax, 0x10
lea rcx, [0x1400466c0]
mov r12d, 8
mov qword [rbx + 8], rax
mov ebp, 0xa
sub r10, rdi
sub r11, rdi
sub r14, rdi
sub r15, rdi
sub r12, rdi
sub rbp, rdi
mov r13, 0xfffffffffffffffc
movabs rax, 0xc907da4e871146ad
sub r13, rdi
mul rsi
shr rdx, 8
imul rax, rdx, 0x146
sub rsi, rax
movzx eax, byte [r8 - 4]
xor al, byte [rsi + rcx]
movabs rsi, 0xc907da4e871146ad
mov rcx, qword [rbx]
movsx edx, al
add rcx, r13
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
lea rdx, [0x1400466c0]
sub rcx, rax
movzx eax, byte [r8 - 2]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
movsx edx, al
add rcx, r10
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
lea rdx, [0x1400466c0]
sub rcx, rax
movzx eax, byte [r8]
xor al, byte [rcx + rdx]
movsx ecx, al
mov rax, qword [rbx]
sub rax, rdi
mov word [rax + r8], cx
mov rax, rsi
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
lea rdx, [0x1400466c0]
sub rcx, rax
movzx eax, byte [r8 + 2]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r11
movsx edx, al
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
add rcx, 2
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
lea rdx, [0x1400466c0]
sub rcx, rax
movzx eax, byte [r8 + 4]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r14
movsx edx, al
mov rax, rsi
mov word [rcx + r8], dx
movsxd rcx, r9d
add rcx, 3
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
lea rdx, [0x1400466c0]
sub rcx, rax
movzx eax, byte [r8 + 6]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r15
movsx edx, al
mov word [rcx + r8], dx
movsxd rcx, r9d
add rcx, 4
lea r8, [r8 + 0x10]
mov rax, rsi
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
lea rdx, [0x1400466c0]
sub rcx, rax
movzx eax, byte [r8 - 8]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, r12
movsx edx, al
mov rax, rsi
mov word [rcx + r8 - 0x10], dx
movsxd rcx, r9d
add r9d, 8
add rcx, 5
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
lea rdx, [0x1400466c0]
sub rcx, rax
movzx eax, byte [r8 - 6]
xor al, byte [rcx + rdx]
mov rcx, qword [rbx]
add rcx, rbp
movsx edx, al
lea eax, [r9 - 2]
movsxd rsi, eax
movabs rax, 0xc907da4e871146ad
mov word [rcx + r8 - 0x10], dx
lea rcx, [0x1400466c0]
cmp rsi, 8
jb 0x140003382
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400045e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000d11c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 4]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000d11c
mov qword [rbx], rax
lea r10, [0x1400466c0]
mov r8d, edi
movabs r9, 0xc907da4e871146ad
lea rcx, [rax + 4]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov dword [rax], ecx
add rax, 4
mov qword [rbx + 8], rax
nop
mov rax, r9
lea r8, [r8 + 4]
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 + rsi - 4]
xor al, byte [rcx + r10]
movsx ecx, al
mov rax, qword [rbx]
mov word [r8 + rax - 4], cx
mov rax, r9
movsxd rcx, edi
add edi, 2
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 + rsi - 2]
xor al, byte [rcx + r10]
movsx ecx, al
mov rax, qword [rbx]
mov word [r8 + rax - 2], cx
movsxd rcx, edi
cmp rcx, 2
jb 0x140004640
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400046c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d11c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 0xa]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d11c
mov qword [rbx], rax
lea r8, [rdi + 4]
mov r9d, 2
lea r12, [0x1400466c0]
mov r10, 0xfffffffffffffffe
mov r11d, r9d
lea rcx, [rax + 0xa]
mov r14d, 4
mov qword [rbx + 0x10], rcx
sub r10, rdi
xor ecx, ecx
sub r11, rdi
mov qword [rax], rcx
sub r14, rdi
mov word [rax + 8], cx
mov r15, 0xfffffffffffffffc
add rax, 0xa
movabs rbp, 0xc907da4e871146ad
mov qword [rbx + 8], rax
sub r15, rdi
nop dword [rax]
lea rcx, [r15 + r8]
mov rax, rbp
mul rsi
shr rdx, 8
imul rax, rdx, 0x146
sub rsi, rax
movzx eax, byte [r8 - 4]
xor al, byte [rsi + r12]
movsx edx, al
mov rax, qword [rbx]
mov word [rcx + rax], dx
mov rax, rbp
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 - 2]
xor al, byte [rcx + r12]
lea rcx, [r10 + r8]
movsx edx, al
mov rax, qword [rbx]
mov word [rcx + rax], dx
mov rax, rbp
movsxd rcx, r9d
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8]
xor al, byte [rcx + r12]
mov rcx, r8
movsx edx, al
sub rcx, rdi
mov rax, qword [rbx]
mov word [rcx + rax], dx
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 + 2]
xor al, byte [rcx + r12]
lea rcx, [r11 + r8]
movsx edx, al
mov rax, qword [rbx]
mov word [rcx + rax], dx
mov rax, rbp
movsxd rcx, r9d
add r9d, 5
add rcx, 2
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
sub rcx, rax
movzx eax, byte [r8 + 4]
xor al, byte [rcx + r12]
lea rcx, [r14 + r8]
movsx edx, al
add r8, 0xa
mov rax, qword [rbx]
mov word [rcx + rax], dx
lea eax, [r9 - 2]
movsxd rsi, eax
cmp rsi, 5
jb 0x140004760
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000a400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d11c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 6]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d11c
mov qword [rbx], rax
lea r9d, [rsi + 2]
mov r11d, 1
lea r8, [rdi + 2]
mov r14d, r9d
lea r13, str.gizxxpTeCzkaEFlSJvuvcRywyflKyXQXplloUiWBMmGogmTXjZXCMaSYeLtEdySkfO_BOuKAqWIZEhRhTJgaIEpEdQLIJGYpgxypeuthp_khFSQAonyHvkMnQrmJWTSzlpCEpBVnGrIQkABkeZ_jIVdyUjhARYXyZulkSSWyTgqBIjNEUpjtiLJWvj_DPNlSRjEQqhrtgrQBXMTlOfpbsiXlxfHlGqIbDlyLNltwatVLfIrexfiiIcHhmiHMHNUZpzQZRiqRORbSAystRfCxRlBoyNJPRdMW_pojUkNeCHBkIuSmZdPbOefcgDDSUlFCLOZuv
lea rcx, [rax + 6]
mov r15d, 3
mov qword [rbx + 0x10], rcx
mov r10, rdi
xor ecx, ecx
sub r11, rdi
mov dword [rax], ecx
sub r14, rdi
mov word [rax + 4], cx
sub r15, rdi
add rax, 6
mov r12, 0xfffffffffffffffe
mov qword [rbx + 8], rax
sub r12, rdi
not r10
movabs rbp, 0xc907da4e871146ad
nop dword [rax]
lea rcx, [r12 + r8]
mov rax, rbp
mul rsi
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 - 2]
sub rsi, rax
mov rax, qword [rbx]
xor dl, byte [rsi + r13]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
dec rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 - 1]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r10 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
mov rcx, r8
sub rcx, rdi
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 + 1]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r11 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add rcx, 2
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 + 2]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r14 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add r9d, 6
add rcx, 3
mul rcx
shr rdx, 8
imul rax, rdx, 0x146
movzx edx, byte [r8 + 3]
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r13]
lea rcx, [r15 + r8]
mov byte [rcx + rax], dl
add r8, 6
lea eax, [r9 - 2]
movsxd rsi, eax
cmp rsi, 6
jb 0x14000a4a0
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140035c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400a58b8]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x10034
mov dword [rbp - 0x1c], 0x14001f
mov dword [rbp - 0x18], 0x430014
mov dword [rbp - 0x14], 0x4b0066
mov dword [rbp - 0x10], 0x160027
mov dword [rbp - 0xc], 0x610007
call fcn.14000a030
mov rcx, qword [rax]
call rbx
movdqa xmm0, xmmword [0x140046ec0]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400a58a8], rax
mov word [rbp - 0x10], 0x213c
mov byte [rbp - 0xe], 0x75
call fcn.14000a5f0
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x141f0134
mov dword [rbp - 0x1c], 0x2c3514
mov dword [rbp - 0x18], 0x41f0f20
mov word [rbp - 0x14], 0x4612
call fcn.140009bf0
mov r11, qword [0x1400a58a8]
mov rdi, qword [rax]
test r11, r11
je 0x140035d84
test rdi, rdi
je 0x140035d84
movsxd rax, dword [r11 + 0x3c]
xor r10d, r10d
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r14
mov ecx, dword [rax + r11 + 0x88]
add rcx, r11
mov esi, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add rsi, r11
mov r14d, dword [rcx + 0x24]
add r9, r11
mov ebx, dword [rcx + 0x18]
add r14, r11
test ebx, ebx
je 0x140035d53
nop dword [rax + rax]
mov eax, dword [r9]
mov r8, rdi
add rax, r11
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140035d43
inc rax
test ecx, ecx
jne 0x140035d30
test edx, edx
je 0x140035d70
inc r10d
add r9, 4
cmp r10d, ebx
jb 0x140035d20
mov qword [0x1400a5890], 0
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
movzx ecx, word [r14 + r10*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
mov qword [0x1400a5890], rax
jmp 0x140035d5e
mov qword [0x1400a5890], 0
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret

Function at 0x140036280
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
mov dword [rax - 0x2c], 0x2c002c
lea rcx, [rsp + 0x2c]
mov dword [rax - 0x28], 0x360028
mov dword [rax - 0x24], 0x3c003d
mov dword [rax - 0x20], 0x240016
mov dword [rax - 0x1c], 0x3f0010
mov eax, 0x6b
mov word [rsp + 0x40], ax
call fcn.14000b990
mov rsi, qword [rax]
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400362fc
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000e2d8
test rax, rax
jne 0x14003636c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400362e3
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [0x1400a58b0], rax
mov dword [rsp + 0x20], 0x1d0009
mov dword [rsp + 0x24], 0x14001e
mov dword [rsp + 0x28], 0x700014
call fcn.1400030c0
mov rsi, qword [rax]
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14003635c
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000e2d8
test rax, rax
jne 0x14003635c
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140036343
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x1400362fe
Function at 0x1400375c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rbp, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x1c]
mov r15d, dword [rdi + 0x20]
add r14, rcx
mov r12d, dword [rdi + 0x24]
add r15, rcx
add r12, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x140037637
nop dword [rax]
movzx eax, word [r12 + rbx*2]
mov rdx, r13
mov ecx, dword [r15 + rbx*4]
add rcx, rbp
mov esi, dword [r14 + rax*4]
add rsi, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140037656
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x140037610
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x140037639
Function at 0x140005810
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 0x140005847
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 0x140005868
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000586a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400058c3
test ecx, ecx
jle 0x1400058a3
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 0x1400058c3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400058c3
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 0x1400058f0
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 0x140005912
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140005928
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 0x140005944
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005946
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140005980
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 0x140005a27
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400059bb
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 0x140005a01
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 0x140005a40
cmp rbx, rax
ja 0x1400059d0
mov r8, rdi
test rdi, rdi
je 0x140005a27
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 0x140005a2a
Function at 0x140005e40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140019010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140005e6d
xor eax, eax
jmp 0x140005fc2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140005e98
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140005e98
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 0x140005fc2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140005fb5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140005edb
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 0x140005f06
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 0x140005fba
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 0x140005f75
sub eax, 1
je 0x140005f75
cmp eax, 2
jne 0x140005fb5
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 0x140005fba
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005fa3
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 0x140005fb5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140005fba
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400101d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140006200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140006244
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140006230
ret
Function at 0x140006790
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140019010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006863
cmp byte [rcx + 0x71], 0
je 0x140006863
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000685f
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 0x140006824
sub eax, 1
je 0x140006828
cmp eax, 2
jne 0x14000685f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400101d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006856
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 0x14000685f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000680c
xor al, al
jmp 0x14000680c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400101d0
add rsp, 0x60
pop rbx
ret