Function at 0x42e300
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 0x68], 0
lea rax, [rbp - 0x68]
mov qword [rbp - 0x20], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x28], 0x100
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.0042d106
jmp 0x42e39d
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.0042d0ee
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
mov eax, dword [rax + 8]
cmp eax, 5
jne 0x42e391
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
mov eax, dword [rax + 0x70]
mov eax, eax
cmp qword [rbp - 8], rax
jae 0x42e391
mov rax, qword [rbp - 0x60]
mov eax, dword [rax + 0x70]
mov eax, eax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.0042d02f
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.0042cdeb
test eax, eax
je 0x42e345
mov qword [rbp - 0x18], 0
jmp 0x42e53c
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rbp - 0x18]
shl rdx, 3
add rax, rdx
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.0042c94a
mov qword [rbp - 0x38], rax
cmp qword [rbp - 0x38], 0
je 0x42e537
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 8]
mov qword [rbp - 0x10], rax
jmp 0x42e52c
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
cmp rdx, rax
je 0x42e520
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov rdx, qword [rax + 0x68]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x68]
cmp rdx, rax
jne 0x42e520
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x42e520
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x42e520
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
add rax, rdx
add rax, 3
and rax, 0xfffffffffffffffc
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x60]
and rax, 0xfffffffffffffffc
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x40]
cmp rax, qword [rbp - 0x48]
jae 0x42e500
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x30
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x60
mov r9, rax
mov r8d, 0x29
mov edx, 1
lea rcx, str.Warning:_l32r_target_section_before_l32r_n
call sub.msvcrt.dll_fwrite
mov rax, qword [sym.imp.msvcrt.dll___iob_func]
call rax
add rax, 0x60
mov rcx, rax
call sub.msvcrt.dll_fflush
mov eax, 0
jmp 0x42e552
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
mov rdx, rax
mov eax, 0x40000
sub rax, qword [rbp - 0x28]
cmp rdx, rax
jbe 0x42e520
mov eax, 0
jmp 0x42e552
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x42e404
add qword [rbp - 0x18], 1
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
cmp qword [rbp - 0x18], rax
jb 0x42e3ba
mov eax, 1
add rsp, 0x90
pop rbp
ret