Function at 0x1400207fc
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 [0x14007b108]
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.140007518
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 0x140020c6c
test rax, rax
je 0x140020c6c
test r12, r12
je 0x140020c6c
test r15, r15
je 0x140020c6c
test rdi, rdi
je 0x140020c6c
test rsi, rsi
je 0x140020c6c
test rdx, rdx
je 0x1400208bd
mov qword [rdx], r8
sub r9d, ebx
je 0x1400208cc
cmp r9d, ebx
jne 0x1400208d0
mov dword [rsp + 0x40], r8d
or byte [rdi + 0xf], 2
cmp dword [r12], r8d
je 0x1400208eb
mov rcx, r14
call 0x140008404
test dword [rax + 0x10], 0x2e0000
jne 0x1400208eb
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.140007b84
xor ecx, ecx
test eax, eax
je 0x140020c44
cmp dword [0x14007ba38], ecx
mov rdx, rsi
mov rcx, qword [rbp - 0x71]
je 0x140020924
call fcn.14000d9b8
jmp 0x140020930
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x140020c44
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 0x140020965
movzx eax, word [r14 + 0x1c8]
mov word [rdi + 0x20], ax
movabs rax, 0xffffffffffffff
test qword [rdi + 8], rax
jne 0x140020981
mov dword [r15], ebx
jmp 0x140020c68
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 0x140020a18
cmp dword [rbp - 0x11], ebx
jbe 0x140020a18
mov rcx, qword [r13 + 0xb8]
mov dword [rsp + 0x44], ebx
test rcx, rcx
je 0x1400209ef
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.14001ea88
xor edx, edx
test rax, rax
je 0x1400209ef
lea r15, [rax + 8]
test r15, r15
je 0x140020a18
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 0x140020b57
test r15, r15
jne 0x140020a61
mov eax, dword [rsp + 0x48]
lea rcx, [rdi + 0x28]
mov r9, qword [0x14007b998]
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.140031664
xor edx, edx
test eax, eax
je 0x140020c44
mov qword [rbp - 0x79], rdx
lea r12, [rdi + 0x28]
mov rdx, r12
lea r9, [rbp - 0x79]
mov r8d, ebx
mov rcx, r14
call fcn.14001ded4
xor ecx, ecx
test rax, rax
je 0x140020a8d
cmp qword [rbp - 0x79], r14
jne 0x140020aa2
add dword [rax + 0x24], ebx
jmp 0x140020aa2
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call fcn.1400222d0
xor ecx, ecx
test rax, rax
je 0x140020aad
mov rsi, qword [rbp - 0x69]
mov dword [rsi], ebx
jmp 0x140020b2d
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x140020ac5
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.14002b0e8
mov rsi, rax
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x140020af0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rsi, rsi
je 0x140020c44
mov rcx, qword [r14 + 0x1d0]
lea rdx, [rsi + 0x28]
mov r9, rsi
mov r8d, reloc.Cabinet.dll_FDICreate
call fcn.14001e9a8
xor ecx, ecx
test rax, rax
je 0x140020c44
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x140020b29
mov qword [rax], rsi
mov rsi, qword [rbp - 0x69]
cmp dword [rsp + 0x44], ecx
je 0x140020b51
test r15, r15
jne 0x140020b51
mov r9d, dword [rbp - 9]
lea rdx, [r13 + 0xb8]
mov r8d, dword [rbp - 0xd]
mov qword [rsp + 0x20], r12
call fcn.14001e504
mov r12, qword [rbp - 0x61]
jmp 0x140020b5b
mov rsi, qword [rbp - 0x69]
xor r15d, r15d
cmp dword [rsi], r15d
jne 0x140020c68
cmp dword [r12], r15d
je 0x140020c68
mov rcx, qword [rbp - 0x41]
call fcn.14000c598
mov rsi, rax
test rax, rax
je 0x140020c36
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.140019380
test eax, eax
jne 0x140020bb3
cmp dword [rsp + 0x44], r15d
jne 0x140020bb3
mov dword [r12], r15d
lea r9, [rsp + 0x40]
mov r8, rsi
mov edx, 0x9480
mov rcx, r13
call fcn.140019380
test eax, eax
jne 0x140020c14
cmp dword [rsp + 0x40], r15d
je 0x140020c14
mov r8, qword [0x14007b998]
xor edx, edx
mov rcx, r14
call 0x14000828c
mov ecx, dword [rsp + 0x40]
div ecx
mov eax, ecx
sub eax, edx
cmp eax, ecx
jae 0x140020c14
mov r8d, eax
mov edx, ebx
mov rcx, r14
call 0x14000828c
mov r8, qword [0x14007b998]
mov rcx, r14
xor edx, edx
call 0x14000828c
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 0x140020c68
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140020c53
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor r15d, r15d
mov ebx, r15d
test eax, eax
je 0x140020c68
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140020c7f
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.140068870
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret