Function at 0x1400096c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, qword [0x14003ffb8]
lea rdx, str.S_0_0_0_c_c
mov r9d, 0xa
add rcx, 0x24ccae0
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x14003ffb8]
xor ebx, ebx
cmp dword [rdx + 0x24cdb10], 1
jne 0x140009756
mov rdi, qword [rdx + 0x2637f48]
cmp dword [rdi + 8], 1
je 0x140009756
add rdx, 0x24ccae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x140009730
mov rcx, qword [rdi + 0xe00028]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rdi + 0xe00020], ebx
mov r8d, 0x1f4
call fcn.14000b130
movsxd r8, eax
test eax, eax
jg 0x140009772
mov eax, 0xffffffff
jmp 0x14000997d
mov r11, qword [0x14003ffb8]
mov edx, ebx
mov qword [rsp + 0xa0], rsi
mov byte [r8 + r11 + 0x1db2ae0], bl
mov rcx, qword [r11 + 0x2637f48]
mov r9d, dword [rcx + 0xe00018]
nop dword [rax]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x1400097c7
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x1400097c0
mov dword [rcx + 0xe0001c], ebx
inc edx
cmp edx, r8d
jl 0x1400097a0
xorps xmm0, xmm0
mov dword [r11 + 0x2637f20], 1
movabs rax, 0x4000000000000000
mov dword [r11 + 0x2637f1c], 1
movups xmmword [rsp + 0x40], xmm0
mov qword [r11 + 0x90], rax
lea r10, [r11 + 0x1db2ae6]
movups xmmword [rsp + 0x50], xmm0
mov dword [r11 + 0x64], InitCommonControls
mov esi, ebx
movups xmmword [rsp + 0x60], xmm0
mov dword [r11 + 0x2637fb4], ebx
mov rdi, rbx
mov dword [r11 + 0x24cdb34], 1
mov dword [r11 + 0x2637fbc], ebx
mov dword [r11 + 0x24cdbc0], 1
mov dword [r11 + 0x2637eb0], ebx
mov dword [r11 + 0x24cdbdc], ebx
nop word [rax + rax]
mov r8d, ebx
mov r9d, ebx
mov rdx, rbx
nop dword [rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140009879
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140009884
cmp cl, 0x2d
jne 0x14000988f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140009860
jmp 0x140009897
cmp cl, 0x2c
jne 0x140009897
inc rdx
add r10, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rsp + rdi*4 + 0x40], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x1400098be
sub cl, 0x2c
cmp cl, 1
ja 0x1400098cc
inc esi
inc rdi
cmp rdi, 0x1000
jl 0x140009850
mov eax, dword [rsp + 0x40]
lea ecx, [rsi + 1]
mov rsi, qword [rsp + 0xa0]
mov dword [r11 + 0x2637f20], eax
mov eax, dword [rsp + 0x44]
mov dword [r11 + 0x2637f1c], eax
mov eax, dword [rsp + 0x48]
mov dword [r11 + 0x64], eax
mov eax, dword [rsp + 0x4c]
mov dword [r11 + 0x2637fb4], eax
mov eax, dword [rsp + 0x50]
mov dword [r11 + 0x24cdb34], eax
mov eax, dword [rsp + 0x54]
mov dword [r11 + 0x2637fbc], eax
mov eax, dword [rsp + 0x58]
mov dword [r11 + 0x24cdbc0], eax
cmp ecx, 7
jle 0x14000994f
mov eax, dword [rsp + 0x5c]
cmp eax, 0x3e8
jle 0x14000994f
movd xmm0, eax
mov ebx, 1
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140039670]
movsd qword [r11 + 0x90], xmm0
cmp ecx, 8
jle 0x14000996b
cmp ebx, 1
jne 0x14000996b
mov eax, dword [rsp + 0x60]
mov dword [r11 + 0x2637eb0], eax
mov dword [r11 + 0x2637eb8], eax
cmp ecx, 9
jle 0x14000997b
mov eax, dword [rsp + 0x64]
mov dword [r11 + 0x24cdbdc], eax
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140010cc0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret