Function at 0x140157150
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x2b0
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov byte [rcx + 9], 1
mov rsi, rcx
mov qword [rcx + 0x990], rdx
mov r14, rdx
mov rax, qword [rdx]
mov r8, qword [rax + 0x10]
lea rax, [rcx + 0x290]
mov qword [rcx + 0x278], r8
mov ecx, 9
mov r8, qword [rdx + 8]
lea rax, [rax + 0x80]
movups xmm0, xmmword [r8]
lea r8, [r8 + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [r8 - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [r8 - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [r8 - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [r8 - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [r8 - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [r8 - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [r8 - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1401571a4
movups xmm0, xmmword [r8]
movups xmmword [rax], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [r8 + 0x40]
movups xmmword [rax + 0x40], xmm0
call fcn.14004fc90
mov rcx, rax
mov qword [rsi + 0x250], rax
call sub.KERNEL32.dll_GetThreadId
lea r8, [rsi + 0x25c]
mov dword [rsi + 0x258], eax
mov r9d, 0x18
lea rdx, [rsi + 0x258]
lea rcx, [rsi + 0x250]
call fcn.1401580c0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
xor r12d, r12d
lea rdx, [rsi + 0x290]
lea rcx, [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rsi + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x170], xmm1
mov eax, dword [rax + 0x20]
mov dword [rsi + 0x180], eax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], r12
call fcn.14013bae0
lea r8, [rsp + 0x58]
lea edx, [r12 + 0x18]
lea rcx, [rsi + 0x188]
call fcn.14013b8e0
mov qword [rsi + 0x248], rax
mov rdx, qword [r14]
cmp dword [rdx], 0x8000dead
jne 0x14015731d
sub rax, 3
lea rdx, [rsi + 0x1a0]
lea rcx, [rsi + 0x188]
mov qword [rsi + 0x248], rax
lea r8, [rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rcx, rsi
call fcn.140157530
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401574c9
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x178]
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x110]
test al, 1
je 0x140157358
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x168]
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x110]
test al, 2
je 0x1401574b8
mov rcx, qword [rsi]
mov qword [rsp + 0x2e8], r15
mov rax, qword [rcx]
call qword [rax + 0x138]
lea rcx, str.DbgHelp.dll
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
je 0x1401574a7
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1401574a7
mov rcx, qword [rsi]
lea rdx, [rsi + 0x4c]
mov r9d, 2
mov r8d, 0x104
mov r10, qword [rcx]
call qword [r10 + 0xb0]
mov r9, 0xffffffffffffffff
lea rdx, [rsi + 0x4c]
mov r8d, 0x104
lea rcx, [rsp + 0x90]
call fcn.14004cfc0
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x28], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401574a7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsi + 0x990]
mov qword [rsp + 0x4c], rcx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x54], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov r9d, r15d
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rax
mov edx, ebx
call r14
test eax, eax
je 0x14015748f
lea rdx, [rsp + 0x88]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
jmp 0x140157495
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x2e8]
mov rcx, qword [rsi]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x178]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14012fd90
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret