Function at 0x18004c910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1800ad828]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov edi, edx
mov qword [rsp + 0x68], r8
mov rdx, rcx
mov qword [rsp + 0x70], rcx
lea r13d, [rdi - 0x12]
cmp edi, r13d
jbe case.0x18004c9af.99
movzx r9d, byte [rsp + 0x38]
lea rcx, [0x180000000]
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov dword [rsp + 0x30], r9d
xor ebx, ebx
lea eax, [rdi - 0x43]
lea r11, [0x18009bcd0]
lea r10, [0x18009bccc]
cmp eax, 0x21
ja case.default.0x18004c9af
mov ecx, dword [rcx + rax*4 + 0x4cea0]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov r8d, dword [rsp + 0x50]
mov edx, 1
mov rcx, r12
call fcn.180084240
lea r8, [0x18004e370]
mov edx, 6
mov rcx, r12
call fcn.180084240
jmp 0x18004ce37
mov rax, qword [r8]
mov rcx, qword [r8 + 8]
cmp rax, rcx
je 0x18004ca02
mov edx, dword [rdx]
nop word [rax + rax]
cmp dword [rax + 8], edx
je 0x18004ce74
add rax, 0x10
cmp rax, rcx
jne 0x18004c9f0
mov qword [rsp + 0x58], rbx
jmp case.0x18004c9af.83
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x18004ca6d
nop dword [rax]
mov r9, r14
lea rcx, [rbp - 0x70]
mov edx, 1
mov r8d, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea r9, [rbp - 0x70]
mov dword [rsp + 0x28], 0x15
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], rax
xor edx, edx
mov qword [rsp + 0x20], r12
xor ecx, ecx
call fcn.18007d9c0
test eax, eax
jne 0x18004ca6d
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x18004ca20
mov edi, 0x47
jmp 0x18004ce37
cmp rsi, 4
jbe 0x18004cadd
lea r8, [rsi + r15]
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx - 3]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x18004caab
cmp rcx, 4
jne 0x18004ca90
mov r9b, 0x2c
jmp 0x18004cad8
mov rcx, rbx
nop
movzx edx, byte [r8 + rcx - 3]
inc rcx
movzx eax, byte [r11 + rcx - 1]
sub edx, eax
jne 0x18004cac9
cmp rcx, 4
jne 0x18004cab0
test edx, edx
movzx r9d, r9b
mov eax, 9
cmove r9d, eax
mov dword [rsp + 0x30], r9d
mov ecx, 2
movsx ebx, r9b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800ad9c8]
lea rdx, str.produced_excessive_output
mov rcx, rax
mov r9d, ebx
call fcn.180092630
jmp 0x18004ce37
lea r8, [0x18004dfe0]
mov edx, 0xb
mov rcx, r12
call fcn.180084240
jmp 0x18004ce37
lea rax, [0x18004e310]
mov byte [rsp + 0x38], r9b
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x38]
lea rax, [0x18004e340]
xor r8d, r8d
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x78]
lea rax, [rsp + 0x60]
mov ecx, 0x9e
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.18004f100
mov r12, rax
test rax, rax
jne 0x18004ce37
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800ad9c8]
lea rdx, str.FindNextVolumeMountPointWStub
mov rcx, rax
call fcn.180092630
mov dword [rsp + 0x40], 1
lea edi, [r12 + 0x45]
jmp 0x18004ce37
lea rax, str.example
mov dword [rsp + 0x44], ebx
mov qword [0x1800ad9c8], rax
jmp case.0x18004c9af.83
mov r15, qword [rdx + 8]
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
je 0x18004ce37
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800ad9c8]
lea rdx, str._____msg.vmui.menu.view_View
mov rcx, rax
mov r9, r15
call fcn.180092630
mov dword [rsp + 0x40], 1
mov edi, 0x45
jmp 0x18004ce37
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18004cc23
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r9d, dword [rsp + 0x30]
test r12, r12
je case.0x18004c9af.83
xor r9d, r9d
mov r8, r12
xor edx, edx
mov ecx, 0xd3
call fcn.18006f8f0
jmp 0x18004ce37
mov ecx, dword [r8]
xor eax, eax
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea eax, [rcx - 1]
cmp eax, 2
ja 0x18004ccd6
cmp ecx, 3
jne 0x18004ccc9
mov rbx, qword [rdx + 8]
add rdx, 8
mov qword [rsp + 0x70], rdx
cmp byte [rbx], 0x2d
jne 0x18004cc8b
cmp byte [rbx + 1], 0x6e
jne 0x18004cc8b
cmp byte [rbx + 2], 0
jne 0x18004cc8b
mov dword [rsp + 0x50], 0
mov eax, ecx
jmp 0x18004ccc4
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800ad9c8]
lea rdx, str.ws8pn3wUTxaef_xz16IeRg
mov rcx, rax
mov r9, rbx
call fcn.180092630
mov r8, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x30]
mov dword [rsp + 0x44], 1
mov eax, dword [r8]
dec eax
mov dword [r8], eax
cmp dword [rsp + 0x44], 0
je case.0x18004c9af.83
jmp 0x18004cce0
mov dword [rsp + 0x44], 1
nop
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800ad9c8]
lea rdx, str.CNVI2ExtensionLoader::Activate
mov rcx, rax
call fcn.180092630
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str._ERROR:_invalid_gid__s
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov dword [rsp + 0x40], 1
mov edi, 0x45
jmp 0x18004ce37
mov dword [rsp + 0x40], ebx
mov r15, rbx
mov r14, rbx
jmp case.0x18004c9af.83
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rbp - 0x80]
lea rdx, str.FILE_NO_COMPRESSION
mov r8, qword [0x1800ad9c8]
mov rcx, rax
call fcn.180092630
mov edi, 0x45
jmp 0x18004ce37
mov r9b, 9
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x30], r9d
mov r12, rbx
jmp case.0x18004c9af.83
mov qword [rbp - 0x78], rbx
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [r15 + rsi], 0
jne 0x18004cd90
jmp case.0x18004c9af.83
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor r9d, r9d
mov dword [rsp + 0x28], 0x15
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x20], r12
xor ecx, ecx
mov r14, rbx
call fcn.18007d9c0
jmp 0x18004ce37
lea rdx, [0x180097fac]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
test rax, rax
jne 0x18004ce2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
lea ecx, [r14 + 2]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [0x1800ad9c8]
lea rdx, str.experimental_guard_cannot_be_invoked
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9, r15
call fcn.180092630
mov dword [rsp + 0x40], 1
lea edi, [r14 + 0x45]
jmp 0x18004ce37
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], ebx
mov r9d, dword [rsp + 0x30]
lea rcx, [0x180000000]
dec edi
cmp edi, r13d
jbe case.0x18004c9af.99
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x18004c982
test r14, r14
je 0x18004ce67
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.180092fc0
mov rbx, qword [rsp + 0x4e8]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret