Function at 0x140052ed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x4f8]
sub rsp, 0x5f8
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov ecx, dword [0x1401959e8]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + rcx*8]
mov r14d, 0x140
cmp byte [r14 + rsi], r15b
jne 0x140052f38
call fcn.1400ea598
mov edi, 0x10
add rdi, rsi
mov rcx, rdi
call fcn.1400786f0
cmp rax, 0xffffffffffffffff
je 0x1400532a1
xor ecx, ecx
call fcn.1400fe15c
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400fe10c
lea rdx, str._04d__02d__02d__02d:_02d:_02d
test rax, rax
je 0x140052faf
mov r9d, dword [rax + 0x10]
inc r9d
mov r8d, dword [rax + 0x14]
add r8d, 0x76c
mov ecx, dword [rax]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rax + 8]
mov dword [rsp + 0x28], ecx
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x80]
call fcn.1400498c0
jmp 0x140052fd5
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x80]
call fcn.1400498c0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call fcn.1400ec650
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.140020840
nop
cmp byte [r14 + rsi], 0
jne 0x140053001
call fcn.1400ea598
mov rcx, rdi
call fcn.1400786f0
test rax, rax
jne 0x1400530f0
mov rbx, r15
mov r8, rbx
mov rdx, qword [str.MW_DEBUG_LOG__04d.txt]
lea rcx, [rbp + 0xa0]
call fcn.140049920
inc rbx
cmp byte [r14 + rsi], 0
jne 0x14005303a
call fcn.1400ea598
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdx, rax
mov rcx, rdi
call fcn.1400977e0
movzx eax, byte [r14 + rsi]
cmp rbx, 0x64
je 0x1400531a0
test al, al
jne 0x140053089
call fcn.1400ea598
mov rcx, rdi
call fcn.1400786f0
test rax, rax
je 0x140053015
cmp byte [r14 + rsi], 0
jne 0x1400530a6
call fcn.1400ea598
mov rcx, rdi
call fcn.1400786f0
cmp rax, 0xffffffffffffffff
je 0x140053015
lea rdx, [0x140134868]
lea rcx, [rbp - 0x70]
call fcn.1400104a0
mov rcx, rax
lea rdx, [rbp + 0x80]
call fcn.1400104a0
mov rcx, rax
mov dl, 9
call fcn.140052b90
mov rcx, rax
lea rdx, str._Log_start__r_n
call fcn.1400104a0
lea rbx, [rbp + 0x538]
call fcn.14000ad30
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
mov r9, qword [rbp + 0x530]
mov r8d, 0x400
lea rdx, [rbp + 0xe0]
mov rcx, qword [rax]
call fcn.1400fc084
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x70]
call fcn.1400104a0
mov rcx, rax
mov dl, 9
call fcn.140052b90
mov rcx, rax
lea rdx, [rbp + 0xe0]
call fcn.1400104a0
mov rcx, rax
lea rdx, [0x140134868]
call fcn.1400104a0
nop
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x40], 2
mov rcx, qword [rbp + 8]
test cl, 2
jne 0x1400531bd
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x1400531bd
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x1400531e2
test al, al
jne 0x1400531a9
call fcn.1400ea598
mov rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400977e0
jmp 0x140053298
test cl, 4
jne 0x1400531ed
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400531ed
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x48]
call fcn.140009b00
nop
cmp byte [r14 + rsi], 0
jne 0x1400531f9
call fcn.1400ea598
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rbx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400786f0
mov rcx, rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x58]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14005324c
cmp byte [r14 + rsi], al
jne 0x14005323c
call fcn.1400ea598
mov rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400977e0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140053285
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053280
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400532c0
call fcn.1400e9cd4
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x80]
call fcn.14001ff40
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1400e9cb0
add rsp, 0x5f8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400f8ad4
nop
int3