Function at 0x14005b678
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd0
mov rax, qword [0x1400c5a08]
xor rax, rsp
mov qword [rbp - 1], rax
mov rax, qword [rbp + 0x8f]
mov r13, rcx
mov r12, qword [rbp + 0x6f]
mov r15, qword [rbp + 0x77]
mov rdi, qword [rbp + 0x7f]
mov rsi, qword [rbp + 0x97]
mov qword [rbp - 0x41], rdx
mov rdx, qword [rbp + 0x87]
mov qword [rbp - 0x49], rdx
mov qword [rbp - 0x71], r8
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x51], rax
call fcn.140059380
xor r8d, r8d
mov ebx, 1
mov dword [rsp + 0x40], ebx
mov r14, rax
mov dword [rsp + 0x48], r8d
mov qword [rbp - 0x79], r8
test rcx, rcx
je 0x14005bae8
test rax, rax
je 0x14005bae8
test r12, r12
je 0x14005bae8
test r15, r15
je 0x14005bae8
test rdi, rdi
je 0x14005bae8
test rsi, rsi
je 0x14005bae8
test rdx, rdx
je 0x14005b739
mov qword [rdx], r8
sub r9d, ebx
je 0x14005b748
cmp r9d, ebx
jne 0x14005b74c
mov dword [rsp + 0x40], r8d
or byte [rdi + 0xf], 2
cmp dword [r12], r8d
je 0x14005b767
mov rcx, r14
call fcn.140059f4c
test dword [rax + 0x10], 0x2e0000
jne 0x14005b767
mov dword [r12], r8d
mov qword [rsp + 0x20], r8
lea rdx, [rbp - 0x79]
lea r8, [rsp + 0x48]
xor r9d, r9d
mov rcx, r13
call fcn.1400598b8
xor ecx, ecx
test eax, eax
je 0x14005bac0
cmp dword [0x1400c99e8], ecx
mov rdx, rsi
mov rcx, qword [rbp - 0x71]
je 0x14005b7a0
call fcn.1400531e8
jmp 0x14005b7ac
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x14005bac0
mov rax, qword [rsi]
mov cl, byte [rdi + 0xf]
mov qword [rdi + 0x18], rax
mov rax, qword [rsi]
mov qword [rdi + 8], rax
movzx eax, dx
mov byte [rdi + 0xf], cl
mov dword [rdi + 0x24], ebx
cmp dword [r14], 0xfeedf001
jne 0x14005b7e1
movzx eax, word [r14 + 0x1c8]
mov word [rdi + 0x20], ax
movabs rax, 0xffffffffffffff
test qword [rdi + 8], rax
jne 0x14005b7fd
mov dword [r15], ebx
jmp 0x14005bae4
mov rcx, qword [rbp - 0x71]
xorps xmm0, xmm0
mov dword [rsp + 0x44], edx
mov r15, rdx
xor eax, eax
lea rdx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
mov dword [rbp - 9], eax
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x14005b894
cmp dword [rbp - 0x11], ebx
jbe 0x14005b894
mov rcx, qword [r13 + 0xb8]
mov dword [rsp + 0x44], ebx
test rcx, rcx
je 0x14005b86b
mov eax, dword [rbp - 0xd]
lea r8d, [rdx + 8]
mov dword [rbp - 0x55], eax
lea rdx, [rbp - 0x59]
mov eax, dword [rbp - 9]
mov dword [rbp - 0x59], eax
call fcn.14005c814
xor edx, edx
test rax, rax
je 0x14005b86b
lea r15, [rax + 8]
test r15, r15
je 0x14005b894
movups xmm0, xmmword [r15]
movups xmmword [rdi + 0x28], xmm0
mov eax, dword [r15 + 0x10]
mov dword [rdi + 0x38], eax
mov rcx, qword [r13 + 0x40]
mov rax, qword [rsi]
test rcx, rcx
cmove rcx, r13
add qword [rcx + 0x88], rax
cmp dword [rsp + 0x40], edx
je 0x14005b9d3
test r15, r15
jne 0x14005b8dd
mov eax, dword [rsp + 0x48]
lea rcx, [rdi + 0x28]
mov r9, qword [0x1400c99f8]
mov r8, qword [rsi]
mov rdx, qword [rbp - 0x71]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x79]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r13
call fcn.140067184
xor edx, edx
test eax, eax
je 0x14005bac0
mov qword [rbp - 0x79], rdx
lea r12, [rdi + 0x28]
mov rdx, r12
lea r9, [rbp - 0x79]
mov r8d, ebx
mov rcx, r14
call fcn.140060318
xor ecx, ecx
test rax, rax
je 0x14005b909
cmp qword [rbp - 0x79], r14
jne 0x14005b91e
add dword [rax + 0x24], ebx
jmp 0x14005b91e
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call fcn.14005d5e0
xor ecx, ecx
test rax, rax
je 0x14005b929
mov rsi, qword [rbp - 0x69]
mov dword [rsi], ebx
jmp 0x14005b9a9
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x14005b941
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea r9, [r14 + 0x18]
mov rcx, rdi
lea r8, [r14 + 0x10]
call fcn.14006496c
mov rsi, rax
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x14005b96c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rsi, rsi
je 0x14005bac0
mov rcx, qword [r14 + 0x1d0]
lea rdx, [rsi + 0x28]
mov r9, rsi
mov r8d, reloc.Cabinet.dll_FDICreate
call fcn.14005c734
xor ecx, ecx
test rax, rax
je 0x14005bac0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14005b9a5
mov qword [rax], rsi
mov rsi, qword [rbp - 0x69]
cmp dword [rsp + 0x44], ecx
je 0x14005b9cd
test r15, r15
jne 0x14005b9cd
mov r9d, dword [rbp - 9]
lea rdx, [r13 + 0xb8]
mov r8d, dword [rbp - 0xd]
mov qword [rsp + 0x20], r12
call fcn.14005c394
mov r12, qword [rbp - 0x61]
jmp 0x14005b9d7
mov rsi, qword [rbp - 0x69]
xor r15d, r15d
cmp dword [rsi], r15d
jne 0x14005bae4
cmp dword [r12], r15d
je 0x14005bae4
mov rcx, qword [rbp - 0x41]
call fcn.14005804c
mov rsi, rax
test rax, rax
je 0x14005bab2
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], ebx
mov r8, rax
mov dword [rsp + 0x40], r15d
mov edx, 0x947e
mov rcx, r13
call fcn.1400586fc
test eax, eax
jne 0x14005ba2f
cmp dword [rsp + 0x44], r15d
jne 0x14005ba2f
mov dword [r12], r15d
lea r9, [rsp + 0x40]
mov r8, rsi
mov edx, 0x9480
mov rcx, r13
call fcn.1400586fc
test eax, eax
jne 0x14005ba90
cmp dword [rsp + 0x40], r15d
je 0x14005ba90
mov r8, qword [0x1400c99f8]
xor edx, edx
mov rcx, r14
call fcn.140059dd4
mov ecx, dword [rsp + 0x40]
div ecx
mov eax, ecx
sub eax, edx
cmp eax, ecx
jae 0x14005ba90
mov r8d, eax
mov edx, ebx
mov rcx, r14
call fcn.140059dd4
mov r8, qword [0x1400c99f8]
mov rcx, r14
xor edx, edx
call fcn.140059dd4
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
jmp 0x14005bae4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14005bacf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor r15d, r15d
mov ebx, r15d
test eax, eax
je 0x14005bae4
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14005bafb
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140094220
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret