Function at 0x18000d3e0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
lea eax, [r9 - 0x13]
mov r12, rdx
xor edx, edx
mov dword [rbp - 0x19], eax
mov qword [rbp + 0x17], rdx
xorps xmm0, xmm0
mov esi, r9d
mov rdi, r8
mov r15, rcx
movdqu xmmword [rbp + 7], xmm0
cmp r9d, eax
jbe 0x18000d97b
mov qword [r11 + 8], rbx
mov ebx, dword [rbp + 0x7f]
mov qword [r11 + 0x10], r13
mov r13d, dword [rbp + 0x7f]
mov qword [r11 + 0x18], r14
mov r14, qword [rbp - 0x41]
lea eax, [rsi - 0x4f]
mov r9d, 0x5e
lea r8, [0x180000000]
cmp eax, 0x61
ja case.0x18000d463.97
movzx eax, byte [r8 + rax + 0xda80]
mov ecx, dword [r8 + rax*4 + 0xda34]
add rcx, r8
jmp rcx
mov rax, qword [r15]
mov rcx, qword [rax + 8]
mov qword [rbp - 9], rcx
mov rcx, qword [rdi]
cmp rcx, 0x3b9ac9e8
jbe 0x18000d49c
lea r8, [rbp - 0x59]
mov dword [rbp - 0x59], 3
mov edx, 0xae
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x49]
call fcn.180009dc0
mov rcx, qword [rdi]
and ecx, 7
mov qword [rbp - 0x41], rcx
jmp case.0x18000d463.97
mov rcx, r12
call fcn.18007c76c
jmp case.0x18000d463.97
mov ecx, dword [rbp + 0x7f]
inc r14
add ecx, ebx
mov dword [rbp + 0x7f], ecx
movzx eax, byte [r14]
test al, 0xdf
je case.0x18000d463.97
inc r15
inc ecx
mov dword [rbp + 0x7f], ecx
mov byte [r15], al
jmp case.0x18000d463.97
mov ebx, edx
jmp case.0x18000d463.97
mov rax, qword [r12]
mov qword [rbp - 1], rax
jmp case.0x18000d463.97
mov rax, qword [rbp - 1]
mov edx, 1
mov r9, qword [rax + 0x18]
mov r8, qword [rax + 0x40]
mov rcx, qword [rax + 0x30]
call fcn.180083240
jmp case.0x18000d463.97
mov eax, dword [r12]
lea r9, [rbp + 0x1f]
mov qword [rsp + 0x20], rdx
lea r8, [0x1800c6a80]
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], eax
mov ecx, 0x55
call fcn.18005b730
lea r14, [rbp + 0x1f]
jmp case.0x18000d463.97
mov rax, qword [rdi]
lea r8, [rbp - 0x49]
add rax, 0x18
mov dword [rsp + 0x28], 0x1d
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x59]
mov rax, qword [r15]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor edx, edx
mov qword [rbp - 0x49], rax
call fcn.1800652b0
mov qword [rbp - 0x11], rax
mov rdx, rax
test rax, rax
jne 0x18000d59e
mov rcx, qword [r15]
lea r8, [rbp - 0x59]
mov qword [rbp - 0x49], rcx
mov edx, 0xae
lea rcx, [rbp - 0x49]
mov dword [rbp - 0x59], 4
call fcn.180009dc0
mov rdx, qword [rbp - 0x11]
mov ecx, dword [rdi]
mov r8, qword [rbp - 9]
add ecx, 0x18
add dword [r8 + 0x90], ecx
movsxd rax, dword [r12]
mov rcx, qword [r8 + rax*8 + 0x70]
mov qword [rdx], rcx
mov rax, qword [rdi]
mov qword [rdx + 8], rax
jmp case.0x18000d463.97
mov dword [rbp + 0x7f], edx
jmp case.0x18000d463.97
movzx eax, byte [r14]
cmp al, 0x4e
je 0x18000d739
cmp al, 0x50
je 0x18000d622
cmp al, 0x54
je 0x18000d6d7
cmp al, 0x56
jne 0x18000d753
mov eax, dword [r12]
xor r9d, r9d
mov dword [rbp - 0x31], eax
mov r8, r15
lea rax, [rbp - 0x31]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x7d]
call fcn.18006f130
mov rbx, rax
mov esi, 0x60
movsxd rax, ebx
add r15, rax
jmp case.0x18000d463.97
mov ebx, 0x48
mov eax, ebx
sub eax, 0x48
je 0x18000d6a3
cmp eax, 1
jne 0x18000d6cc
mov rax, qword [0x1800c69f8]
mov rbx, 0xffffffffffffffff
movsxd rcx, r13d
add rcx, rcx
mov rdx, qword [rax + rcx*8 + 8]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18000d650
mov eax, dword [str._the]
lea r8, [rbp - 0x59]
movsxd rcx, ebx
add ebx, 5
movsxd rdx, ebx
add rdx, r15
mov dword [rcx + r15], eax
movzx eax, word [0x1800a5df0]
mov word [rcx + r15 + 4], ax
mov ecx, 0x5f
mov eax, dword [r12]
mov dword [rbp - 0x59], eax
call fcn.18004f500
add ebx, eax
mov esi, 0x60
movsxd rax, ebx
add r15, rax
jmp case.0x18000d463.97
mov eax, dword [r12]
lea r8, [0x1800c69f0]
mov qword [rsp + 0x20], rdx
mov r9, r15
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x29], eax
mov ecx, 0x55
call fcn.18005b730
mov r13d, eax
xor edx, edx
inc ebx
cmp ebx, 0x4a
jb 0x18000d627
mov eax, dword [r12]
lea r8, [0x1800c6a20]
mov qword [rsp + 0x20], rdx
dec r15
mov r9, r15
mov dword [rbp - 0x21], eax
lea rdx, [rbp - 0x21]
mov ecx, 0x55
call fcn.18005b730
movsxd r13, eax
mov rbx, 0xffffffffffffffff
mov rax, qword [0x1800c6a28]
mov rcx, r13
add rcx, rcx
mov rdx, qword [rax + rcx*8 + 8]
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x18000d720
movsxd rax, ebx
mov esi, 0x60
add r15, rax
jmp case.0x18000d463.97
mov eax, dword [r12]
lea r8, [rbp - 0x59]
mov rdx, r15
mov dword [rbp - 0x59], eax
mov ecx, 0x5f
call fcn.18004f500
mov ebx, eax
movsxd rax, ebx
mov esi, 0x60
add r15, rax
jmp case.0x18000d463.97
mov rcx, qword [rbp - 0x11]
mov qword [rcx + 0x10], rdx
movsxd rax, dword [r12]
mov rdx, qword [rbp - 9]
mov qword [rdx + rax*8 + 0x70], rcx
jmp case.0x18000d463.97
mov rcx, qword [r15]
mov r11, qword [rbp - 1]
mov rax, qword [rcx + 0xa0]
mov r9d, dword [rcx + 0x88]
mov r8, qword [r11 + 0x30]
mov r10, qword [rax]
mov rax, qword [r11 + 0x20]
mov rdx, qword [rax]
test r9d, r9d
je case.0x18000d463.97
nop dword [rax]
movsx rax, byte [rdx]
lea r8, [r8 + 1]
lea rdx, [rdx + 1]
movzx ecx, byte [rax + r10]
mov byte [r8 - 1], cl
add r9d, 0xffffffff
jne 0x18000d7b0
jmp case.0x18000d463.97
mov rax, qword [rbp - 0x11]
add rax, 0x18
mov qword [rbp - 0x51], rax
jmp case.0x18000d463.97
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x18000d7f2
mov eax, 8
sub rax, rcx
add qword [rdi], rax
cmp dword [r12], 1
jbe case.0x18000d463.97
mov rax, qword [r15]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0xe
mov rax, qword [r15]
mov rcx, qword [rax]
mov eax, dword [r12]
mov dword [rcx + 0x2c], eax
mov rcx, qword [r15]
mov rax, qword [rcx]
call qword [rax]
jmp case.0x18000d463.97
movzx eax, byte [r14]
mov esi, 0x61
test al, al
je 0x18000d849
movzx ecx, al
nop dword [rax]
movzx eax, cl
cmp cl, 0x20
jne 0x18000d847
movzx eax, byte [r14 + 1]
inc r14
movzx ecx, al
test al, al
jne 0x18000d830
test al, al
cmove esi, r9d
dec esi
cmp esi, dword [rbp - 0x19]
jbe case.0x18000d463.89
xor edx, edx
jmp 0x18000d436
mov eax, dword [rbp + 0x7f]
dec eax
mov byte [r15], 0
mov dword [rbp - 0x51], eax
jmp case.0x18000d463.89
mov qword [rsp + 0x30], rdx
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov edx, 0xeb
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
call fcn.18006dd70
test al, al
je 0x18000d900
mov rbx, qword [rbp + 7]
mov rsi, qword [rbp + 0xf]
cmp rbx, rsi
je 0x18000d900
mov r14d, 0x4d
xor r13d, r13d
nop
mov eax, dword [r15]
mov word [rbp - 0x41], r14w
mov dword [rbp - 0x3f], 0x410053
mov dword [rbp - 0x3b], 0x440046
mov word [rbp - 0x37], r13w
cmp dword [rbx + 0x4c], eax
jne 0x18000d8f4
mov eax, dword [r12]
cmp dword [rbx + 0x58], eax
jne 0x18000d8f4
lea rcx, [rbx + 0x74]
mov r8d, 5
lea rdx, [rbp - 0x41]
call fcn.18007c1c4
test eax, eax
je 0x18000d98e
add rbx, 0x274
cmp rbx, rsi
jne 0x18000d8b0
mov byte [rbp - 0x51], 0
mov r8, qword [rbp + 7]
mov r14, qword [rsp + 0x110]
mov r13, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
test r8, r8
je 0x18000d97b
mov rcx, qword [rbp + 0x17]
movabs rax, 0x342da7f2f4960343
sub rcx, r8
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r8
imul rdx, rdx, 0x274
cmp rdx, 0x1000
jb 0x18000d973
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000da2b
mov rcx, r8
call fcn.180077954
mov rax, qword [rbp - 0x51]
add rsp, 0xd0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 4
lea rdi, [rdi + 0x80]
movups xmm0, xmmword [rbx]
lea rbx, [rbx + 0x80]
movups xmmword [rdi - 0x80], xmm0
movups xmm1, xmmword [rbx - 0x70]
movups xmmword [rdi - 0x70], xmm1
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rdi - 0x60], xmm0
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rdi - 0x50], xmm1
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rdi - 0x40], xmm0
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rdi - 0x30], xmm1
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rdi - 0x20], xmm0
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rdi - 0x10], xmm1
sub rax, 1
jne 0x18000d993
movups xmm0, xmmword [rbx]
mov byte [rbp - 0x51], 1
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rdi + 0x60], xmm0
mov eax, dword [rbx + 0x70]
mov dword [rdi + 0x70], eax
jmp case.0x18000d463.89
call fcn.18007ba54
int3