Function at 0x1800a09a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x18026b028]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov ecx, dword [0x180399320]
mov rbx, rdx
mov rax, qword gs:[0x58]
mov rsi, r9
mov r14, qword [rbp + 0x80]
mov rdi, r8
mov edx, 4
movabs r15, 0x73f4d4205539cc18
movabs r12, 0xae6a6acb79e5a82d
movabs r13, 0x4aa42b7a681dcb06
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18039fd08], eax
jle 0x1800a0b0f
lea rcx, [0x18039fd08]
call fcn.18015d060
cmp dword [0x18039fd08], 0xffffffff
jne 0x1800a0b0f
movabs rax, 0xae0f6aa27989a84e
lea rdx, str.48_8B_C4_55_56_48_8D_A8_58_FF_FF_FF_48_81_EC_98_01_00_00_48
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x80]
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
movabs rax, 0x4ac02b546869cb68
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x78], rax
movabs rax, 0x7e5be591cab01723
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
movabs rax, 0x7e5be591cadc174f
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x80]
movdqa xmm1, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x48], rax
xorps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x80], xmm0
call fcn.1800fa0c0
lea rcx, [0x18039fd08]
mov qword [0x18039fcf8], rax
call fcn.18015cff4
mov rax, qword [0x18039fcf8]
test rax, rax
jne 0x1800a0d74
mov dl, 2
call fcn.1800f8110
movabs rax, 0xcd0b189f098cc46e
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x40]
mov r8d, edx
mov qword [rsp + 0x50], rax
movabs rax, 0x2fdd4a1638729f63
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movabs rax, 0xa3a80e3a9fc643d
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
movabs rax, 0x5383b14e755ea271
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
movabs rax, 0xb4b37d2604ab9962
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
movabs rax, 0x55c590f6b2797aef
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x18], rax
movabs rax, 0x7e5be591cadc174f
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp - 8], rax
movabs rax, 0xc6c609476accf011
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp], rax
movabs rax, 0x55c590f6b2795b8a
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movdqa xmm2, xmmword [rsp + 0x50]
xorps xmm2, xmmword [rbp - 0x20]
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp - 0x10]
mov qword [rbp + 8], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp]
movdqa xmmword [rsp + 0x50], xmm2
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x70], xmm1
test al, al
je 0x1800a0c7f
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x1800a0c74
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]
movabs rax, 0xae0f6aa27989a84e
lea rdx, str.48_8B_C4_55_56_48_8D_A8_58_FF_FF_FF_48_81_EC_98_01_00_00_48
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rax, 0x4ac02b546869cb68
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movabs rax, 0x7e5be591cab01723
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x38], rax
movabs rax, 0x7e5be591cadc174f
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmm1, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x28], rax
xorps xmm1, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x50], xmm0
call fcn.1800fa0c0
mov qword [0x18039fcf8], rax
movss xmm0, dword [0x18024d940]
mov r9, r14
cvttss2si r10d, dword [rbp + 0x98]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rbp + 0x88]
mov dword [rsp + 0x28], r10d
movss dword [rsp + 0x20], xmm0
call rax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.18015cd30
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret