Function at 0x14000bcb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401fa010]
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 0x14000bd39
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 0x14000c0d4
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 0x14000c0d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c0d4
mov rdx, qword [rbx]
mov eax, dword [rdx + rax]
mov qword [rbx + 0x10], rcx
cmp eax, 0x4155464d
jne 0x14000c0d4
lea rax, [rcx + 4]
xor edi, edi
cmp rax, r8
jbe 0x14000bda0
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 0x14000bdaa
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 0x14000bdaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000bdaa
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 0x14000be01
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 0x14000be0f
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 0x14000be0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000be0f
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 0x14000be66
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 0x14000be74
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 0x14000be74
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000be74
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 0x14000becb
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 0x14000bed9
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 0x14000bed9
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000bed9
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 0x14000bf30
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 0x14000bf3e
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 0x14000bf3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000bf3e
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 0x14000bf95
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 0x14000bfa3
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 0x14000bfa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000bfa3
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 0x14000bffa
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 0x14000c008
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 0x14000c008
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c008
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 0x14000c05f
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 0x14000c06d
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 0x14000c06d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c06d
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 0x14000c0c6
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 0x14000c0c2
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 0x14000c0c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x14000c0d6
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.140183d70
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret