Function at 0x1800f9820
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x18026b028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword gs:[0x60]
mov rbx, rcx
test rcx, rcx
jne 0x1800f9855
mov rax, qword [rax + 0x10]
jmp 0x1800f9ae7
mov r10, qword [rax + 0x18]
add r10, 0x20
mov qword [rsp + 0xb8], rdi
xor edi, edi
mov r9, qword [r10]
cmp r9, r10
je 0x1800f98c1
nop
cmp qword [r9 + 0x40], rdi
je 0x1800f98aa
mov rax, qword [r9 + 0x50]
test rax, rax
je 0x1800f98aa
mov r8, rbx
sub r8, rax
nop word [rax + rax]
movsx ecx, word [r8 + rax]
movsx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x1800f98a6
cmp cx, dx
je 0x1800f9890
sub ecx, edx
je 0x1800f98b4
mov r9, qword [r9]
cmp r9, r10
jne 0x1800f9870
jmp 0x1800f98c1
mov rdi, qword [r9 + 0x20]
test rdi, rdi
jne 0x1800f9adc
mov qword [rsp + 0xd8], rbp
mov dl, 3
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xb0], r15
call fcn.1800f8110
mov rsi, rax
lea rdx, [rsp + 0x60]
movabs rax, 0xcaafb99397d36cb0
movabs r15, 0xa88fdcffe2b703dd
mov qword [rsp + 0x30], rax
movabs rbp, 0x56d38fe6495302c6
mov rcx, qword [rsp + 0x30]
movabs rax, 0x76a7e088693671a7
mov qword [rsp + 0x60], rcx
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x9ebdd691461d2de9
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
movabs rcx, 0x1fc33ed49336e6c0
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], rbp
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
movabs rax, 0xbc9decf52868428f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x30]
movdqa xmm1, xmmword [rsp + 0x60]
xorps xmm1, xmmword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x70]
mov qword [rsp + 0x98], rax
movq rax, xmm1
xorps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x70], xmm0
test al, al
je 0x1800f99fb
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x1800f99f0
mov rcx, qword [0x18034cf40]
sub r8d, edx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rbx
mov rcx, rsi
call fcn.1800f8280
mov rsi, qword [rsp + 0xe0]
lea rdx, [rsp + 0x50]
movabs rax, 0xa88fdcffe2b703ff
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r8d, edx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rbp
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov r15, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rbp
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rsp + 0x50], xmm0
test al, al
je 0x1800f9abb
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x1800f9ab0
mov rcx, qword [0x18034cf40]
sub r8d, edx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18015cd30
add rsp, 0xc0
pop rbx
ret