Function at 0x1400010f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x14006bbc0]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor r12d, r12d
mov rsi, rcx
cmp qword [0x140097010], r12
jne 0x14000147f
lea rax, str.GlobalS7SDD_SharedListTrace
mov rdx, rcx
lea r8d, [r12 + 4]
mov qword [rsp + 0x28], rax
mov ebx, 0x1aa42c
xor r9d, r9d
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
lea edi, [r12 + 1]
lea r14d, [r12 + 2]
mov qword [0x140097010], rax
mov r15d, 0x200
cmp rax, r12
je 0x14000128b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140097010]
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x14006e308], rax
cmp word [0x14006b015], r12w
je 0x14000120c
lea r8, str.Shmem_f
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.1400253f4
mov rcx, qword [0x140097028]
mov r9d, r14d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x30]
call fcn.140025290
mov rcx, qword [0x140097028]
lea r9, [0x14006e304]
lea rdx, [rsp + 0x30]
mov r8, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14006e308]
cmp rcx, r12
je 0x140001297
mov r8, rbx
xor edx, edx
call fcn.140025190
cmp word [0x14006b015], r12w
je 0x140001280
lea r8, [0x140056c08]
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.1400253f4
mov rcx, qword [0x140097028]
mov r9d, r14d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x30]
call fcn.140025290
mov rcx, qword [0x140097028]
lea r9, [0x14006e304]
lea rdx, [rsp + 0x30]
mov r8, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [0x14006e308]
add dword [rax], edi
jmp 0x140001297
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14006e300], eax
cmp r12w, word [0x14006b011]
movzx ebx, r12w
jge 0x140001471
lea r13, [0x14006e310]
movsx ebp, bx
lea rdx, [rsp + 0x340]
mov r9d, 0xa
mov ecx, ebp
mov r8d, 0x104
call fcn.140024fdc
lea r9, [rsp + 0x340]
lea r8, str.GlobalS7SDD_SharedQueueTrace__s
lea rcx, [rsp + 0x230]
mov edx, 0x104
call fcn.1400253f4
mov r11d, dword [0x14006b00d]
xor r9d, r9d
lea rax, [rsp + 0x230]
add r11d, 0x16
lea r8d, [r9 + 4]
mov qword [rsp + 0x28], rax
mov rdx, rsi
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
movsx rcx, bx
lea rdi, [rcx + rcx*2]
mov qword [r13 + rdi*8 + 8], rax
cmp rax, r12
je 0x140001461
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [r13 + rdi*8 + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [r13 + rdi*8], rax
cmp word [0x14006b015], r12w
je 0x1400013bb
lea r8, [0x140056bb8]
lea rcx, [rsp + 0x30]
mov r9d, ebp
mov rdx, r15
call fcn.1400253f4
mov rcx, qword [0x140097028]
mov r9d, r14d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x30]
call fcn.140025290
mov rcx, qword [0x140097028]
lea r9, [0x14006e304]
lea rdx, [rsp + 0x30]
mov r8, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [r13 + rdi*8]
cmp rcx, r12
je 0x140001461
mov r8d, dword [0x14006b00d]
xor edx, edx
add r8, 0x16
call fcn.140025190
mov r11, qword [r13 + rdi*8]
mov word [r11], bx
mov rcx, qword [r13 + rdi*8]
mov al, byte [0x14006b00c]
mov byte [rcx + 0xf], al
mov rcx, qword [r13 + rdi*8]
mov eax, dword [0x14006b00d]
mov dword [rcx + 0xb], eax
cmp word [0x14006b015], r12w
je 0x140001461
lea r8, [0x140056b90]
lea rcx, [rsp + 0x30]
mov r9d, ebp
mov rdx, r15
call fcn.1400253f4
mov rcx, qword [0x140097028]
mov r9d, r14d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x30]
call fcn.140025290
mov rcx, qword [0x140097028]
lea r9, [0x14006e304]
lea rdx, [rsp + 0x30]
mov r8, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc bx
cmp bx, word [0x14006b011]
jl 0x1400012b0
mov rax, qword [0x14006e308]
mov dword [rax + 4], 0x12345678
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140025570
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret