Function at 0x14001157d
Capabilities:
Read file on windows

Disassembly:
jmp 0x140016900
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x18f8
call fcn.14001110e
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4b6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1918]
mov rax, qword [0x140027068]
xor rax, rbp
mov qword [rbp + 0x18c0], rax
lea rcx, [0x14002d59e]
call fcn.140011672
lea rdx, [0x140023138]
mov rcx, qword [rbp + 0x18f0]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140016987
mov eax, 6
jmp 0x140016e97
cmp dword [rbp + 0x1908], 0
je 0x1400169a3
xor r8d, r8d
mov edx, dword [rbp + 0x1908]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 4
lea rcx, [0x1400274c8]
call qword [sym.imp.ucrtbased.dll_fread]
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 4
lea rcx, [0x1400274cc]
call qword [sym.imp.ucrtbased.dll_fread]
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 4
lea rcx, [0x1400274d0]
call qword [sym.imp.ucrtbased.dll_fread]
movsxd rax, dword [0x1400274c8]
mov qword [rbp + 0x1848], rax
mov rcx, qword [rbp + 0x1848]
call fcn.1400112ad
mov qword [rbp + 0x1868], rax
cmp qword [rbp + 0x1868], 0
je 0x140016a44
mov rdi, qword [rbp + 0x1868]
xor eax, eax
mov rcx, qword [rbp + 0x1848]
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x1868]
mov qword [rbp + 0x18b8], rax
jmp 0x140016a4f
mov qword [rbp + 0x18b8], 0
mov rax, qword [rbp + 0x18b8]
mov qword [0x1400274c0], rax
mov r9, qword [rbp + 8]
mov r8d, 0xd
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fread]
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0xe4]
call qword [sym.imp.ucrtbased.dll_fread]
cmp dword [rbp + 0xe4], 0
je 0x140016ab7
mov r9, qword [rbp + 8]
mov r8d, 0x50
mov edx, 1
lea rcx, [rbp + 0x80]
call qword [sym.imp.ucrtbased.dll_fread]
mov edx, 0xd
lea rcx, [rbp + 0x28]
call fcn.1400111a9
movzx eax, al
test eax, eax
jne 0x140016ae0
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
mov eax, 4
jmp 0x140016e97
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 8
lea rcx, [rbp + 0x58]
call qword [sym.imp.ucrtbased.dll_fread]
cmp qword [rbp + 0x58], 0
jne 0x140016b14
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
mov eax, 1
jmp 0x140016e97
xor edx, edx
mov rcx, qword [rbp + 0x1900]
call fcn.1400114fb
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x58]
mov edx, 0x108
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_fread]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x1900]
call fcn.140011159
mov dword [rbp + 0x104], 0
jmp 0x140016b62
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
mov qword [rbp + 0x18b8], rax
mov rcx, qword [rbp + 0x1900]
call fcn.1400113d4
mov rcx, qword [rbp + 0x18b8]
cmp rcx, rax
jae 0x140016e8b
mov eax, dword [rbp + 0x104]
mov edx, eax
mov rcx, qword [rbp + 0x1900]
call fcn.1400114fb
mov qword [rbp + 0x1148], rax
cmp qword [rbp + 0x1910], 0
je 0x140016bdd
mov rax, qword [rbp + 0x1910]
cmp qword [rax], 0
je 0x140016bdd
mov rax, qword [rbp + 0x1148]
mov rcx, qword [rbp + 0x1148]
mov edx, dword [rcx + 0x104]
mov rcx, rax
mov rax, qword [rbp + 0x1910]
call qword [rax]
mov rdx, qword [rbp + 0x18f8]
lea rcx, [rbp + 0x130]
call fcn.14001152d
mov rax, qword [rbp + 0x1148]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.14001119a
mov rax, qword [rbp + 0x1148]
mov eax, dword [rax + 0x104]
mov dword [rbp + 0x1164], eax
mov dword [rbp + 0x1184], 0
mov dword [rbp + 0x11a4], 0
mov eax, dword [rbp + 0x1164]
shl eax, 1
cdqe
mov qword [rbp + 0x1888], rax
mov rcx, qword [rbp + 0x1888]
call fcn.1400112ad
mov qword [rbp + 0x18a8], rax
cmp qword [rbp + 0x18a8], 0
je 0x140016c7d
mov rdi, qword [rbp + 0x18a8]
xor eax, eax
mov rcx, qword [rbp + 0x1888]
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x18a8]
mov qword [rbp + 0x18b8], rax
jmp 0x140016c88
mov qword [rbp + 0x18b8], 0
mov rax, qword [rbp + 0x18b8]
mov qword [rbp + 0x11c8], rax
cmp dword [rbp + 0x1164], 0
jle 0x140016e48
movsxd rax, dword [rbp + 0x1164]
cmp rax, 0x1000
jbe 0x140016cbf
mov qword [rbp + 0x18b8], 0x1000
jmp 0x140016ccd
movsxd rax, dword [rbp + 0x1164]
mov qword [rbp + 0x18b8], rax
mov eax, dword [rbp + 0x18b8]
mov dword [rbp + 0x11e4], eax
movsxd rax, dword [rbp + 0x11e4]
mov r9, qword [rbp + 8]
mov r8d, 1
mov rdx, rax
lea rcx, [rbp + 0x130]
call qword [sym.imp.ucrtbased.dll_fread]
mov dword [rbp + 0x1204], 0
jmp 0x140016d14
mov eax, dword [rbp + 0x1204]
inc eax
mov dword [rbp + 0x1204], eax
movsxd rax, dword [rbp + 0x1204]
cmp rax, 0x1000
jae 0x140016dd9
movsxd rax, dword [rbp + 0x1204]
movsx eax, byte [rbp + rax + 0x130]
mov dword [rbp + 0x18b4], eax
movsxd rcx, dword [rbp + 0x1204]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov rcx, qword [0x1400274c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x18b4]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rbp + 0x1204]
mov edx, dword [rbp + 0x11a4]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rbp + 0x11c8]
mov byte [rdx + rcx], al
movsxd rax, dword [rbp + 0x1204]
movsx eax, byte [rbp + rax + 0x130]
mov dword [rbp + 0x18b4], eax
movsxd rcx, dword [rbp + 0x1204]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov rcx, qword [0x1400274c0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x18b4]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0x1204]
mov byte [rbp + rcx + 0x130], al
jmp 0x140016d06
mov eax, dword [rbp + 0x11e4]
mov ecx, dword [rbp + 0x11a4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x11a4], eax
mov eax, dword [rbp + 0x11e4]
mov ecx, dword [rbp + 0x1184]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x1184], eax
mov eax, dword [rbp + 0x11e4]
mov ecx, dword [rbp + 0x1164]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x1164], eax
cmp qword [rbp + 0x1910], 0
je 0x140016e43
mov rax, qword [rbp + 0x1910]
cmp qword [rax + 8], 0
je 0x140016e43
mov ecx, dword [rbp + 0x1184]
mov rax, qword [rbp + 0x1910]
call qword [rax + 8]
jmp 0x140016c96
mov rax, qword [rbp + 0x1148]
mov eax, dword [rax + 0x104]
mov dword [rbp + 0x1224], eax
lea r9, [rbp + 0x80]
mov r8d, dword [rbp + 0xe4]
mov edx, dword [rbp + 0x1224]
mov rcx, qword [rbp + 0x11c8]
call fcn.140011631
mov rax, qword [rbp + 0x58]
dec rax
mov qword [rbp + 0x58], rax
jmp 0x140016b54
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140022c80]
call fcn.140011573
mov rax, rdi
mov rcx, qword [rbp + 0x18c0]
xor rcx, rbp
call fcn.14001131b
lea rsp, [rbp + 0x18d8]
pop rdi
pop rbp
ret