joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ef70
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 0x14004f166
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 0x14004f069
lea rcx, [0x1400968d8]
call fcn.14006ca80
cmp dword [0x1400968d8], 0xffffffff
jne 0x14004f069
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.140054910
nop
lea r8, [rbp + 0x17]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e500
mov qword [0x1400968e0], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14004f05d
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f057
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x1400968d8]
call fcn.14006ca20
mov r8, qword [0x1400968e0]
test r8, r8
jne 0x14004f187
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 0x14004f131
mov byte [rbp + 0xb], 0
lea rdx, [rbp - 0x59]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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.14006c790
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.140057590
test al, al
je 0x14004f166
cmp byte [rbp + 0x37], 0
je 0x14004f166
mov al, 1
jmp 0x14004f168
Function at 0x14004f1b0
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 0x14004f385
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 0x14004f29b
lea rcx, [0x1400968b8]
call fcn.14006ca80
cmp dword [0x1400968b8], 0xffffffff
jne 0x14004f29b
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.140054910
nop
lea r8, [rbp + 0x27]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e500
mov qword [0x140096848], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14004f28f
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f289
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f289
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x1400968b8]
call fcn.14006ca20
mov r8, qword [0x140096848]
test r8, r8
jne 0x14004f389
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 0x14004f350
mov byte [rbp + 0x19], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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 0x14004f396
mov r9, rdi
xor edx, edx
mov rcx, rsi
call fcn.140057c50
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004f600
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 0x14004f805
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 0x14004f6fb
lea rcx, [0x1400968cc]
call fcn.14006ca80
cmp dword [0x1400968cc], 0xffffffff
jne 0x14004f6fb
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.140054910
nop
lea r8, [rbp + 7]
mov rdx, qword [0x140093078]
mov rcx, rsi
call fcn.14004e500
mov qword [0x140096860], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004f6ef
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f6e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f6e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x1400968cc]
call fcn.14006ca20
mov r8, qword [0x140096860]
test r8, r8
jne 0x14004f821
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 0x14004f7d0
mov byte [rbp - 3], 0
lea rdx, [rbp - 0x69]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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.14006c790
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.1400589d0
test al, al
je 0x14004f805
mov rax, qword [rbp + 0x27]
jmp 0x14004f807
Function at 0x140050940
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.14006dbc0
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 0x140050b58
mov r9d, 0x1000
lea rdx, [rsp + 0x60]
call fcn.14004d360
xor edx, edx
test al, al
jne 0x140050a41
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 0x140050a20
mov byte [rsp + 0x5c], 0
lea rdx, [rsp + 0x20]
jmp 0x140050b3c
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 0x140050aab
nop word [rax + rax]
mov eax, r9d
lea rcx, [rax + rax*4]
cmp dword [r11 + rcx*8], 0x45474150
lea r8, [r11 + rcx*8]
jne 0x140050aa3
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], dl
jne 0x140050a90
cmp rax, 4
je 0x140050b74
inc r9d
cmp r9d, r10d
jb 0x140050a70
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 0x140050b20
mov byte [rsp + 0x4e], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [0x14006f250]
call fcn.140054ac0
lea rdx, [0x140054ca0]
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.14006c790
add rsp, 0x1070
pop rdi
pop rbx
pop rbp
ret
mov eax, dword [r8 + 0xc]
test eax, eax
je 0x140050aab
mov ecx, dword [r8 + 8]
lea r8, [rsp + 0x60]
add r8, rax
je 0x140050aab
test ecx, ecx
je 0x140050aab
test rdi, rdi
je 0x140050ba1
mov dword [rdi], ecx
lea rax, [rsp + 0x60]
sub rbx, rax
lea rax, [r8 + rbx]
jmp 0x140050b5a
Function at 0x1400531f0
Capabilities:
Encode data using xor

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

Function at 0x140053220
Capabilities:
Encode data using xor

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

Function at 0x140053250
Capabilities:
Encode data using xor

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

Function at 0x140053280
Capabilities:
Encode data using xor

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

Function at 0x1400532b0
Capabilities:
Encode data using xor

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

Function at 0x1400532e0
Capabilities:
Encode data using xor

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

Function at 0x140053600
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 0x140053637
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 0x140053658
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005365a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400536b3
test ecx, ecx
jle 0x140053693
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 0x1400536b3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400536b3
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 0x1400536e0
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 0x140053702
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140053718
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 0x140053734
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140053736
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140053770
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 0x140053817
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400537ab
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 0x1400537f1
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 0x140053830
cmp rbx, rax
ja 0x1400537c0
mov r8, rdi
test rdi, rdi
je 0x140053817
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 0x14005381a
Function at 0x140053c30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140053c5d
xor eax, eax
jmp 0x140053db2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140053c88
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140053c88
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 0x140053db2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140053da5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140053ccb
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 0x140053cf6
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 0x140053daa
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 0x140053d65
sub eax, 1
je 0x140053d65
cmp eax, 2
jne 0x140053da5
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 0x140053daa
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140053d93
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 0x140053da5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140053daa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006c790
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140053f80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
je 0x140053fa5
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x24
jb 0x140053f90
mov byte [rcx + 0x4a], 0
ret

Function at 0x140053fb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x50], 0
je 0x140053fd5
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x27
jb 0x140053fc0
mov byte [rcx + 0x50], 0
ret
Function at 0x140053fe0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3e], 0
je 0x140054005
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x1e
jb 0x140053ff0
mov byte [rcx + 0x3e], 0
ret

Function at 0x140054010
Capabilities:
Encode data using xor

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

Function at 0x140054040
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4c], 0
je 0x140054065
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x25
jb 0x140054050
mov byte [rcx + 0x4c], 0
ret

Function at 0x140054070
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x46], 0
je 0x140054095
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x22
jb 0x140054080
mov byte [rcx + 0x46], 0
ret

Function at 0x1400540a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x58], 0
je 0x1400540c5
xor eax, eax
mov r8d, 0x4ee1
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x2b
jb 0x1400540b0
mov byte [rcx + 0x58], 0
ret

Function at 0x140054460
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140054533
cmp byte [rcx + 0x71], 0
je 0x140054533
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005452f
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 0x1400544f4
sub eax, 1
je 0x1400544f8
cmp eax, 2
jne 0x14005452f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006c790
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140054526
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 0x14005452f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400544dc
xor al, al
jmp 0x1400544dc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006c790
add rsp, 0x60
pop rbx
ret