Function at 0x18000e740
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.180078db0
sub rsp, rax
mov rax, qword [0x180133090]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov r15, rcx
cmp byte [rcx + 0x120], 0
je 0x18000ea14
mov rdx, qword [rcx + 0x18]
sub rdx, qword [rcx + 0x10]
movabs rax, 0x6666666666666667
imul rdx
mov r12, rdx
sar r12, 5
mov rax, r12
shr rax, 0x3f
add r12, rax
call fcn.180010180
mov rsi, rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
movabs rbx, 0x7878787878787879
mov rax, rbx
imul rcx
mov rdi, rdx
sar rdi, 6
mov rax, rdi
shr rax, 0x3f
add rdi, rax
je 0x18000e892
movabs rax, 0x1e1e1e1e1e1e1e1
cmp rdi, rax
ja 0x18000ea4a
mov rdx, rdi
call fcn.18000cdf0
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
imul rcx, rdi, 0x88
add rcx, rax
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r14, qword [rsi + 8]
mov rdi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
cmp rdi, r14
je 0x18000e883
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.1800081f0
add rbx, 0x88
mov qword [rsp + 0x40], rbx
add rdi, 0x88
cmp rdi, r14
jne 0x18000e860
mov qword [rsp + 0x58], rbx
movabs rbx, 0x7878787878787879
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x68]
call fcn.180001fa0
mov edi, dword [rsi + 0x38]
mov dword [rbp - 0x78], edi
movzx ecx, byte [rsi + 0x3c]
mov byte [rbp - 0x74], cl
movzx eax, byte [rsi + 0x3d]
mov byte [rbp - 0x73], al
movsd xmm0, qword [rsi + 0x40]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [rsi + 0x48]
mov dword [rbp - 0x68], eax
movss xmm0, dword [rsi + 0x4c]
movss dword [rbp - 0x64], xmm0
mov esi, dword [r15 + 8]
test cl, cl
je 0x18000e8e0
mov edi, 0xffffffff
mov ebx, r13d
jmp 0x18000e901
mov rcx, qword [rsp + 0x58]
sub rcx, qword [rsp + 0x50]
mov rax, rbx
imul rcx
mov rbx, rdx
sar rbx, 6
mov rax, rbx
shr rax, 0x3f
add rbx, rax
movzx r14d, byte [r15 + 0x3c]
mov ecx, dword [0x180137b54]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180139580], ecx
jle 0x18000e97f
lea rcx, [0x180139580]
call fcn.180077e94
cmp dword [0x180139580], 0xffffffff
jne 0x18000e97f
xorps xmm0, xmm0
movdqa xmmword [0x180139590], xmm0
mov qword [0x1801395a0], r13
mov word [0x1801395a8], 0
mov qword [0x1801395e8], r13
mov qword [0x180139628], r13
lea rcx, [0x1800ff010]
call fcn.1800783f0
lea rcx, [0x180139580]
call fcn.180077e34
cmp byte [0x1801395a8], 0
je 0x18000e9c0
mov word [rbp - 0x60], 0x108
mov dword [rbp - 0x5e], r12d
mov dword [rbp - 0x5a], ebx
mov dword [rbp - 0x56], esi
mov dword [rbp - 0x52], edi
mov byte [rbp - 0x4e], r14b
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x30]
mov r8d, 0x13
lea rdx, [rbp - 0x60]
mov rcx, qword [0x180139590]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x18000e9f8
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e9f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ea44
call fcn.180077bd0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
lea rcx, [rsp + 0x50]
call fcn.180009cf0
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.180077bb0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18008a744
int3
call fcn.18000cc90
int3