Function at 0x180123100
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, 0x11d0
call fcn.1801339d0
sub rsp, rax
mov rax, qword [0x180161180]
xor rax, rsp
mov qword [rsp + 0x11c8], rax
mov dword [rsp + 0x1078], 0x78
mov qword [rsp + 0x1070], 0xffffffffffffffff
mov dword [rsp + 0x11a0], 0
mov byte [rsp + 0x1090], 0
lea rdi, [rsp + 0x1091]
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov qword [rsp + 0x1080], rax
lea r8, [0x18005f6c8]
lea rdx, [0x18005fb58]
mov ecx, 1
call fcn.1801276b0
mov rdx, qword [rsp + 0x11e0]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x11e0]
lea r8, [0x18005fa38]
lea rdx, [0x18005fb58]
mov ecx, 2
call fcn.1801276b0
mov r9, qword [rsp + 0x11e8]
lea r8, [0x18005fb28]
lea rdx, [0x18005fb58]
mov ecx, 2
call fcn.1801276b0
mov r9, qword [rsp + 0x11f0]
lea r8, [0x18005faf8]
lea rdx, [0x18005fb58]
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 + 0x11e0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x1070], rax
cmp qword [rsp + 0x1070], 0xffffffffffffffff
jne 0x18012328a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1078], eax
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x11e0]
lea r8, [0x18005f9b0]
lea rdx, [0x18005fb58]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123547
lea rdi, [rsp + 0x1090]
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x11e0]
mov qword [rsp + 0x11a8], rax
lea rax, [rsp + 0x1090]
mov qword [rsp + 0x11b0], rax
mov rax, qword [rsp + 0x11b0]
mov qword [rsp + 0x11b8], rax
mov rax, qword [rsp + 0x11a8]
movzx eax, byte [rax]
mov byte [rsp + 0x11c0], al
mov rcx, qword [rsp + 0x11b0]
movzx eax, byte [rsp + 0x11c0]
mov byte [rcx], al
mov rax, qword [rsp + 0x11a8]
add rax, 1
mov qword [rsp + 0x11a8], rax
mov rax, qword [rsp + 0x11b0]
add rax, 1
mov qword [rsp + 0x11b0], rax
cmp byte [rsp + 0x11c0], 0
jne 0x1801232cb
lea rcx, [rsp + 0x1090]
call fcn.1800eb220
lea rdx, [0x18005f9a8]
lea rcx, [rsp + 0x1090]
call fcn.1800eae7c
test rax, rax
je 0x18012338a
mov dword [rsp + 0x1078], 0
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x11e0]
lea r8, [0x18005f960]
lea rdx, [0x18005fb58]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123547
lea rdi, [rsp + 0x70]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x11a0]
mov r8d, 0x1000
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18012342b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1078], eax
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x11a0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x1000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1070]
lea r8, [0x18005f910]
lea rdx, [0x18005fb58]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123547
mov eax, dword [rsp + 0x11a0]
cmp rax, 0x1000
je 0x1801234b1
mov dword [rsp + 0x1078], 0x3e4
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], 0x1000
mov eax, dword [rsp + 0x11a0]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x11a0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x1000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1070]
lea r8, [0x18005f8a0]
lea rdx, [0x18005fb58]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123547
mov r9, qword [rsp + 0x11f0]
mov r8, qword [rsp + 0x11e8]
mov edx, 0x1000
mov rcx, qword [rsp + 0x1080]
call fcn.180127ed0
mov dword [rsp + 0x1078], eax
cmp dword [rsp + 0x1078], 0
je 0x18012353c
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1078]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x11f0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x11e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1000
mov r9, qword [rsp + 0x1080]
lea r8, [0x18005faa0]
lea rdx, [0x18005fb58]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180123547
mov dword [rsp + 0x1078], 0
cmp qword [rsp + 0x1070], 0xffffffffffffffff
je 0x180123560
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801235a0
lea r8, [0x18005f618]
lea rdx, [0x18005fb58]
mov ecx, 1
call fcn.1801276b0
mov eax, dword [rsp + 0x1078]
mov rcx, qword [rsp + 0x11c8]
xor rcx, rsp
call fcn.1800eb430
add rsp, 0x11d0
pop rdi
ret