Function at 0x1801235e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x12d0
call fcn.1801339d0
sub rsp, rax
mov rax, qword [0x180161180]
xor rax, rsp
mov qword [rsp + 0x12c0], rax
mov dword [rsp + 0x1288], 0x78
mov qword [rsp + 0x1280], 0xffffffffffffffff
mov dword [rsp + 0x1298], 0
xor eax, eax
mov word [rsp + 0x70], ax
lea rdi, [rsp + 0x72]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, [rsp + 0x280]
mov qword [rsp + 0x1290], rax
lea r8, [0x18005f6c8]
lea rdx, [0x18005fca0]
mov ecx, 1
call fcn.1801276b0
mov rdx, qword [rsp + 0x12e0]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x12e0]
lea r8, [0x18005fc68]
lea rdx, [0x18005fca0]
mov ecx, 2
call fcn.1801276b0
mov r9, qword [rsp + 0x12e8]
lea r8, [0x18005fb28]
lea rdx, [0x18005fca0]
mov ecx, 2
call fcn.1801276b0
mov r9, qword [rsp + 0x12f0]
lea r8, [0x18005faf8]
lea rdx, [0x18005fca0]
mov ecx, 2
call fcn.1801276b0
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x12e0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x1280], rax
cmp qword [rsp + 0x1280], 0xffffffffffffffff
jne 0x180123769
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1288], eax
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x12e0]
lea r8, [0x18005fbe0]
lea rdx, [0x18005fca0]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123a29
lea rdi, [rsp + 0x70]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x12e0]
mov qword [rsp + 0x12a0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x12a8], rax
mov rax, qword [rsp + 0x12a8]
mov qword [rsp + 0x12b0], rax
mov rax, qword [rsp + 0x12a0]
movzx eax, word [rax]
mov word [rsp + 0x12b8], ax
mov rcx, qword [rsp + 0x12a8]
movzx eax, word [rsp + 0x12b8]
mov word [rcx], ax
mov rax, qword [rsp + 0x12a0]
add rax, 2
mov qword [rsp + 0x12a0], rax
mov rax, qword [rsp + 0x12a8]
add rax, 2
mov qword [rsp + 0x12a8], rax
cmp word [rsp + 0x12b8], 0
jne 0x1801237a4
lea rcx, [rsp + 0x70]
call fcn.180132a6c
lea rdx, [0x18005fbc8]
lea rcx, [rsp + 0x70]
call fcn.18013275c
test rax, rax
je 0x180123860
mov dword [rsp + 0x1288], 0
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x12e0]
lea r8, [0x18005fb80]
lea rdx, [0x18005fca0]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123a29
lea rdi, [rsp + 0x280]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1298]
mov r8d, 0x1000
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x1280]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18012390a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1288], eax
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x1298]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x1000
lea rax, [rsp + 0x280]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1280]
lea r8, [0x18005f910]
lea rdx, [0x18005fca0]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123a29
mov eax, dword [rsp + 0x1298]
cmp rax, 0x1000
je 0x180123993
mov dword [rsp + 0x1288], 0x3e4
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], 0x1000
mov eax, dword [rsp + 0x1298]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x1298]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x1000
lea rax, [rsp + 0x280]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1280]
lea r8, [0x18005f8a0]
lea rdx, [0x18005fca0]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123a29
mov r9, qword [rsp + 0x12f0]
mov r8, qword [rsp + 0x12e8]
mov edx, 0x1000
mov rcx, qword [rsp + 0x1290]
call fcn.180127ed0
mov dword [rsp + 0x1288], eax
cmp dword [rsp + 0x1288], 0
je 0x180123a1e
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x12f0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x12e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1000
mov r9, qword [rsp + 0x1290]
lea r8, [0x18005faa0]
lea rdx, [0x18005fca0]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123a29
mov dword [rsp + 0x1288], 0
cmp qword [rsp + 0x1280], 0xffffffffffffffff
je 0x180123a42
mov rcx, qword [rsp + 0x1280]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180123a82
lea r8, [0x18005f618]
lea rdx, [0x18005fca0]
mov ecx, 1
call fcn.1801276b0
mov eax, dword [rsp + 0x1288]
mov rcx, qword [rsp + 0x12c0]
xor rcx, rsp
call fcn.1800eb430
add rsp, 0x12d0
pop rdi
ret