Function at 0x14000c7c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rsi, rdx
mov r8, qword [rbx + 8]
lea rcx, [rax + 4]
cmp rcx, r8
jbe 0x14000c849
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edi, edi
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000cbe4
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 0x21]
mov rcx, rax
lea rdx, str.Buffer_underflow_reading_uint32_t
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000cbe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000cbe4
mov rdx, qword [rbx]
mov eax, dword [rdx + rax]
mov qword [rbx + 0x10], rcx
cmp eax, 0x4155464d
jne 0x14000cbe4
lea rax, [rcx + 4]
xor edi, edi
cmp rax, r8
jbe 0x14000c8b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000c8ba
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 0x21]
mov rcx, rax
lea rdx, str.Buffer_underflow_reading_uint32_t
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000c8ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c8ba
mov eax, dword [rcx + rdx]
mov dword [rsi], eax
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000c911
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000c91f
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000c91f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c91f
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 8], ecx
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000c976
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000c984
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000c984
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c984
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 0xc], ecx
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000c9db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000c9e9
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000c9e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c9e9
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 0x10], ecx
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000ca40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000ca4e
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000ca4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ca4e
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 0x14], ecx
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000caa5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000cab3
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000cab3
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000cab3
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 0x18], ecx
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000cb0a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000cb18
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000cb18
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000cb18
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 0x1c], ecx
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000cb6f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000cb7d
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000cb7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000cb7d
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 0x20], ecx
add qword [rbx + 0x10], 4
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + 4]
cmp rax, qword [rbx + 8]
jbe 0x14000cbd6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
cmp rax, 0xffffffffffffffff
je 0x14000cbd2
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x21
lea rdx, str.Buffer_underflow_reading_uint32_t
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000cbd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x14000cbe6
mov rax, qword [rbx]
mov ecx, dword [rcx + rax]
mov dword [rsi + 0x24], ecx
add qword [rbx + 0x10], 4
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14019ce50
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret