Function at 0x1400081d4
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x518]
sub rsp, 0x5f0
mov rax, qword [0x140015128]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov r14, rcx
or r15, 0xffffffffffffffff
lea rcx, [rbp + 0xe0]
mov qword [rbp - 0x58], r15
xor edx, edx
mov qword [rbp - 0x60], r15
mov r8d, 0x400
call sub.msvcrt.dll_memset
lea r8, [rbp - 0x60]
mov rcx, r14
lea rdx, [rbp - 0x58]
call fcn.140007f78
mov rcx, qword [0x140015828]
lea r8, [rbp + 0xe0]
xor ebx, ebx
mov eax, 0x1f90
mov word [rsp + 0x70], ax
mov r9d, 0x200
mov rax, qword [r14 + 0x690]
mov edx, 0x910
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x698]
lea r9, [rbp + 0xe0]
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov r8d, dword [r14 + 0x230]
lea rcx, [rsp + 0x60]
mov rdx, qword [r14 + 0x228]
call fcn.14000ac10
mov rdi, qword [rsp + 0x68]
test eax, eax
jns 0x14000842f
test rdi, rdi
jne 0x1400082f5
mov r8d, dword [r14 + 0x230]
lea rcx, [rsp + 0x60]
mov rdx, qword [r14 + 0x228]
call fcn.14000ac10
mov rdi, qword [rsp + 0x68]
mov esi, eax
jmp 0x1400082fa
mov esi, 0x8000ffff
test esi, esi
jns 0x14000842f
mov rcx, qword [r14 + 0x228]
lea rdx, [rbp + 0xc0]
xorps xmm0, xmm0
mov r9d, 0xa
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
lea r8d, [r9 + 6]
call qword [sym.imp.msvcrt.dll__ui64tow_s]
nop dword [rax + rax]
cmp dword [0x140015008], 5
jbe 0x140008836
movabs r12, 0x400000000000
test qword [0x140015018], r12
je 0x140008836
mov rax, qword [0x140015020]
and rax, r12
cmp rax, qword [0x140015020]
jne 0x140008836
mov eax, dword [r14 + 0x230]
mov dword [rsp + 0x44], eax
lea rax, [rbp + 0xc0]
mov dword [rsp + 0x40], esi
mov qword [rbp - 0x50], 0x3000800
inc r15
cmp word [rax + r15*2], bx
jne 0x140008390
lea eax, [r15*2 + 2]
mov dword [rbp + 0xbc], ebx
mov dword [rbp + 0xb8], eax
lea rcx, [rbp + 0xc0]
lea rax, [rsp + 0x40]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xa0], rax
lea rdx, [0x1400118dc]
lea rax, [rsp + 0x44]
mov qword [rbp + 0xa8], 4
mov qword [rbp + 0x90], rax
lea rcx, [0x140015008]
lea rax, [rbp - 0x50]
mov qword [rbp + 0x98], 4
mov qword [rbp + 0x80], rax
xor r9d, r9d
lea rax, [rbp + 0x60]
mov qword [rbp + 0x88], 8
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], 6
call fcn.140001090
jmp 0x140008836
test rdi, rdi
je 0x140008447
lea rcx, [rsp + 0x60]
call fcn.14000ad6c
mov rdi, qword [rsp + 0x68]
mov esi, eax
jmp 0x14000844c
mov esi, 0x8000ffff
test esi, esi
js 0x140008819
lea rax, [r14 + 0x658]
mov rbx, qword [rax]
mov qword [rbp - 0x68], rbx
cmp rbx, rax
je 0x140008803
movabs r12, 0x400000000000
xor edx, edx
lea rcx, [rbp + 0xe0]
mov r8d, 0x400
call sub.msvcrt.dll_memset
mov rcx, qword [0x140015828]
lea r8, [rbp + 0xe0]
mov r9d, 0x200
mov edx, 0x913
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x698]
lea r9, [rbp + 0xe0]
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
and qword [rsp + 0x30], 0
lea rcx, [rbx - 0x210]
xor r9d, r9d
mov dword [rsp + 0x28], 0x40000000
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbp - 0x70], rax
cmp rax, r15
jne 0x14000852d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x14000878a
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
jne 0x140008566
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x14000877a
cmp dword [rsp + 0x5c], ecx
je 0x140008576
mov esi, 0x80070008
jmp 0x14000877a
mov rax, qword [rsp + 0x58]
lea rcx, [rbp + 0xe0]
mov dword [r14 + 0x674], eax
xor edx, edx
mov r8d, 0x400
mov dword [rbx - 8], eax
call sub.msvcrt.dll_memset
mov rcx, qword [0x140015828]
lea r8, [rbp + 0xe0]
mov r9d, 0x200
mov edx, 0x911
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x698]
lea r9, [rbp + 0xe0]
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
lea rsi, [r14 + 0x244]
mov edx, 0x104
mov rcx, rsi
lea r8, [rbx - 0x210]
call fcn.1400044e0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop dword [rax + rax]
mov qword [rbp - 0x48], rax
test rdi, rdi
je 0x140008636
mov r9d, dword [r14 + 0x674]
lea rcx, [rsp + 0x60]
mov r8, qword [rbp - 0x70]
mov rdx, rsi
mov qword [rsp + 0x20], r14
call fcn.14000b618
mov rdi, qword [rsp + 0x68]
mov esi, eax
jmp 0x14000863b
mov esi, 0x8000ffff
cmp dword [0x140015008], 5
jbe 0x14000877a
test qword [0x140015018], r12
je 0x14000877a
mov rax, qword [0x140015020]
and rax, r12
cmp rax, qword [0x140015020]
jne 0x14000877a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop dword [rax + rax]
mov edx, dword [r14 + 0x230]
lea rcx, [r14 + 0x244]
sub rax, qword [rbp - 0x48]
mov ebx, dword [rsp + 0x58]
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x4c], edx
call fcn.140008164
mov rcx, rax
mov dword [rsp + 0x50], ebx
lea rax, [rsp + 0x48]
mov dword [rsp + 0x54], 1
mov qword [rbp + 0x50], rax
xor r8d, r8d
mov qword [rbp - 0x38], 0x3000800
lea rax, [rsp + 0x4c]
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x58], 4
mov qword [rbp + 0x48], 4
mov qword [rbp + 0x38], 8
test rcx, rcx
je 0x140008706
mov rax, r15
inc rax
cmp word [rcx + rax*2], r8w
jne 0x1400086f3
lea edx, [rax*2 + 2]
jmp 0x140008712
lea rcx, [0x140011504]
mov edx, 2
lea rax, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x10], rax
lea rcx, [0x140015008]
lea rax, [rsp + 0x54]
mov dword [rbp + 0x28], edx
mov qword [rbp], rax
lea rdx, [0x140011842]
lea rax, [rbp - 0x38]
mov dword [rbp + 0x2c], r8d
mov qword [rbp - 0x10], rax
xor r9d, r9d
lea rax, [rbp - 0x30]
mov qword [rbp + 0x18], 4
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 9
mov qword [rbp + 8], 4
mov qword [rbp - 8], 8
call fcn.140001090
mov rbx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rbp + 0xe0]
mov r8d, 0x400
call sub.msvcrt.dll_memset
mov rcx, qword [0x140015828]
lea r8, [rbp + 0xe0]
mov r9d, 0x200
mov edx, 0x912
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x698]
lea r9, [rbp + 0xe0]
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
mov dword [rbx + 0x10], esi
test esi, esi
js 0x140008803
mov rbx, qword [rbx]
lea rax, [r14 + 0x658]
mov qword [rbp - 0x68], rbx
cmp rbx, rax
jne 0x140008475
xor ebx, ebx
test rdi, rdi
je 0x140008836
lea rcx, [rsp + 0x60]
call fcn.14000b034
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x140008836
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [0x140010a28]
mov rdi, rbx
mov qword [rsp + 0x68], rbx
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
call fcn.1400080a4
test rdi, rdi
je 0x14000886d
cmp dword [rsp + 0x60], ebx
je 0x14000885d
lea rcx, [rsp + 0x60]
call fcn.14000b034
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [0x140010a28]
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140008897
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.14000e7b0
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret