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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rdi, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x140096800], eax
jle 0x14004e200
lea rcx, [0x140096800]
call fcn.14006c920
cmp dword [0x140096800], 0xffffffff
jne 0x14004e200
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], recv
mov byte [rbp + 0x17], bl
lea r8d, [rbx + 0x12]
lea rdx, str.MmFreePagesFromMdl
lea rcx, [rbp + 0x17]
call fcn.140054900
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140093078]
mov rcx, rdi
call fcn.14004e4f0
mov qword [0x1400968c0], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004e1f4
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e1ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e1ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c720
nop
lea rcx, [0x140096800]
call fcn.14006c8c0
mov r8, qword [0x1400968c0]
test r8, r8
jne 0x14004e2d9
mov dword [rbp - 0x39], 0x4ec34eba
mov dword [rbp - 0x35], 0x4ec44ebe
mov dword [rbp - 0x31], 0x4e874ea3
mov dword [rbp - 0x2d], 0x4e844e8e
mov dword [rbp - 0x29], 0x4e8e4e8c
mov dword [rbp - 0x25], 0x4e984ecb
mov dword [rbp - 0x21], 0x4ece4e82
mov dword [rbp - 0x1d], 0x4e994e89
mov dword [rbp - 0x19], 0x4e964e9f
mov dword [rbp - 0x15], 0x4eb94ed3
mov dword [rbp - 0x11], 0x4eb04e98
mov dword [rbp - 0xd], 0x4e9d4e85
mov dword [rbp - 9], 0x4eaa4e9c
mov dword [rbp - 5], 0x4e9b4e9a
mov dword [rbp - 1], 0x4e8d4e98
mov dword [rbp + 3], 0x4f724eb9
mov dword [rbp + 7], 0x4f6f4f6e
mov dword [rbp + 0xb], 0x4f604f4e
mov dword [rbp + 0xf], 0x4f69
mov byte [rbp + 0x13], 1
mov ecx, 0x4ee1
nop
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x25
jb 0x14004e2a0
mov byte [rbp + 0x13], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [0x14006f250]
call fcn.140054ab0
lea rdx, [0x140054c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14004e2e8
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.140056810
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006c630
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004e4c5
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1400968a0], eax
jle 0x14004e3fb
lea rcx, [0x1400968a0]
call fcn.14006c920
cmp dword [0x1400968a0], 0xffffffff
jne 0x14004e3fb
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], recv
mov byte [rbp + 0x27], bl
lea r8d, [rbx + 0xa]
lea rdx, str.ExFreePool
lea rcx, [rbp + 0x27]
call fcn.140054900
nop
lea r8, [rbp + 0x27]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e4f0
mov qword [0x140096870], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14004e3ef
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e3e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004e3e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c720
nop
lea rcx, [0x1400968a0]
call fcn.14006c8c0
mov r8, qword [0x140096870]
test r8, r8
jne 0x14004e4c9
mov dword [rbp - 0x29], 0x4ec34eba
mov dword [rbp - 0x25], 0x4ec44ebe
mov dword [rbp - 0x21], 0x4e874ea3
mov dword [rbp - 0x1d], 0x4e844e8e
mov dword [rbp - 0x19], 0x4e8e4e8c
mov dword [rbp - 0x15], 0x4e984ecb
mov dword [rbp - 0x11], 0x4ece4e82
mov dword [rbp - 0xd], 0x4e994e89
mov dword [rbp - 9], 0x4e964e9f
mov dword [rbp - 5], 0x4eb14ed3
mov dword [rbp - 1], 0x4eb74e8d
mov dword [rbp + 3], 0x4e944e9b
mov dword [rbp + 7], 0x4e994e96
mov dword [rbp + 0xb], 0x4e884e9a
mov dword [rbp + 0xf], 0x4eae4e98
mov dword [rbp + 0x13], 0x4f6f4e90
mov dword [rbp + 0x17], 0x4f6d
mov byte [rbp + 0x1b], 1
mov ecx, 0x4ee1
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x29], ax
inc rbx
cmp rbx, 0x21
jb 0x14004e490
mov byte [rbp + 0x1b], 0
lea rdx, [rbp - 0x29]
mov rcx, qword [0x14006f250]
call fcn.140054ab0
lea rdx, [0x140054c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14004e4d6
mov r9, rdi
xor edx, edx
mov rcx, rsi
call fcn.140056ed0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004ef60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004f156
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1400968d8], eax
jle 0x14004f059
lea rcx, [0x1400968d8]
call fcn.14006c920
cmp dword [0x1400968d8], 0xffffffff
jne 0x14004f059
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], recv
mov byte [rbp + 0x17], bl
lea r8d, [rbx + 0x1e]
lea rdx, str.ExAcquireResourceExclusiveLite
lea rcx, [rbp + 0x17]
call fcn.140054900
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e4f0
mov qword [0x1400968e0], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004f04d
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f047
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c720
nop
lea rcx, [0x1400968d8]
call fcn.14006c8c0
mov r8, qword [0x1400968e0]
test r8, r8
jne 0x14004f177
mov dword [rbp - 0x59], 0x4ec34eba
mov dword [rbp - 0x55], 0x4ec44ebe
mov dword [rbp - 0x51], 0x4e874ea3
mov dword [rbp - 0x4d], 0x4e844e8e
mov dword [rbp - 0x49], 0x4e8e4e8c
mov dword [rbp - 0x45], 0x4e984ecb
mov dword [rbp - 0x41], 0x4ece4e82
mov dword [rbp - 0x3d], 0x4e994e89
mov dword [rbp - 0x39], 0x4e964e9f
mov dword [rbp - 0x35], 0x4eb14ed3
mov dword [rbp - 0x31], 0x4eb74e8d
mov dword [rbp - 0x2d], 0x4e894e94
mov dword [rbp - 0x29], 0x4e934e8c
mov dword [rbp - 0x25], 0x4e994e89
mov dword [rbp - 0x21], 0x4e9b4eaf
mov dword [rbp - 0x1d], 0x4f6f4e8c
mov dword [rbp - 0x19], 0x4f704f74
mov dword [rbp - 0x15], 0x4f614f60
mov dword [rbp - 0x11], 0x4f7e4f40
mov dword [rbp - 0xd], 0x4f644f64
mov dword [rbp - 9], 0x4f794f7c
mov dword [rbp - 5], 0x4f7a4f62
mov dword [rbp - 1], 0x4f424f68
mov dword [rbp + 3], 0x4f644f66
mov dword [rbp + 7], 0x4f74
mov byte [rbp + 0xb], 1
mov ecx, 0x4ee1
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x59], ax
inc rbx
cmp rbx, 0x31
jb 0x14004f121
mov byte [rbp + 0xb], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [0x14006f250]
call fcn.140054ab0
lea rdx, [0x140054c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006c630
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x20], 1
mov r9, rdi
lea rdx, [rbp + 0x37]
mov rcx, rsi
call fcn.140057580
test al, al
je 0x14004f156
cmp byte [rbp + 0x37], 0
je 0x14004f156
mov al, 1
jmp 0x14004f158
Function at 0x14004f1a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004f375
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1400968b8], eax
jle 0x14004f28b
lea rcx, [0x1400968b8]
call fcn.14006c920
cmp dword [0x1400968b8], 0xffffffff
jne 0x14004f28b
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], recv
mov byte [rbp + 0x27], bl
lea r8d, [rbx + 0x15]
lea rdx, str.ExReleaseResourceLite
lea rcx, [rbp + 0x27]
call fcn.140054900
nop
lea r8, [rbp + 0x27]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e4f0
mov qword [0x140096848], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14004f27f
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f279
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f279
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c720
nop
lea rcx, [0x1400968b8]
call fcn.14006c8c0
mov r8, qword [0x140096848]
test r8, r8
jne 0x14004f379
mov dword [rbp - 0x39], 0x4ec34eba
mov dword [rbp - 0x35], 0x4ec44ebe
mov dword [rbp - 0x31], 0x4e874ea3
mov dword [rbp - 0x2d], 0x4e844e8e
mov dword [rbp - 0x29], 0x4e8e4e8c
mov dword [rbp - 0x25], 0x4e984ecb
mov dword [rbp - 0x21], 0x4ece4e82
mov dword [rbp - 0x1d], 0x4e994e89
mov dword [rbp - 0x19], 0x4e964e9f
mov dword [rbp - 0x15], 0x4eb14ed3
mov dword [rbp - 0x11], 0x4ea44e8d
mov dword [rbp - 0xd], 0x4e944e92
mov dword [rbp - 9], 0x4e9b4e9c
mov dword [rbp - 5], 0x4e994e88
mov dword [rbp - 1], 0x4e9b4eaf
mov dword [rbp + 3], 0x4f6f4e8c
mov dword [rbp + 7], 0x4f704f74
mov dword [rbp + 0xb], 0x4f614f60
mov dword [rbp + 0xf], 0x4f6f4f49
mov dword [rbp + 0x13], 0x4f6d4f73
mov word [rbp + 0x17], bx
mov byte [rbp + 0x19], 1
mov ecx, 0x4ee1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x28
jb 0x14004f340
mov byte [rbp + 0x19], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [0x14006f250]
call fcn.140054ab0
lea rdx, [0x140054c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x14004f386
mov r9, rdi
xor edx, edx
mov rcx, rsi
call fcn.140057c40
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004f5f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14004f7f5
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1400968cc], eax
jle 0x14004f6eb
lea rcx, [0x1400968cc]
call fcn.14006c920
cmp dword [0x1400968cc], 0xffffffff
jne 0x14004f6eb
mov qword [rbp + 7], rbx
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], recv
mov byte [rbp + 7], bl
lea r8d, [rbx + 0x1f]
lea rdx, str.RtlLookupElementGenericTableAvl
lea rcx, [rbp + 7]
call fcn.140054900
nop
lea r8, [rbp + 7]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e4f0
mov qword [0x140096860], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004f6df
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f6d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f6d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c720
nop
lea rcx, [0x1400968cc]
call fcn.14006c8c0
mov r8, qword [0x140096860]
test r8, r8
jne 0x14004f811
mov dword [rbp - 0x69], 0x4ec34eba
mov dword [rbp - 0x65], 0x4ec44ebe
mov dword [rbp - 0x61], 0x4e874ea3
mov dword [rbp - 0x5d], 0x4e844e8e
mov dword [rbp - 0x59], 0x4e8e4e8c
mov dword [rbp - 0x55], 0x4e984ecb
mov dword [rbp - 0x51], 0x4ece4e82
mov dword [rbp - 0x4d], 0x4e994e89
mov dword [rbp - 0x49], 0x4e964e9f
mov dword [rbp - 0x45], 0x4ea64ed3
mov dword [rbp - 0x41], 0x4e9a4e81
mov dword [rbp - 0x3d], 0x4e974ebb
mov dword [rbp - 0x39], 0x4e914e96
mov dword [rbp - 0x35], 0x4e8c4e8e
mov dword [rbp - 0x31], 0x4e924eb8
mov dword [rbp - 0x2d], 0x4f6d4e9a
mov dword [rbp - 0x29], 0x4f6c4f64
mov dword [rbp - 0x25], 0x4f434f77
mov dword [rbp - 0x21], 0x4f684f60
mov dword [rbp - 0x1d], 0x4f7a4f62
mov dword [rbp - 0x19], 0x4f694f60
mov dword [rbp - 0x15], 0x4f6d4f5f
mov dword [rbp - 0x11], 0x4f624f6f
mov dword [rbp - 0xd], 0x4f514f6a
mov dword [rbp - 9], 0x4f7e4f67
mov word [rbp - 5], bx
mov byte [rbp - 3], 1
mov ecx, 0x4ee1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x32
jb 0x14004f7c0
mov byte [rbp - 3], 0
lea rdx, [rbp - 0x69]
mov rcx, qword [0x14006f250]
call fcn.140054ab0
lea rdx, [0x140054c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006c630
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x20], r14
mov r9, rdi
lea rdx, [rbp + 0x27]
mov rcx, rsi
call fcn.1400589c0
test al, al
je 0x14004f7f5
mov rax, qword [rbp + 0x27]
jmp 0x14004f7f7
Function at 0x140050930
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.14006da60
sub rsp, rax
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov rdi, r9
mov rbx, r8
test r8, r8
je 0x140050b48
mov r9d, 0x1000
lea rdx, [rsp + 0x60]
call fcn.14004d350
xor edx, edx
test al, al
jne 0x140050a31
mov dword [rsp + 0x20], 0x4ecf4eba
mov r8d, 0x4ee1
mov dword [rsp + 0x24], 0x4ec44ebe
mov dword [rsp + 0x28], 0x4e874ea6
mov dword [rsp + 0x2c], 0x4ecf4e89
mov dword [rsp + 0x30], 0x4eca4e9d
mov dword [rsp + 0x34], 0x4e894e99
mov dword [rsp + 0x38], 0x4e8a4e8c
mov dword [rsp + 0x3c], 0x4e9d4ecf
mov dword [rsp + 0x40], 0x4e964e9e
mov dword [rsp + 0x44], 0x4e984e86
mov dword [rsp + 0x48], 0x4ed64e90
mov dword [rsp + 0x4c], 0x4e9d4e9f
mov dword [rsp + 0x50], 0x4e9e4e98
mov dword [rsp + 0x54], 0x4e8e4e9e
mov dword [rsp + 0x58], 0x4e8e
mov byte [rsp + 0x5c], 1
nop word [rax + rax]
lea eax, [r8 + rdx]
xor word [rsp + rdx*2 + 0x20], ax
inc rdx
cmp rdx, 0x1d
jb 0x140050a10
mov byte [rsp + 0x5c], 0
lea rdx, [rsp + 0x20]
jmp 0x140050b2c
movsxd rax, dword [rbp - 0x64]
lea rcx, [rsp + 0x60]
add rcx, rax
mov r9d, edx
movzx eax, word [rcx + 0x14]
lea r11, [rcx + 0x18]
movzx r10d, word [rcx + 6]
add r11, rax
test r10d, r10d
je 0x140050a9b
nop word [rax + rax]
mov eax, r9d
lea rcx, [rax + rax*4]
cmp dword [r11 + rcx*8], 0x45474150
lea r8, [r11 + rcx*8]
jne 0x140050a93
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], dl
jne 0x140050a80
cmp rax, 4
je 0x140050b64
inc r9d
cmp r9d, r10d
jb 0x140050a60
mov dword [rsp + 0x20], 0x4ecf4eba
mov r8d, 0x4ee1
mov dword [rsp + 0x24], 0x4ec44ebe
mov dword [rsp + 0x28], 0x4e874ea6
mov dword [rsp + 0x2c], 0x4ecf4e89
mov dword [rsp + 0x30], 0x4eca4e9d
mov dword [rsp + 0x34], 0x4e854e8d
mov dword [rsp + 0x38], 0x4e8a4e83
mov dword [rsp + 0x3c], 0x4e834ecf
mov dword [rsp + 0x40], 0x4e914e94
mov dword [rsp + 0x44], 0x4e9d4e87
mov dword [rsp + 0x48], 0x4e984e9a
mov word [rsp + 0x4c], dx
mov byte [rsp + 0x4e], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 + rdx]
xor word [rsp + rdx*2 + 0x20], ax
inc rdx
cmp rdx, 0x16
jb 0x140050b10
mov byte [rsp + 0x4e], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [0x14006f250]
call fcn.140054ab0
lea rdx, [0x140054c90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.14006c630
add rsp, 0x1070
pop rdi
pop rbx
pop rbp
ret
mov eax, dword [r8 + 0xc]
test eax, eax
je 0x140050a9b
mov ecx, dword [r8 + 8]
lea r8, [rsp + 0x60]
add r8, rax
je 0x140050a9b
test ecx, ecx
je 0x140050a9b
test rdi, rdi
je 0x140050b91
mov dword [rdi], ecx
lea rax, [rsp + 0x60]
sub rbx, rax
lea rax, [r8 + rbx]
jmp 0x140050b4a
Function at 0x1400531e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x76], 0
je 0x140053205
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x3a
jb 0x1400531f0
mov byte [rcx + 0x76], 0
ret

Function at 0x140053210
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
je 0x140053235
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x35
jb 0x140053220
mov byte [rcx + 0x6c], 0
ret

Function at 0x140053240
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x74], 0
je 0x140053265
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x39
jb 0x140053250
mov byte [rcx + 0x74], 0
ret

Function at 0x140053270
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6e], 0
je 0x140053295
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x36
jb 0x140053280
mov byte [rcx + 0x6e], 0
ret

Function at 0x1400532a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x48], 0
je 0x1400532c5
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x23
jb 0x1400532b0
mov byte [rcx + 0x48], 0
ret

Function at 0x1400532d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x66], 0
je 0x1400532f5
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x32
jb 0x1400532e0
mov byte [rcx + 0x66], 0
ret

Function at 0x1400535f0
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 0x140053627
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 0x140053648
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005364a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400536a3
test ecx, ecx
jle 0x140053683
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 0x1400536a3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400536a3
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 0x1400536d0
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 0x1400536f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140053708
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 0x140053724
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140053726
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140053760
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 0x140053807
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14005379b
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 0x1400537e1
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 0x140053820
cmp rbx, rax
ja 0x1400537b0
mov r8, rdi
test rdi, rdi
je 0x140053807
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 0x14005380a