Function at 0x14007994e
Capabilities:
Get file size

Disassembly:
jmp 0x14008bb40
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
lea rcx, [0x1402f04b8]
call fcn.140079836
movzx eax, byte [rbp + 0x230]
test eax, eax
je 0x14008bb9e
mov dword [rbp + 0x1f4], 0x80000000
jmp 0x14008bba8
mov dword [rbp + 0x1f4], 0xc0000000
mov eax, dword [rbp + 0x1f4]
mov dword [rbp + 4], eax
movzx eax, byte [rbp + 0x230]
test eax, eax
je 0x14008bbc8
mov dword [rbp + 0x1f4], 0x20000000
jmp 0x14008bbd2
mov dword [rbp + 0x1f4], 0xa0000000
mov eax, dword [rbp + 0x1f4]
mov dword [rbp + 0x24], eax
movzx eax, byte [rbp + 0x230]
test eax, eax
je 0x14008bbf2
mov dword [rbp + 0x1f4], 3
jmp 0x14008bbfc
mov dword [rbp + 0x1f4], 2
mov eax, dword [rbp + 0x1f4]
mov dword [rbp + 0x44], eax
mov rcx, qword [rbp + 0x228]
call fcn.140078373
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x14008bc70
mov r9, qword [rbp + 0x220]
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x68]
call fcn.140076b54
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
je 0x14008bc4d
mov eax, dword [rbp + 0x84]
jmp 0x14008be08
cmp qword [rbp + 0x238], 0
je 0x14008bc69
mov rax, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x68]
mov rcx, qword [rcx + 0x10]
mov qword [rax], rcx
xor eax, eax
jmp 0x14008be08
mov rcx, qword [rbp + 0x228]
call fcn.1400797d7
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x14008bcf4
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x24]
mov r8d, dword [rbp + 4]
movzx edx, byte [rbp + 0x230]
mov rcx, qword [rbp + 0xa8]
call fcn.140078107
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x14008bcce
mov eax, dword [rbp + 0xc4]
jmp 0x14008be08
cmp qword [rbp + 0x238], 0
je 0x14008bced
mov rax, qword [rbp + 0x238]
mov rcx, qword [rbp + 0xa8]
mov rcx, qword [rcx + 0x10]
mov qword [rax], rcx
xor eax, eax
jmp 0x14008be08
mov rcx, qword [rbp + 0x228]
call fcn.1400777fc
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
je 0x14008bd78
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x24]
mov r8d, dword [rbp + 4]
movzx edx, byte [rbp + 0x230]
mov rcx, qword [rbp + 0xe8]
call fcn.14007745f
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 0
je 0x14008bd52
mov eax, dword [rbp + 0x104]
jmp 0x14008be08
cmp qword [rbp + 0x238], 0
je 0x14008bd71
mov rax, qword [rbp + 0x238]
mov rcx, qword [rbp + 0xe8]
mov rcx, qword [rcx + 0x10]
mov qword [rax], rcx
xor eax, eax
jmp 0x14008be08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 1
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rbp + 0x220]
mov qword [rcx], rax
mov rax, qword [rbp + 0x220]
cmp qword [rax], 0xffffffffffffffff
jne 0x14008bdc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14008be08
cmp qword [rbp + 0x238], 0
je 0x14008be06
lea rdx, [rbp + 0x128]
mov rax, qword [rbp + 0x220]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14008bdf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14008be08
mov rax, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x128]
mov qword [rax], rcx
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1401732d0]
call fcn.140078e40
mov rax, rdi
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret