joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005d84
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdi, rcx
mov dword [rbp - 0x20], 0x829e998f
xor r8d, r8d
mov dword [rbp - 0x1c], 0xd1cacf9c
mov word [rbp - 0x18], 0x100
lea eax, [r8 - 0x16]
xor byte [rbp + r8 - 0x20], al
inc r8
cmp r8, 8
jb 0x140005dc5
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x17], 0
mov rcx, rbx
call fcn.140014148
mov rdx, rdi
mov rcx, rbx
call fcn.140014148
lea rdx, [0x1400142b8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140005e78
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x140005e78
mov edi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rcx, [rdi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x140005e74
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x140005e54
cmp r11d, 0x2fa62ca8
je 0x140005e7d
test edx, edx
jne 0x140005e37
mov rax, qword [rax]
jmp 0x140005e13
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov ecx, 0xbb8
add rax, r8
call rax
mov qword [0], 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x140005ec4
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
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 r14
push r15
sub rsp, 0x30
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdx, qword [0x140232fc0]
mov eax, dword [0x140233088]
mov dword [0x140233038], eax
test rdx, rdx
jne 0x140006056
mov rax, qword gs:[0x60]
xor ebx, ebx
mov edi, 0xf4d8b55
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rdx, r14
movups xmm0, xmmword [rdx + 0x58]
movd eax, xmm0
sub ax, 8
test ebx, ebx
je 0x140005f70
psrldq xmm0, 8
mov r8d, 0x811c9dc5
movzx eax, ax
movq rcx, xmm0
shr rax, 1
lea r9, [rcx + rax*2]
jmp 0x140005f62
movsx eax, byte [rcx]
xor eax, r8d
imul r8d, eax, 0x1000193
add rcx, 2
cmp rcx, r9
jne 0x140005f51
cmp r8d, ebx
jne 0x140006037
mov r10, qword [rdx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rax, qword [rax + r10 + 0x88]
mov r9d, eax
add r9, r10
shr rax, 0x20
cmp r9, r10
je 0x140006037
mov r8d, dword [r9 + 0x18]
test r8d, r8d
je 0x140006037
mov r15d, dword [r9 + 0x20]
dec r8d
mov esi, 0x811c9dc5
lea rcx, [r15 + r8*4]
mov r11d, dword [rcx + r10]
add r11, r10
jmp 0x140005fc4
movsx ecx, cl
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [r11]
inc r11
test cl, cl
jne 0x140005fb9
cmp esi, edi
je 0x140005fd9
test r8d, r8d
jne 0x140005fa4
jmp 0x140006037
mov edx, dword [r9 + 0x24]
add rdx, r10
movzx r8d, word [rdx + r8*2]
mov edx, dword [r9 + 0x1c]
add rdx, r10
mov edx, dword [rdx + r8*4]
add rdx, r10
cmp rdx, r9
jbe 0x14000604f
lea rcx, [r9 + rax]
cmp rdx, rcx
jae 0x14000604f
mov ebx, 0x811c9dc5
mov edi, ebx
jmp 0x140006018
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdx
mov al, byte [rdx]
cmp al, 0x2e
jne 0x14000600a
jmp 0x14000602b
movsx eax, al
xor eax, edi
imul edi, eax, 0x1000193
inc rdx
mov al, byte [rdx]
test al, al
jne 0x140006020
mov rdx, qword [r14]
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r14
je 0x14000604d
cmp qword [rax + 0x30], 0
jne 0x140005f25
xor edx, edx
mov qword [0x140232fc0], rdx
call rdx
mov ecx, dword [0x140233038]
mov dword [0x140233088], eax
test ecx, ecx
je 0x1400060ad
sub eax, ecx
cmp eax, 0x1770
jbe 0x1400060ad
mov dword [rsp + 0x20], 0x888182be
xor ecx, ecx
mov word [rsp + 0x24], 0x100
lea eax, [rcx - 0x16]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jb 0x140006082
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x25], 0
call fcn.140005d84
mov qword [0], 1
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140008bec
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140233058]
test rax, rax
jne 0x140008e06
xor r9d, r9d
mov dword [rsp + 0x28], r9d
mov r10d, 0xfaba0065
mov dword [rsp + 0x24], r10d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov r8, qword [rcx]
mov qword [rsp + 0x48], r8
mov r15, r8
mov qword [rsp + 0x50], r8
mov rax, r8
mov r12d, 0x811c9dc5
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd eax, xmm0
sub ax, 8
mov word [rsp + 0x58], ax
test r9d, r9d
je 0x140008c9e
mov rcx, qword [rsp + 0x60]
movzx eax, ax
shr rax, 1
lea r11, [rcx + rax*2]
mov edx, r12d
mov qword [rsp + 0x38], rcx
cmp rcx, r11
je 0x140008c95
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
add rcx, 2
jmp 0x140008c7a
cmp edx, r9d
jne 0x140008dde
mov rdi, qword [r8 + 0x30]
mov qword [rsp + 0x68], rdi
movsxd rax, dword [rdi + 0x3c]
mov rax, qword [rax + rdi + 0x88]
mov qword [rsp + 0xb8], rax
mov ebx, eax
add rbx, rdi
mov qword [rsp + 0x70], rbx
shr rax, 0x20
mov dword [rsp + 0x78], eax
cmp rbx, rdi
je 0x140008dde
mov r11d, dword [rbx + 0x18]
mov dword [rsp + 0x20], r11d
mov ecx, r11d
dec r11d
mov dword [rsp + 0x20], r11d
test ecx, ecx
je 0x140008dde
mov edx, dword [rbx + 0x20]
add rdx, rdi
mov edx, dword [rdx + r11*4]
add rdx, rdi
mov qword [rsp + 0x40], rdx
mov esi, r12d
movsx ecx, byte [rdx]
inc rdx
mov qword [rsp + 0x40], rdx
test cl, cl
jne 0x140008dd1
cmp esi, r10d
jne 0x140008dcc
mov edx, dword [rbx + 0x1c]
add rdx, rdi
mov ecx, dword [rbx + 0x24]
add rcx, rdi
movzx ecx, word [rcx + r11*2]
mov r8d, dword [rdx + rcx*4]
add r8, rdi
cmp r8, rbx
jbe 0x140008dfc
lea rcx, [rbx + rax]
cmp r8, rcx
jae 0x140008dfc
mov r9d, r12d
mov dword [rsp + 0xb0], r12d
mov r10d, r12d
mov dword [rsp + 0xb4], r12d
mov ecx, r12d
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x2e
je 0x140008d92
movsx eax, byte [r8]
xor eax, ecx
imul r9d, eax, 0x1000193
mov dword [rsp + 0xb0], r9d
inc r8
mov ecx, r9d
jmp 0x140008d6a
inc r8
mov qword [rsp + 0x30], r8
cmp byte [r8], 0
je 0x140008db8
movsx eax, byte [r8]
xor eax, r10d
imul r10d, eax, 0x1000193
mov dword [rsp + 0xb4], r10d
jmp 0x140008d92
mov dword [rsp + 0x24], r10d
mov dword [rsp + 0x28], r9d
mov r8, qword [r15]
mov qword [rsp + 0x48], r8
jmp 0x140008dde
jmp 0x140008cdf
xor ecx, esi
imul esi, ecx, 0x1000193
jmp 0x140008d07
mov r8, qword [r8]
mov rax, r8
mov qword [rsp + 0x48], r8
cmp r8, r15
je 0x140008df9
cmp qword [r8 + 0x30], 0
jne 0x140008c4d
xor r8d, r8d
mov qword [0x140233058], r8
mov rax, r8
mov ecx, 0x13333337
call rax
jmp 0x140008e11
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140009b84
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
lea rcx, [0x14013f388]
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp byte [0x14013ff49], dil
mov r10, rax
movups xmm0, xmmword [str.yLhONDwQ.0._1__]
movzx eax, word [0x14013ff48]
mov word [rsp + 0x50], ax
movups xmmword [rsp + 0x38], xmm0
movsd xmm0, qword [0x14013ff40]
movsd qword [rsp + 0x48], xmm0
je 0x140009c1a
mov r8d, edi
lea r9, [rsp + 0x38]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9], al
inc r9
cmp r8d, 0x1a
jl 0x140009bea
lea rdx, [rsp + 0x38]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [r9 + 3]
call rbx
test eax, eax
jne 0x140009c5a
cmp dword [rsp + 0x30], edi
setne dil
mov eax, edi
jmp 0x140009c5c
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140009ce0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [0x14013f388]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movups xmm0, xmmword [str.mOhONDmF35._r__:_____O]
mov cl, byte [0x14013f5d8]
lea r9, [rsp + 0x28]
xor ebx, ebx
mov byte [rsp + 0x40], cl
movups xmmword [rsp + 0x28], xmm0
mov r10, rax
mov r8d, ebx
movsd xmm0, qword [0x14013f5d0]
movsd qword [rsp + 0x38], xmm0
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9], al
inc r9
cmp r8d, 0x19
jl 0x140009d39
lea rdx, [rsp + 0x28]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 2]
lea ecx, [r9 + 0x23]
call rax
test eax, eax
jne 0x140009d9c
cmp byte [rsp + 0x20], bl
je 0x140009d9c
cmp byte [rsp + 0x21], bl
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140118ad0
add rsp, 0x50
pop rbx
ret
Function at 0x140009db0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [0x14013f388]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x14013f438]
lea r9, [rsp + 0x20]
movups xmm0, xmmword [str.yLj_OuSXP2_7__]
mov dword [rsp + 0x30], ecx
xor edi, edi
movzx ecx, word [0x14013f43c]
mov r10, rax
mov word [rsp + 0x34], cx
mov r8d, edi
mov cl, byte [0x14013f43e]
mov byte [rsp + 0x36], cl
movups xmmword [rsp + 0x20], xmm0
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9], al
inc r9
cmp r8d, 0x17
jl 0x140009e0f
lea rdx, [rsp + 0x20]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
call rbx
test eax, eax
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140009ea4
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [0x140140018]
mov al, byte [0x140140028]
lea r9, [rsp + 0x40]
mov byte [rsp + 0x50], al
xor r8d, r8d
movups xmmword [rsp + 0x40], xmm0
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9], al
inc r9
cmp r8d, 0x11
jl 0x140009ed5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and dword [rsp + 0x28], 0
mov r8d, 3
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140118ad0
add rsp, 0x68
ret

Function at 0x140009f48
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x14013ffb8]
xor r10d, r10d
cmp byte [0x14013ffbd], r10b
movsd xmm0, qword [0x14013ffb0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14013ffbc]
mov word [rsp + 0x4c], ax
movsd qword [rsp + 0x40], xmm0
je 0x140009fc3
mov r8d, r10d
lea r9, [rsp + 0x40]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9], al
inc r9
cmp r8d, 0xe
jl 0x140009f93
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
mov r8d, 3
mov dword [rsp + 0x28], r10d
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140118ad0
add rsp, 0x68
ret
Function at 0x14000a004
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [0x14013f488]
mov eax, dword [0x14013f498]
xor r10d, r10d
cmp byte [0x14013f49b], r10b
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], eax
je 0x14000a071
mov r8d, r10d
lea r9, [rsp + 0x40]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9], al
inc r9
cmp r8d, 0x14
jl 0x14000a041
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
mov r8d, 3
mov dword [rsp + 0x28], r10d
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140118ad0
add rsp, 0x68
ret

Function at 0x14000a0b4
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x140140038]
lea r9, [rsp + 0x40]
movsd xmm0, qword [0x140140030]
xor r8d, r8d
mov dword [rsp + 0x48], eax
mov al, byte [0x14014003c]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9], al
inc r9
cmp r8d, 0xd
jl 0x14000a0f1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and dword [rsp + 0x28], 0
mov r8d, 3
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140118ad0
add rsp, 0x68
ret
Function at 0x14000a164
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rbp + 0x47], rax
movups xmm0, xmmword [0x14013f440]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x14013f450]
movups xmmword [rbp + 7], xmm1
movsd xmm0, qword [0x14013f460]
movsd qword [rbp + 0x17], xmm0
mov eax, dword [0x14013f468]
mov dword [rbp + 0x1f], eax
mov al, byte [0x14013f46c]
mov byte [rbp + 0x23], al
xor r8d, r8d
lea r9, [rbp - 9]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x2d
jl 0x14000a1c0
lea rax, [rbp - 9]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 9]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a200
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.1400153f0
nop
and dword [rbp - 0x19], 0
lea rax, [0x1401bce30]
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.1400034a0
mov bl, al
cmp dword [rbp - 0x19], 0
jne 0x14000a273
lea rcx, [rbp + 0x27]
call fcn.1400134cc
test bl, bl
setne al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x19]
lea rcx, str.exists
call fcn.1400033cc
int3

Function at 0x14000a288
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm0, xmmword [0x14013ff50]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x14013ff60]
movups xmmword [rbp - 0x40], xmm1
mov eax, dword [0x14013ff70]
mov dword [rbp - 0x30], eax
movzx eax, word [0x14013ff74]
mov word [rbp - 0x2c], ax
xor r8d, r8d
lea r9, [rbp - 0x50]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x26
jl 0x14000a2d7
lea rax, [rbp - 0x50]
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a317
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x28]
call fcn.1400153f0
nop
and dword [rbp - 0x60], 0
lea rax, [0x1401bce30]
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x28]
call fcn.1400034a0
mov bl, al
cmp dword [rbp - 0x60], 0
jne 0x14000a38a
lea rcx, [rbp - 0x28]
call fcn.1400134cc
test bl, bl
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x60]
lea rcx, str.exists
call fcn.1400033cc
int3
Function at 0x14000a3a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14016e040]
xor rax, rsp
mov qword [rbp + 0x47], rax
movups xmm0, xmmword [0x14013ffe8]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x14013fff8]
movups xmmword [rbp + 7], xmm1
movsd xmm0, qword [0x140140008]
movsd qword [rbp + 0x17], xmm0
movzx eax, word [0x140140010]
mov word [rbp + 0x1f], ax
xor r8d, r8d
lea r9, [rbp - 9]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x2a
jl 0x14000a3f5
lea rax, [rbp - 9]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 9]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a435
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.1400153f0
nop
and dword [rbp - 0x19], 0
lea rax, [0x1401bce30]
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.1400034a0
mov bl, al
cmp dword [rbp - 0x19], 0
jne 0x14000a4a8
lea rcx, [rbp + 0x27]
call fcn.1400134cc
test bl, bl
setne al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140118ad0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x19]
lea rcx, str.exists
call fcn.1400033cc
int3
Function at 0x140012b50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140012b80
call 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]
jmp 0x140012bf8
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140012b97
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140012b99
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140012bf2
test ecx, ecx
jle 0x140012bd2
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 0x140012bf2
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140012bf2
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
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140012c14
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140012c42
xor eax, eax
jmp 0x140012d2b
cmp qword [rcx + 0x68], 0
je 0x140012c54
call 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]
jmp 0x140012d2b
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140012c6b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140012c6d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140012c9f
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140012d25
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140012cd6
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140012d00
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140012d25
cmp rsi, rbx
ja 0x140012cdd
test rsi, rsi
je 0x140012d25
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret