Function at 0x180010de0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800a9080]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rdi, rdx
mov rsi, rcx
movzx edx, word [rcx + 0xe]
mov eax, edx
and eax, 7
cmp eax, 5
ja case.default.0x180010e34
lea r8, [0x180000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0x11670]
add rcx, r8
jmp rcx
mov rcx, rdi
call fcn.180012050
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180010e6f
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180010e6f
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x6e
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180010ea7
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180010ea7
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x75
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180010edf
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180010edf
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x6c
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180010f17
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180010f17
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x6c
inc qword [rbx + 0x18]
jmp 0x180011646
mov rcx, rdi
call fcn.180012050
xor edx, edx
mov rcx, rdi
call fcn.180011db0
jmp 0x180011648
mov rcx, rdi
call fcn.180012050
mov dl, 1
mov rcx, rdi
call fcn.180011db0
jmp 0x180011648
mov rcx, rdi
call fcn.180012050
mov rcx, qword [rdi + 0x20]
lea rax, [rcx + 0x10]
cmp rax, qword [rdi + 0x28]
jbe 0x180010f74
lea rcx, [rdi + 8]
call fcn.180012180
mov rcx, qword [rdi + 0x20]
xor ebx, ebx
lea rax, [rcx + 0x10]
mov qword [rdi + 0x20], rax
mov qword [rcx], rbx
mov byte [rcx + 8], bl
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180010fb5
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180010fb5
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x7b
movabs r12, 0xffffffffffff
inc qword [rbx + 0x18]
mov rax, qword [rsi + 8]
mov ecx, dword [rsi]
and rax, r12
shl rcx, 5
add rcx, rax
cmp rax, rcx
je 0x180011064
lea rbx, [rax + 0xd]
mov r13d, 0xd
mov eax, 0x1000
nop
test word [rbx + 1], ax
je 0x180011005
movsx eax, byte [rbx]
lea r15, [rbx - 0xd]
mov r14d, r13d
sub r14d, eax
jmp 0x180011010
mov r15, qword [rbx - 5]
mov r14d, dword [rbx - 0xd]
and r15, r12
mov rcx, rdi
call fcn.180012050
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call fcn.180011ad0
test al, al
je 0x18001124a
lea rcx, [rbx + 3]
mov rdx, rdi
call fcn.180010de0
test al, al
je 0x18001124a
mov ecx, dword [rsi]
add rbx, 0x20
mov rax, qword [rsi + 8]
and rax, r12
shl rcx, 5
add rcx, rax
lea rax, [rbx - 0xd]
cmp rax, rcx
mov eax, 0x1000
jne 0x180010ff0
add qword [rdi + 0x20], 0xfffffffffffffff0
mov rax, qword [rdi + 0x20]
cmp qword [rax], 0
je 0x1800110b3
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x1800110a4
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1800110a4
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0xa
mov rcx, rdi
inc qword [rbx + 0x18]
call fcn.180011f90
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x1800110e4
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x1800110e4
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x7d
jmp 0x180011207
mov rcx, rdi
call fcn.180012050
mov rcx, qword [rdi + 0x20]
lea rax, [rcx + 0x10]
cmp rax, qword [rdi + 0x28]
jbe 0x18001110f
lea rcx, [rdi + 8]
call fcn.180012180
mov rcx, qword [rdi + 0x20]
xor ebx, ebx
lea rax, [rcx + 0x10]
mov qword [rdi + 0x20], rax
mov qword [rcx], rbx
mov byte [rcx + 8], 1
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011151
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011151
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x5b
movabs r12, 0xffffffffffff
inc qword [rbx + 0x18]
mov rbx, qword [rsi + 8]
mov eax, dword [rsi]
and rbx, r12
shl rax, 4
add rax, rbx
cmp rbx, rax
je 0x1800111ac
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.180010de0
test al, al
je 0x18001124a
mov ecx, dword [rsi]
add rbx, 0x10
mov rax, qword [rsi + 8]
shl rcx, 4
and rax, r12
add rcx, rax
cmp rbx, rcx
jne 0x180011180
add qword [rdi + 0x20], 0xfffffffffffffff0
mov rax, qword [rdi + 0x20]
cmp qword [rax], 0
je 0x1800111d3
test byte [rdi + 0x48], 1
jne 0x1800111d3
mov rcx, qword [rdi]
mov dl, 0xa
call fcn.18000f710
mov rcx, rdi
call fcn.180011f90
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011204
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011204
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x5d
inc qword [rbx + 0x18]
mov rax, qword [rdi + 0x18]
cmp qword [rdi + 0x20], rax
jne 0x180011646
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011646
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
jmp 0x180011646
xor al, al
jmp 0x180011648
mov eax, 0x1000
test ax, dx
je 0x18001126a
movsx eax, byte [rsi + 0xd]
mov r13d, 0xd
sub r13d, eax
jmp 0x18001127e
mov r13d, dword [rsi]
movabs r12, 0xffffffffffff
mov rsi, qword [rsi + 8]
and rsi, r12
mov rcx, rdi
call fcn.180012050
mov r8d, r13d
mov rdx, rsi
mov rcx, rdi
call fcn.180011ad0
jmp 0x180011648
movzx eax, dx
mov rcx, rdi
shr ax, 9
test al, 1
je 0x1800113f2
movaps xmmword [rsp + 0x70], xmm6
movsd xmm6, qword [rsi]
call fcn.180012050
movabs rcx, 0x7ff0000000000000
movsd qword [rbp - 0x58], xmm6
mov rax, qword [rbp - 0x58]
and rax, rcx
cmp rax, rcx
jne 0x1800112e0
movaps xmm6, xmmword [rsp + 0x70]
xor al, al
jmp 0x180011648
mov esi, dword [rdi + 0x38]
movabs rcx, 0x7fffffffffffffff
movsd qword [rbp - 0x58], xmm6
movaps xmm0, xmm6
mov rax, qword [rbp - 0x58]
test rcx, rax
jne 0x180011338
movabs rcx, 0x8000000000000000
mov edx, 0x2d
and rax, rcx
movzx ecx, byte [rbp - 0x40]
cmovne ecx, edx
test rax, rax
mov byte [rbp - 0x40], cl
lea rdx, [rbp - 0x3f]
lea rcx, [rbp - 0x40]
cmovne rcx, rdx
mov word [rcx], 0x2e30
lea rax, [rcx + 3]
mov byte [rcx + 2], 0x30
jmp 0x18001137d
xorps xmm1, xmm1
comisd xmm1, xmm6
jbe 0x18001134f
movaps xmm0, xmm6
mov byte [rbp - 0x40], 0x2d
xorps xmm0, xmmword [0x18009be40]
lea rax, [rbp - 0x3f]
lea rbx, [rbp - 0x40]
cmova rbx, rax
lea r9, [rbp - 0x60]
mov rdx, rbx
lea r8, [rbp - 0x58]
call fcn.1800102b0
mov r8d, dword [rbp - 0x60]
mov r9d, esi
mov edx, dword [rbp - 0x58]
mov rcx, rbx
call fcn.180010540
xor ebx, ebx
lea rcx, [rbp - 0x40]
mov r14, rax
sub r14, rcx
lea rcx, [rbp - 0x40]
cmp rcx, rax
cmova r14, rbx
test r14, r14
je 0x1800113e6
nop dword [rax]
mov rsi, qword [rdi]
movzx r15d, byte [rbp + rbx - 0x40]
mov r8, qword [rsi + 0x18]
mov rax, r8
cmp r8, qword [rsi + 0x10]
jb 0x1800113d7
mov rcx, qword [rsi + 8]
cmp r8, rcx
je 0x1800113d7
mov r9, qword [rsi]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rsi + 8]
mov qword [rsi + 0x18], rax
mov byte [rax], r15b
inc rbx
inc qword [rsi + 0x18]
cmp rbx, r14
jne 0x1800113a0
movaps xmm6, xmmword [rsp + 0x70]
mov al, 1
jmp 0x180011648
movzx eax, dl
shr al, 5
test al, 1
je 0x18001149b
mov ebx, dword [rsi]
call fcn.180012050
lea rdx, [rbp - 0x58]
test ebx, ebx
jns 0x18001141b
not ebx
mov byte [rbp - 0x58], 0x2d
inc ebx
lea rdx, [rbp - 0x57]
mov ecx, ebx
call fcn.18000f780
xor ebx, ebx
lea rcx, [rbp - 0x58]
mov r15, rax
sub r15, rcx
lea rcx, [rbp - 0x58]
cmp rcx, rax
cmova r15, rbx
test r15, r15
je 0x180011646
nop dword [rax]
nop word [rax + rax]
mov rsi, qword [rdi]
movzx r14d, byte [rbp + rbx - 0x58]
mov r8, qword [rsi + 0x18]
mov rax, r8
cmp r8, qword [rsi + 0x10]
jb 0x180011487
mov rcx, qword [rsi + 8]
cmp r8, rcx
je 0x180011487
mov r9, qword [rsi]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rsi + 8]
mov qword [rsi + 0x18], rax
mov byte [rax], r14b
inc rbx
inc qword [rsi + 0x18]
cmp rbx, r15
jne 0x180011450
jmp 0x180011646
movzx eax, dl
shr al, 6
test al, 1
je 0x18001152b
mov ebx, dword [rsi]
call fcn.180012050
lea rdx, [rbp - 0x58]
mov ecx, ebx
call fcn.18000f780
xor ebx, ebx
lea rcx, [rbp - 0x58]
mov r15, rax
sub r15, rcx
lea rcx, [rbp - 0x58]
cmp rcx, rax
cmova r15, rbx
test r15, r15
je 0x180011646
nop dword [rax + rax]
mov rsi, qword [rdi]
movzx r14d, byte [rbp + rbx - 0x58]
mov r8, qword [rsi + 0x18]
mov rax, r8
cmp r8, qword [rsi + 0x10]
jb 0x180011517
mov rcx, qword [rsi + 8]
cmp r8, rcx
je 0x180011517
mov r9, qword [rsi]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rsi + 8]
mov qword [rsi + 0x18], rax
mov byte [rax], r14b
inc rbx
inc qword [rsi + 0x18]
cmp rbx, r15
jne 0x1800114e0
jmp 0x180011646
mov rbx, qword [rsi]
shr dl, 7
test dl, 1
je 0x1800115c8
call fcn.180012050
lea rdx, [rbp - 0x58]
test rbx, rbx
jns 0x180011556
not rbx
mov byte [rbp - 0x58], 0x2d
inc rbx
lea rdx, [rbp - 0x57]
mov rcx, rbx
call fcn.18000f9d0
xor ebx, ebx
lea rcx, [rbp - 0x58]
mov r15, rax
sub r15, rcx
lea rcx, [rbp - 0x58]
cmp rcx, rax
cmova r15, rbx
test r15, r15
je 0x180011646
nop
mov rsi, qword [rdi]
movzx r14d, byte [rbp + rbx - 0x58]
mov r8, qword [rsi + 0x18]
mov rax, r8
cmp r8, qword [rsi + 0x10]
jb 0x1800115b7
mov rcx, qword [rsi + 8]
cmp r8, rcx
je 0x1800115b7
mov r9, qword [rsi]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rsi + 8]
mov qword [rsi + 0x18], rax
mov byte [rax], r14b
inc rbx
inc qword [rsi + 0x18]
cmp rbx, r15
jne 0x180011580
jmp 0x180011646
call fcn.180012050
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.18000f9d0
xor ebx, ebx
lea rcx, [rbp - 0x58]
mov r15, rax
sub r15, rcx
lea rcx, [rbp - 0x58]
cmp rcx, rax
cmova r15, rbx
test r15, r15
je 0x180011646
nop word [rax + rax]
mov rsi, qword [rdi]
movzx r14d, byte [rbp + rbx - 0x58]
mov r8, qword [rsi + 0x18]
mov rax, r8
cmp r8, qword [rsi + 0x10]
jb 0x180011637
mov rcx, qword [rsi + 8]
cmp r8, rcx
je 0x180011637
mov r9, qword [rsi]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rsi + 8]
mov qword [rsi + 0x18], rax
mov byte [rax], r14b
inc rbx
inc qword [rsi + 0x18]
cmp rbx, r15
jne 0x180011600
mov al, 1
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.18001ec10
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret