Function at 0x443900
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov dword [rbp + 0x44], r8d
mov qword [rbp + 0x48], r9
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb8]
mov edx, dword [rax]
call fcn.004438d0
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
mov edx, dword [rbp + 0x44]
mov edx, edx
xor r8, r8
call fcn.004069b0
mov dword [rbp + 0x54], 0
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x38]
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x443996
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov r8d, dword [rbp + 0x44]
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
mov eax, dword [rbp + 0x54]
sub eax, 1
jmp 0x4439a1
sub eax, 1
test eax, eax
jl 0x4439b8
mov rcx, qword [rbp + 0xc0]
mov rcx, qword [rcx]
movsxd rdx, eax
cmp byte [rcx + rdx], 0
je 0x44399e
add eax, 1
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 0
jne 0x443a7a
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 1
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 2
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 3
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 4
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 5
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xb8]
add dword [rax], 6
jmp 0x443de8
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x44], eax
xor ebx, ebx
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0xc8]
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x28], rax
call fcn.00435680
jmp 0x443bb7
cmp bl, 0xff
jne 0x443b73
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 1
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 2
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 3
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 4
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 5
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xb8]
add dword [rax], 6
jmp 0x443de8
add bl, 1
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0xb0]
call fcn.00443310
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0xc8]
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x28], rax
call fcn.00435680
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xc8]
mov rcx, qword [rcx]
movzx rax, byte [rax]
cmp al, byte [rcx]
je 0x443ab8
mov dword [rbp + 0x54], 0
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x38]
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointerEx
test al, al
je 0x443c1f
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
mov r8d, dword [rbp + 0x44]
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
cmp dword [rbp + 0x54], 0
jne 0x443cdb
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 1
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 2
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 3
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 4
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 5
mov ecx, ecx
mov byte [rax + rcx], 0
mov rax, qword [rbp + 0xb8]
add dword [rax], 6
jmp 0x443de8
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x44], eax
lea rcx, [rbp + 0x58]
mov edx, dword [rbp + 0x44]
call fcn.004306d0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
mov rdx, qword [rbp + 0xc0]
mov rdx, qword [rdx]
movzx rdx, byte [rdx]
mov byte [rax + rcx], dl
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 1
mov ecx, ecx
mov rdx, qword [rbp + 0xc0]
mov rdx, qword [rdx]
mov r8d, dword [rbp + 0x44]
sub r8d, 1
mov r8d, r8d
movzx rdx, byte [rdx + r8]
mov byte [rax + rcx], dl
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 2
mov ecx, ecx
mov byte [rax + rcx], bl
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rbp + 0x58]
movzx rdx, byte [rdx + 1]
mov byte [rax + rcx], dl
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 4
mov ecx, ecx
mov rdx, qword [rbp + 0x58]
movzx rdx, byte [rdx + 2]
mov byte [rax + rcx], dl
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xb8]
mov ecx, dword [rcx]
add ecx, 5
mov ecx, ecx
mov rdx, qword [rbp + 0x58]
movzx rdx, byte [rdx + 3]
mov byte [rax + rcx], dl
mov rax, qword [rbp + 0xb8]
add dword [rax], 6
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0042eec0]
call fcn.00410600
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0042eec0]
call fcn.00410600
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret