Function at 0x1800bb140
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
lea r13d, [r8 + 0xc8]
movaps xmmword [rax - 0x48], xmm7
mov rsi, r9
movaps xmmword [rax - 0x58], xmm8
mov r14d, r8d
mov r15, rdx
mov r12, rcx
cmp r8d, r13d
jae 0x1800bb3dd
movaps xmm7, xmmword [rsp + 0x70]
xor ecx, ecx
movaps xmm8, xmmword [rsp + 0x70]
nop dword [rax]
mov eax, r14d
sub eax, 0x49
je 0x1800bb371
sub eax, 4
je 0x1800bb32d
sub eax, 0x28
je 0x1800bb328
sub eax, 0x87
je 0x1800bb1d3
cmp eax, 0x28
je 0x1800bb3dd
jmp 0x1800bb362
movups xmm6, xmmword [rsi]
mov edi, dword [r15]
mov ebx, 0xfa
movaps xmmword [rsp + 0x60], xmm6
mov eax, ebx
sub eax, 0xfa
je 0x1800bb225
sub eax, 1
je 0x1800bb25c
cmp eax, 2
jne 0x1800bb252
mov dword [rsp + 0x30], 0x30
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, qword [0x180114380]
call fcn.180017990
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x1800bb250
lea r9, [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm6
lea r8, [rbp + 0x60]
mov dword [rbp + 0x60], edi
mov edx, 0x112
lea rcx, [rbp - 0x30]
call fcn.1800363e0
movups xmm0, xmmword [rax + 0x10]
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
xor ecx, ecx
inc ebx
cmp ebx, 0xfd
jb 0x1800bb1e3
movups xmm6, xmmword [rsi + 0x10]
mov edi, dword [r15]
mov ebx, 0xfa
movaps xmmword [rsp + 0x60], xmm6
nop dword [rax]
mov eax, ebx
sub eax, 0xfa
je 0x1800bb2b2
sub eax, 1
je 0x1800bb2ed
cmp eax, 2
jne 0x1800bb2de
mov dword [rsp + 0x30], 0x30
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, qword [0x180114380]
call fcn.180017990
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x1800bb2de
lea r9, [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm6
lea r8, [rbp + 0x60]
mov dword [rbp + 0x60], edi
mov edx, 0x112
lea rcx, [rbp - 0x50]
call fcn.1800363e0
movups xmm0, xmmword [rax + 0x10]
movups xmm8, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
inc ebx
mov ecx, 0
cmp ebx, 0xfd
jb 0x1800bb270
lea r9, [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm7
mov r8d, 0xfd
movdqa xmmword [rsp + 0x70], xmm8
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.1800b5000
movups xmm0, xmmword [rbp - 0x70]
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm1
jmp 0x1800bb360
mov dword [rsi + 4], ecx
jmp 0x1800bb362
test r15, r15
je 0x1800bb362
mov r8d, dword [rsi + 4]
mov r9, r15
mov rcx, qword [rsi + 8]
mov edx, 1
call fcn.1800d400c
mov ecx, dword [rsi + 4]
cmp rax, rcx
je 0x1800bb360
mov edx, 0x2d
lea rcx, str.ext_ms_win_gdi_metafile_l1_1_0.dll
call fcn.180032e20
xor ecx, ecx
add r14d, 0x28
cmp r14d, r13d
jb 0x1800bb1a0
jmp 0x1800bb3dd
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x1800bb3d9
nop dword [rax]
mov qword [rsp + 0x50], rcx
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
mov dword [rsp + 0x40], 0x31
xor edx, edx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rbx
call fcn.18000d930
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movd eax, xmm1
movups xmmword [rbp - 0x40], xmm0
cmp eax, dword [r15]
je 0x1800bb410
add rbx, 0x10
mov ecx, 0
cmp rbx, rdi
jne 0x1800bb380
mov qword [r12], rcx
lea r11, [rsp + 0x120]
mov rax, r12
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [r12], rbx
jmp 0x1800bb3dd