Function at 0x1403040a0
Capabilities:
Get file size

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x2c0
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, rcx
mov byte [rcx + 9], 1
mov qword [rcx + 0x990], rdx
mov rbx, rdx
mov rax, qword [rdx]
mov r8d, 9
mov rcx, qword [rax + 0x10]
lea rax, [rdi + 0x290]
mov qword [rdi + 0x278], rcx
mov rcx, qword [rdx + 8]
nop
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub r8, 1
jne 0x1403040f0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
call fcn.1402fd620
mov rcx, rax
mov qword [rdi + 0x250], rax
call sub.KERNEL32.dll_GetThreadId
lea r8, [rdi + 0x25c]
mov dword [rdi + 0x258], eax
lea rdx, [rdi + 0x258]
mov r9d, 0x18
lea rcx, [rdi + 0x250]
call fcn.140305670
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, [rdi + 0x290]
lea rcx, [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x170], xmm1
mov eax, dword [rax + 0x20]
mov dword [rdi + 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.1402cdf40
lea rcx, [rdi + 0x188]
lea r8, [rsp + 0x58]
lea edx, [r12 + 0x18]
call fcn.1402cdd40
mov qword [rdi + 0x248], rax
mov rcx, qword [rbx]
cmp dword [rcx], 0x8000dead
jne 0x14030425c
sub rax, 3
lea rdx, [rdi + 0x1a0]
lea rcx, [rdi + 0x188]
mov qword [rdi + 0x248], rax
lea r8, [rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rcx, rdi
call fcn.1403044c0
cmp qword [rdi], r12
je 0x14030444c
mov rax, qword [rdi]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x178]
mov rax, qword [rdi]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x110]
test al, 1
je 0x1403042a1
mov rax, qword [rdi]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x168]
mov rax, qword [rdi]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x110]
test al, 2
je 0x140304437
mov rax, qword [rdi]
mov qword [rsp + 0x2e8], rbp
mov rcx, rax
mov qword [rsp + 0x2b0], r15
mov rdx, qword [rax]
call qword [rdx + 0x138]
lea rcx, str.DbgHelp.dll
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
je 0x14030441e
lea rdx, str.MiniDumpWriteDump
mov qword [rsp + 0x2b8], r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x140304416
mov rcx, qword [rdi]
lea rdx, [rdi + 0x4c]
mov r9d, 2
mov qword [rsp + 0x2f0], rsi
mov r8d, 0x104
mov r10, qword [rcx]
call qword [r10 + 0xb0]
lea rdx, [rdi + 0x4c]
mov r9, 0xffffffffffffffff
mov r8d, 0x104
lea rcx, [rsp + 0x90]
call fcn.1402fa610
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 rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14030440e
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rdi + 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, rsi
mov rcx, rax
mov edx, ebx
call r14
test eax, eax
je 0x1403043f6
lea rdx, [rsp + 0x88]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
jmp 0x1403043fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2b8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r15, qword [rsp + 0x2b0]
mov rbp, qword [rsp + 0x2e8]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x178]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140284180
add rsp, 0x2c0
pop r12
pop rdi
pop rbx
ret