Function at 0x7ff748bb246c
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1178]
mov eax, 0x1240
call fcn.7ff748b78f90
sub rsp, rax
xor edi, edi
mov rsi, rcx
xorps xmm0, xmm0
mov qword [rbp + 0x270], rdi
mov ecx, 0x10000
movdqa xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x278], rdi
mov r15, r8
mov dword [rbp + 0x280], edi
mov r14, rdx
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x290], rdi
mov word [rbp + 0x298], di
mov word [rbp + 0x4a2], di
mov qword [rbp + 0x6d0], rdi
call fcn.7ff748b54c68
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.7ff748b36c98
lea rcx, [rbp + 0x180]
call fcn.7ff748bb2200
mov r8d, dword [rsi + 8]
lea r13d, [rdi + 1]
mov rdx, qword [rsi]
mov ebx, r13d
xor r9d, r9d
mov dword [rsp + 0x30], ebx
mov rcx, rsi
call fcn.7ff748b36810
lea rdx, [0x7ff748c0cf84]
mov rcx, r14
call fcn.7ff748b595bc
mov r12, qword [rsp + 0x60]
lea r8, [rbp + 0xf30]
mov rdx, r14
mov rcx, rsi
test eax, eax
jne 0x7ff748bb2760
call fcn.7ff748bb2b70
test eax, eax
jne 0x7ff748bb276d
lea rax, [rbp + 0x6f0]
mov rcx, r15
lea r9, [rbp + 0xd20]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xb10]
lea rdx, [rsp + 0x38]
call fcn.7ff748b6233c
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x900]
call fcn.7ff748b58d7c
lea rdx, [rbp + 0xb10]
lea rcx, [rbp + 0x900]
call fcn.7ff748b5dd98
lea rax, [rbp + 0x6f0]
lea r9, [rbp + 0xd20]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xb10]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xf30]
call fcn.7ff748b6233c
lea rdx, [rbp + 0xd20]
lea rcx, [rbp + 0x900]
call fcn.7ff748b5dd98
lea rdx, [rbp + 0x6f0]
lea rcx, [rbp + 0x900]
call fcn.7ff748b5dd98
lea r15, [rbp + 0x900]
mov qword [rbp + 0x1190], r15
mov rax, qword [rsi]
lea rdx, [rbp + 0x1198]
mov r9, r13
mov qword [rsp + 0x20], rax
mov r8, r13
mov rcx, rsi
call fcn.7ff748b367d8
mov rax, qword [rsi]
lea rdx, [rbp + 0x1180]
mov r14d, 4
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov r9, r13
mov rcx, rsi
call fcn.7ff748b367d8
mov r13d, dword [rbp + 0x1180]
lea rdx, [rbp + 0x1180]
mov rax, qword [rsi]
xor r13d, 0x87bc
mov r9, rbx
mov dword [rsp + 0x40], r13d
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.7ff748b367d8
mov rax, qword [rsi]
lea rdx, [rbp + 0x1180]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rcx, rsi
call fcn.7ff748b367d8
mov eax, dword [rbp + 0x1180]
lea rdx, [rsp + 0x5c]
xor eax, 0xa685
mov r9, rbx
mov dword [rsp + 0x38], eax
mov r8d, r14d
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.7ff748b367d8
mov rax, qword [rsi]
lea rdx, [rsp + 0x58]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rcx, rsi
call fcn.7ff748b367d8
mov rax, qword [rsi]
lea rdx, [rsp + 0x54]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rcx, rsi
call fcn.7ff748b367d8
mov rax, qword [rsi]
lea rdx, [rsp + 0x50]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov rcx, rsi
call fcn.7ff748b367d8
lea rdx, [rbp + 0x6f0]
mov ecx, 0x104
call qword [0x7ff748be5478]
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [0x7ff748c0d6c8]
lea rcx, [rbp + 0x6f0]
call qword [0x7ff748be5480]
lea rdx, [0x7ff748c0d6d0]
lea rcx, [rsp + 0x70]
call fcn.7ff748b648e0
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x7ff748bb2777
lea edi, [rax + 9]
jmp 0x7ff748bb290c
call fcn.7ff748bb2b70
test eax, eax
je 0x7ff748bb2607
mov edi, 6
jmp 0x7ff748bb290c
mov edx, dword [rsi + 0xc]
lea rcx, [rbp + 0x180]
add edx, 0x2477
call fcn.7ff748bb225c
mov r14d, edi
test r13d, r13d
jle 0x7ff748bb283f
mov r15, qword [rsp + 0x48]
lea eax, [r14 + 0x10000]
cmp eax, r13d
jle 0x7ff748bb27b1
mov ebx, r13d
sub ebx, r14d
jmp 0x7ff748bb27b6
mov ebx, 0x10000
mov rax, qword [rsi]
mov r8d, 1
movsxd r13, ebx
mov rdx, r12
mov r9, r13
mov qword [rsp + 0x20], rax
mov rcx, rsi
add r14d, ebx
call fcn.7ff748b367d8
test ebx, ebx
jle 0x7ff748bb2803
mov r13, r12
movsxd r12, ebx
lea rcx, [rbp + 0x180]
call fcn.7ff748bb23d4
xor byte [r13], al
inc r13
sub r12, 1
jne 0x7ff748bb27e2
mov r12, qword [rsp + 0x60]
movsxd r13, ebx
mov r8d, ebx
lea rcx, [rsp + 0x30]
mov rdx, r12
call fcn.7ff748bb1af8
mov r9, r15
mov r8, r13
mov edx, 1
mov rcx, r12
call fcn.7ff748b62a04
mov r13d, dword [rsp + 0x40]
cmp r14d, r13d
jl 0x7ff748bb279d
mov ebx, dword [rsp + 0x30]
mov r15, qword [rbp + 0x1190]
mov rcx, qword [rsp + 0x48]
call fcn.7ff748b64970
cmp dword [rsp + 0x38], ebx
je 0x7ff748bb2864
lea rcx, [rsp + 0x70]
call qword [0x7ff748be5418]
mov edi, 0xa
jmp 0x7ff748bb290c
cmp byte [rbp + 0x1198], 1
jne 0x7ff748bb28c8
mov ebx, 0x104
lea rdx, [rsp + 0x70]
mov r8d, ebx
lea rcx, [rbp + 0x298]
call fcn.7ff748b62024
mov r8d, ebx
mov word [rbp + 0x4a0], di
mov rdx, r15
lea rcx, [rbp + 0x4a2]
call fcn.7ff748b62024
lea rcx, [rbp + 0x260]
mov word [rbp + 0x6aa], di
call fcn.7ff748bb1d48
test eax, eax
je 0x7ff748bb28ef
lea rcx, [rsp + 0x70]
call qword [0x7ff748be5418]
mov edi, 0xb
jmp 0x7ff748bb290c
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov rdx, r15
call qword [0x7ff748be54e0]
test eax, eax
jne 0x7ff748bb28ef
lea rcx, [rsp + 0x70]
call qword [0x7ff748be5418]
mov edi, 7
jmp 0x7ff748bb290c
lea rcx, [rsp + 0x70]
call qword [0x7ff748be5418]
lea r8, [rsp + 0x50]
mov rcx, r15
lea rdx, [rsp + 0x58]
call fcn.7ff748bb2d90
mov rcx, qword [rsp + 0x68]
sub qword [rcx], 1
jne 0x7ff748bb2929
mov edx, 8
call fcn.7ff748b54c24
mov rcx, r12
call fcn.7ff748b54c24
mov rbx, qword [rsp + 0x1288]
mov eax, edi
add rsp, 0x1240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret