Function at 0x140006760
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x14006bbc0]
xor rax, rsp
mov qword [rsp + 0x440], rax
movsx r13, cx
xor r14d, r14d
mov qword [rsp + 0x38], rdx
movzx ecx, r13w
mov ebp, r14d
mov dword [rsp + 0x30], r14d
call fcn.140004ea4
mov rax, qword [0x14006e308]
mov rsi, r13
imul rsi, rsi, 0x69a
cmp r14w, word [rsi + rax + 0x69e]
movzx ebx, r14w
lea rcx, [0x140000000]
lea edi, [r14 + 1]
jge 0x1400068ed
movzx edx, bx
movzx ecx, r13w
call fcn.140001ad8
lea rcx, [0x140000000]
mov r11, rax
movsx rax, bx
imul rax, rax, 0x98
mov qword [rax + rcx + 0x6e538], r11
cmp r11, r14
jne 0x1400068bd
lea rdx, [rax + rcx + 0x6e4b8]
lea rcx, [rsp + 0x240]
call fcn.140001a50
mov r11, qword [0x14006e308]
cmp word [r11 + 0x1aa415], r14w
je 0x14000688e
lea r9, [rsp + 0x240]
lea r8, str._r_n__OpenTraceWriter__DLL_konnte_NICHT_GELADEN_werden_f
lea rcx, [rsp + 0x40]
mov edx, 0x200
call fcn.1400253f4
mov rcx, qword [0x140097028]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x40]
call fcn.140025290
mov rcx, qword [0x140097028]
lea r9, [0x14006e304]
lea rdx, [rsp + 0x40]
mov r8, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x240]
mov r8d, edi
mov ecx, edi
mov edx, 0xc0001009
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call fcn.140002ac0
mov ebp, 0xffffffed
lea rcx, [0x140000000]
jmp 0x1400068d5
movsx rax, word [rax + rcx + 0x6e544]
imul rax, rax, 0x2098
mov qword [rax + rcx + 0x715ac], r11
mov rax, qword [0x14006e308]
add bx, di
cmp bx, word [rsi + rax + 0x69e]
jl 0x1400067d5
mov rax, qword [0x14006e308]
movzx r12d, r14w
cmp r14w, word [rsi + rax + 0x69e]
movzx r15d, word [rsi + rax + 0x416]
jge 0x140006bf4
mov edx, edi
movsx rbx, r12w
mov rdi, rbx
imul rdi, rdi, 0x98
cmp qword [rdi + rcx + 0x6e538], r14
je 0x140006bda
lea r9, [0x140092df0]
lea r8, [0x140092310]
movzx edx, r12w
movzx ecx, r13w
call fcn.140001614
mov ebp, eax
cmp eax, r14d
je 0x140006a13
lea rax, [0x140000000]
lea rcx, [rsp + 0x240]
lea rdx, [rdi + rax + 0x6e4b8]
call fcn.140001a50
mov r11, qword [0x14006e308]
cmp word [r11 + 0x1aa415], r14w
je 0x1400069e2
lea r9, [rsp + 0x240]
lea r8, str._r_n_FEHLER_beim_Zusammenstellen_der_Open_Parameter_f
lea rcx, [rsp + 0x40]
mov edx, 0x200
call fcn.1400253f4
mov rcx, qword [0x140097028]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x40]
call fcn.140025290
mov rcx, qword [0x140097028]
lea r9, [0x14006e304]
lea rdx, [rsp + 0x40]
mov r8, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
lea rax, [rsp + 0x240]
lea r9, str.Open_Trace_Writer
lea r8d, [rcx + 1]
mov edx, 0xc000100a
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140002ac0
jmp 0x140006bce
mov rdx, qword [rsp + 0x38]
mov eax, 1
lea r9, [0x1400021b4]
add dword [0x14006e2c0], eax
lea rax, [0x140000000]
lea rcx, [0x140092310]
lea r14, [rdi + rax + 0x6e4b0]
mov rax, qword [rdi + rax + 0x6e538]
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [rax + 8]
mov ebp, eax
test eax, eax
je 0x140006b2e
lea rax, [0x140000000]
lea rcx, [rsp + 0x240]
lea rdx, [rdi + rax + 0x6e4b8]
call fcn.140001a50
mov r11, qword [0x14006e308]
xor r14d, r14d
cmp word [r11 + 0x1aa415], r14w
je 0x140006aec
lea r9, [rsp + 0x240]
lea r8, str._r_n___Fehler_beim_Open_des_TraceWriters__s___r_n
lea rcx, [rsp + 0x40]
mov edx, 0x200
call fcn.1400253f4
mov rcx, qword [0x140097028]
lea r9d, [r14 + 2]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x40]
call fcn.140025290
mov rcx, qword [0x140097028]
lea r9, [0x14006e304]
lea rdx, [rsp + 0x40]
mov r8, rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
lea rax, [rsp + 0x240]
lea r9, str.Open_Trace_Writer
lea r8d, [rcx + 1]
mov edx, 0xc000100b
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140002ac0
mov edx, 1
sub dword [0x14006e2c0], edx
dec dword [0x14009244f]
jmp 0x140006bd3
mov rax, qword [0x14006e308]
mov r9d, dword [r14]
lea r14, [0x140000000]
movsx rcx, word [rsi + rax + 0x416]
lea rax, [0x140000000]
movzx r8d, r15w
movzx edx, r13w
imul rcx, rcx, 0x116
add rcx, rbx
movsx rbx, word [rax + rcx*2 + 0x6f45e]
imul rbx, rbx, 0x2098
lea rcx, [rbx + r14 + 0x71524]
mov dword [rbx + r14 + 0x715b4], r9d
call fcn.1400025a0
mov rax, qword [0x14006e308]
mov r11, qword [rdi + r14 + 0x6e538]
movsx r8d, word [rax + 0x1aa415]
mov ecx, dword [rbx + r14 + 0x715b4]
mov edx, 3
call qword [r11 + 0x20]
mov r14d, dword [rsp + 0x30]
xor eax, eax
lea ecx, [rax + 1]
cmp r14d, eax
cmove r14d, ecx
add word [0x1400922c0], cx
mov dword [rsp + 0x30], r14d
xor r14d, r14d
mov edx, 1
lea rcx, [0x140000000]
mov rax, qword [0x14006e308]
add r12w, dx
cmp r12w, word [rsi + rax + 0x69e]
jl 0x140006912
mov eax, ebp
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140025570
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret