Function at 0x18009cc50
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
push rbp
push rsi
push r13
push r15
sub rsp, 0x78
imul eax, r8d, 0x321
mov rsi, r9
mov r15, rdx
mov r13, rcx
mov ebp, r8d
mov dword [rsp + 0x40], eax
cmp r8d, eax
ja 0x18009cfd9
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
mov edi, dword [rsp + 0xb0]
mov qword [r11 + 0x20], r12
mov r12, qword [rsp + 0x50]
mov qword [r11 - 0x28], r14
mov r14, qword [rsp + 0x50]
movaps xmmword [rsp + 0x60], xmm6
movsd xmm6, qword [rsp + 0x50]
xor edx, edx
cmp ebp, 0x2c4c
ja 0x18009cdf3
je 0x18009cddc
mov eax, ebp
sub eax, 0xd
je 0x18009cd55
sub eax, 0x71
je 0x18009ccea
sub eax, 0x95
je 0x18009ce52
cmp eax, 0x15
je 0x18009cd9f
jmp 0x18009cf97
cmp byte [0x180143c90], 0
je 0x18009cd3c
mov ebx, 0xa6
cmp ebx, 0xa6
je 0x18009cd1e
cmp ebx, 0x7c80
jne 0x18009cd29
mov rax, qword [rsp + 0x50]
xorps xmm6, xmm6
sub rax, qword [0x180143ca8]
cvtsi2sd xmm6, rax
jmp 0x18009cd29
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add ebx, 0x7bda
cmp ebx, 0xf7b4
jbe 0x18009ccf8
jmp 0x18009cf8f
call qword [0x180143cd0]
sub eax, dword [0x180143ca0]
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
jmp 0x18009cf8f
mov ebx, 0x50
nop word [rax + rax]
mov eax, ebx
sub eax, 0x50
je 0x18009cd72
cmp eax, 1
je 0x18009cfa7
jmp 0x18009cd90
mov edx, 8
mov r9, rsi
mov rcx, r13
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
sete byte [rsp + 0x48]
inc ebx
cmp ebx, 0x52
jb 0x18009cd60
mov r8d, dword [rsp + 0xb0]
cmp byte [0x180143bb9], 0
mov r12, r13
jne 0x18009cf97
mov ebx, 0x70
mov eax, ebx
sub eax, 0x6f
je 0x18009cfa7
cmp eax, 1
jne 0x18009cdd0
xor edx, edx
mov ecx, 0x10001
call fcn.18003e500
dec ebx
cmp ebx, 0x6e
ja 0x18009cdb4
jmp 0x18009cf8f
movsd xmm0, qword [0x180143c98]
mulsd xmm0, xmm6
movsd qword [rsp + 0x48], xmm0
jmp 0x18009cf97
cmp ebp, 0x581a
je 0x18009cfa7
cmp ebp, 0x60ae
je 0x18009cf6e
cmp ebp, 0x6810
je 0x18009cf55
cmp ebp, 0xc049
jne 0x18009cf97
mov ecx, 0xd0
nop dword [rax + rax]
mov eax, ecx
sub eax, 0xd0
je 0x18009ce44
cmp eax, 1
je 0x18009cfa7
jmp 0x18009ce48
mov dword [rsp + 0x48], edx
inc ecx
cmp ecx, 0xd2
jb 0x18009ce30
mov rax, qword [rsi]
cmp qword [rax + 0x18], 0
je 0x18009cf97
mov eax, dword [r13]
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov rax, qword [rsi + 8]
call qword [rax + 0x80]
lea r9, [rsp + 0x30]
mov r8d, 0x38
lea rdx, [rsp + 0x38]
mov ecx, dword [rax]
mov dword [rsp + 0x38], ecx
xor ecx, ecx
call fcn.180054f40
test eax, eax
js 0x18009cf8f
mov ebx, 0x120
nop
cmp ebx, 0x120
je 0x18009cf26
cmp ebx, 0x2760
je 0x18009cede
cmp ebx, 0x4da0
jne 0x18009cf33
test edi, edi
je 0x18009cf33
mov ecx, PathMakeUniqueName
mov eax, ecx
sub eax, 0x2a
je 0x18009cfa7
cmp eax, 1
jne 0x18009ced5
mov dword [rsp + 0x48], edi
dec ecx
cmp ecx, 0x29
ja 0x18009cec1
jmp 0x18009cf33
mov eax, dword [r14]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov r9, r15
xor eax, eax
mov r8, rsi
mov qword [rsp + 0x28], rax
mov ecx, 0xe2
mov qword [rsp + 0x20], rax
call fcn.180008610
mov edi, eax
mov r9, r14
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [rax + 0x34]
call fcn.1800691c0
jmp 0x18009cf33
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x78]
mov r14, rax
add ebx, 0x2640
cmp ebx, 0x72c0
jbe 0x18009cea0
mov rcx, qword [rsi]
cmp qword [rcx + 0x18], 0
jne 0x18009ce60
jmp 0x18009cf8f
cmp qword [r12 + 0x30], 0
jne 0x18009cfa7
mov r8, r12
mov edx, 0xb9
xor ecx, ecx
call fcn.180029c60
jmp 0x18009cf8f
mov eax, dword [r13]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov edx, 0x13a
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800bd090
mov r8d, dword [rsp + 0xb0]
imul eax, r8d, 0x59
add ebp, eax
cmp ebp, dword [rsp + 0x40]
jbe 0x18009ccad
mov rax, qword [rsp + 0x48]
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop r15
pop r13
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x48]
add rsp, 0x78
pop r15
pop r13
pop rsi
pop rbp
ret