Function at 0x180069d20
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18006a20c
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rbp + 7], rax
mov rax, qword [0x180177da0]
mov rsi, r8
shl rax, 5
mov rbx, rdx
add rax, qword [0x180176008]
movaps xmmword [rsp + 0xe0], xmm7
cmp qword [rax + 0x10], 8
lea rcx, [rax + 0x18]
jbe 0x180069d74
mov rcx, qword [rcx]
cmp byte [rcx], 0
movaps xmmword [rsp + 0xf0], xmm6
je 0x18006a09a
or qword [r8 + 0x10], 1
mov qword [rsp + 0x120], rdi
mov rdi, qword [r8 + 0x18]
add rdi, 0x18
mov qword [rsp + 0x138], r14
movss xmm6, dword [rdi]
movaps xmm0, xmm6
call fcn.1800f7118
test ax, ax
jg 0x180069e84
movss xmm0, dword [rdi + 4]
call fcn.1800f7118
test ax, ax
jg 0x180069e84
movss xmm0, dword [rdi + 8]
call fcn.1800f7118
test ax, ax
jg 0x180069e84
movss xmm0, dword [0x18015e3a0]
comiss xmm0, xmm6
mov dword [rsp + 0x30], 0x42b20000
ja 0x180069e06
comiss xmm6, dword [0x18015e2f4]
lea rax, [rsp + 0x30]
cmovbe rax, rdi
movss xmm0, dword [rax]
movss dword [rdi], xmm0
lea rcx, [rdi + 4]
movss xmm1, dword [rcx]
movss xmm0, dword [0x18015e3a8]
comiss xmm0, xmm1
mov dword [rsp + 0x30], 0x43340000
ja 0x180069e3b
comiss xmm1, dword [0x18015e310]
lea rax, [rsp + 0x30]
cmovbe rax, rcx
movss xmm0, dword [rax]
add rdi, 8
movss dword [rcx], xmm0
movss xmm0, dword [0x18015e39c]
mov dword [rsp + 0x30], 0x42340000
movss xmm1, dword [rdi]
comiss xmm0, xmm1
ja 0x180069e70
comiss xmm1, dword [0x18015e2e0]
lea rax, [rsp + 0x30]
cmovbe rax, rdi
movss xmm0, dword [rax]
movss dword [rdi], xmm0
xor r14d, r14d
mov rax, qword [rsi + 0x18]
mov dword [rax + 0x20], r14d
jmp 0x18006a08a
xor r14d, r14d
mov dl, 2
mov qword [rdi], r14
mov dword [rdi + 8], r14d
call fcn.180071aa0
movabs rax, 0x285f24d57f28e873
movabs rcx, 0x84b041c6afff0df0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x79], rax
movabs rax, 0xaac0098418b9eae
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x71], rax
movabs rax, 0x1a161e8670544fe7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x69], rax
movabs rax, 0x30a2a124dfb60563
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x61], rax
movabs rax, 0x772b5d64f753f5e5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x59], rax
movabs rax, 0xd91afe5a10fa76a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x51], rax
movabs rax, 0x181cc1d360da456e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x41], rax
movabs rax, 0x4f3145f5084d8105
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x39], rax
movabs rax, 0x6fda61f061f8fbc2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x31], rax
movabs rax, 0x793650e73e742ec7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x29], rax
movabs rax, 0x44ccc44ab0c6680c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x21], rax
movabs rax, 0x165d7d019f27d5c9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x19], rax
movabs rax, 0x7fb1dc8c816ad206
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x11], rax
movabs rax, 0x181cc1d314bf360b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 9], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x79]
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x69]
pxor xmm0, xmmword [rbp - 0x29]
movdqa xmm2, xmmword [rbp - 0x79]
movdqa xmm1, xmmword [rbp - 0x59]
pxor xmm2, xmmword [rbp - 0x39]
pxor xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm0, xmmword [rbp - 0x49]
mov qword [rbp - 1], rax
pxor xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmmword [rbp - 0x79], xmm2
movdqa xmmword [rbp - 0x59], xmm1
movq rax, xmm2
lea r8, [rbp - 0x79]
mov edx, r8d
test al, al
je 0x18006a06b
nop dword [rax + rax]
inc rcx
mov rdx, rcx
cmp byte [rcx], r14b
jne 0x18006a060
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x79]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r14, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x120]
lea r8, [0x1801776b0]
mov rdx, rsi
mov rcx, rbx
call fcn.18006a210
mov rax, qword [rbx + 0x38]
xorps xmm7, xmm7
or qword [rax + 0x10], 1
mov rcx, qword [rbx + 0x38]
movss xmm0, dword [rbx + 0x50]
comiss xmm0, xmm7
mov rax, qword [rcx + 0x18]
jbe 0x18006a0d0
or rax, 8
jmp 0x18006a0d9
comiss xmm7, xmm0
jbe 0x18006a0dd
or rax, 0x10
mov qword [rcx + 0x18], rax
movss xmm0, dword [rbx + 0x54]
comiss xmm0, xmm7
jbe 0x18006a0f5
mov rax, qword [rbx + 0x38]
or qword [rax + 0x18], 0x100
jmp 0x18006a106
comiss xmm7, xmm0
jbe 0x18006a106
mov rax, qword [rbx + 0x38]
or qword [rax + 0x18], 0x80
mov rax, qword [rsi + 0x18]
movss xmm2, dword [rax + 0x18]
ucomiss xmm2, xmm7
jp 0x18006a132
jne 0x18006a132
movss xmm0, dword [rax + 0x1c]
ucomiss xmm0, xmm7
jp 0x18006a132
jne 0x18006a132
movss xmm1, dword [rax + 0x20]
ucomiss xmm1, xmm7
jp 0x18006a132
je 0x18006a1e6
subss xmm2, dword [0x1801776b0]
movss xmm6, dword [0x18015e328]
movaps xmm1, xmm6
movaps xmmword [rsp + 0xd0], xmm8
movaps xmm0, xmm2
call fcn.1800e3988
mov rax, qword [rsi + 0x18]
movaps xmm8, xmm0
movaps xmm1, xmm6
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [0x1801776b4]
call fcn.1800e3988
mov rcx, qword [0x180177850]
movaps xmm2, xmm0
mov rax, qword [0x180177838]
movss xmm3, dword [rcx + 0x40]
mov rcx, qword [0x180177848]
movss xmm1, dword [rcx + 0x40]
ucomiss xmm1, xmm7
jp 0x18006a1a4
jne 0x18006a1a4
movss xmm1, dword [0x18015e220]
xorps xmm2, xmmword [0x18015e730]
movaps xmm0, xmm1
mulss xmm0, dword [rax + 0x40]
or qword [rbx + 0x10], 0x1800
mulss xmm1, xmm3
divss xmm8, xmm0
divss xmm2, xmm1
cvttss2si eax, xmm8
movaps xmm8, xmmword [rsp + 0xd0]
movsx ecx, ax
cvttss2si eax, xmm2
mov dword [rbx + 0x68], ecx
movsx ecx, ax
mov dword [rbx + 0x6c], ecx
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0xe0]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800d6d50
add rsp, 0x100
pop rsi
pop rbx
pop rbp
ret