Function at 0x18006c5b0
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18006ca71
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xf8
mov rax, qword [0x180179040]
xor rax, rsp
mov qword [rbp + 7], rax
mov rax, qword [0x18017bda0]
mov rbx, rcx
shl rax, 5
mov rsi, r8
add rax, qword [0x18017a078]
mov rdi, rdx
movaps xmmword [rsp + 0xe0], xmm7
cmp qword [rax + 0x10], 8
lea rcx, [rax + 0x18]
jbe 0x18006c608
mov rcx, qword [rcx]
cmp byte [rcx], 0
je 0x18006c91f
mov r8, qword [r8 + 0x18]
movss xmm1, dword [r8 + 0x18]
lea rcx, [r8 + 0x18]
movd eax, xmm1
mov qword [rsp + 0xf0], r14
and eax, 0x7f800000
cmp eax, 0x7f800000
setne al
cmp al, 1
jne 0x18006c713
mov eax, dword [rcx + 4]
and eax, 0x7f800000
cmp eax, 0x7f800000
setne al
cmp al, 1
jne 0x18006c713
mov eax, dword [rcx + 8]
and eax, 0x7f800000
cmp eax, 0x7f800000
setne al
cmp al, 1
jne 0x18006c713
movss xmm0, dword [0x180161f10]
comiss xmm0, xmm1
mov dword [rsp + 0x30], 0x42b20000
ja 0x18006c699
comiss xmm1, dword [0x180161e60]
lea rax, [rsp + 0x30]
cmovbe rax, rcx
movss xmm0, dword [rax]
movss dword [rcx], xmm0
lea rdx, [rcx + 4]
movss xmm1, dword [rdx]
movss xmm0, dword [0x180161f18]
comiss xmm0, xmm1
mov dword [rsp + 0x30], 0x43340000
ja 0x18006c6ce
comiss xmm1, dword [0x180161e7c]
lea rax, [rsp + 0x30]
cmovbe rax, rdx
movss xmm0, dword [rax]
add rcx, 8
movss dword [rdx], xmm0
movss xmm0, dword [0x180161f0c]
mov dword [rsp + 0x30], 0x42340000
movss xmm1, dword [rcx]
comiss xmm0, xmm1
ja 0x18006c703
comiss xmm1, dword [0x180161e48]
lea rax, [rsp + 0x30]
cmovbe rax, rcx
movss xmm0, dword [rax]
xor r14d, r14d
movss dword [rcx], xmm0
mov dword [r8 + 0x20], r14d
jmp 0x18006c917
xor r14d, r14d
mov dl, 2
mov qword [rcx], r14
mov dword [rcx + 8], r14d
call fcn.1800755f0
movabs rax, 0xfeefea0e537c80c1
movabs rcx, 0x4f1def41296578a2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x79], rax
movabs rax, 0x7996b94783d07760
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x71], rax
movabs rax, 0x6008b625024cc9f9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x69], rax
movabs rax, 0xf7329d8b6a415ee1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x61], rax
movabs rax, 0x40658ccfe0dc22b7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x59], rax
movabs rax, 0x13a105927b39c32c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x51], rax
movabs rax, 0x67469a3042c373a8
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, 0x99818b2e2419e9b7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x39], rax
movabs rax, 0x1ce0d82fa3a3120c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x31], rax
movabs rax, 0x328f8444c6ca8d9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x29], rax
movabs rax, 0x835cf8e50531338e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x21], rax
movabs rax, 0x2113acaa88a8029b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x19], rax
movabs rax, 0x618176fb5b5cb640
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x11], rax
movabs rax, 0x67469a3036a600cd
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]
xorps xmm0, xmmword [rbp - 0x29]
movdqa xmm2, xmmword [rbp - 0x79]
movdqa xmm1, xmmword [rbp - 0x59]
xorps xmm2, xmmword [rbp - 0x39]
xorps xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm0, xmmword [rbp - 0x49]
mov qword [rbp - 1], rax
xorps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmmword [rbp - 0x79], xmm2
movdqa xmmword [rbp - 0x59], xmm1
movq rax, xmm2
lea rdx, [rbp - 0x79]
mov r8d, edx
test al, al
je 0x18006c8fb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x18006c8f0
mov rcx, qword [0x180179ed8]
sub r8d, edx
lea rdx, [rbp - 0x79]
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r14, qword [rsp + 0xf0]
lea r8, [0x18017b6d0]
mov rdx, rsi
mov rcx, rdi
call fcn.18006ca80
mov rax, qword [rbx + 0x50]
xorps xmm7, xmm7
mov qword [rbx + 0x50], rax
movss xmm0, dword [rdi + 0x50]
comiss xmm0, xmm7
jbe 0x18006c94c
or rax, 8
jmp 0x18006c955
comiss xmm7, xmm0
jbe 0x18006c959
or rax, 0x10
mov qword [rbx + 0x50], rax
movss xmm0, dword [rdi + 0x54]
comiss xmm0, xmm7
jbe 0x18006c96a
bts rax, 8
jmp 0x18006c974
comiss xmm7, xmm0
jbe 0x18006c978
bts rax, 7
mov qword [rbx + 0x50], rax
mov rax, qword [rsi + 0x18]
movss xmm2, dword [rax + 0x18]
ucomiss xmm2, xmm7
jp 0x18006c9a4
jne 0x18006c9a4
movss xmm0, dword [rax + 0x1c]
ucomiss xmm0, xmm7
jp 0x18006c9a4
jne 0x18006c9a4
movss xmm1, dword [rax + 0x20]
ucomiss xmm1, xmm7
jp 0x18006c9a4
je 0x18006ca52
subss xmm2, dword [0x18017b6d0]
movss xmm1, dword [0x180161e94]
movaps xmmword [rsp + 0xd0], xmm8
movaps xmm0, xmm2
call fcn.1800e7534
mov rax, qword [rsi + 0x18]
movaps xmm8, xmm0
movss xmm1, dword [0x180161e94]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [0x18017b6d4]
call fcn.1800e7534
mov rcx, qword [0x18017b870]
movaps xmm2, xmm0
mov rax, qword [0x18017b858]
movss xmm3, dword [rcx + 0x40]
mov rcx, qword [0x18017b868]
movss xmm1, dword [rcx + 0x40]
ucomiss xmm1, xmm7
jp 0x18006ca18
jne 0x18006ca18
movss xmm1, dword [0x180161d6c]
xorps xmm2, xmmword [0x180162070]
movaps xmm0, xmm1
mulss xmm0, dword [rax + 0x40]
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 [rdi + 0x68], ecx
movsx ecx, ax
mov dword [rdi + 0x6c], ecx
movaps xmm7, xmmword [rsp + 0xe0]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800da510
add rsp, 0xf8
pop rdi
pop rsi
pop rbx
pop rbp
ret