Function at 0x180092bc0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xa0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rdx, qword [0x180163d50]
mov rcx, qword [rsp + 0xb0]
call fcn.180091e80
nop
mov rcx, qword [rsp + 0xb0]
lea rax, [0x180012158]
mov qword [rcx], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x1f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x38], r11
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x38], 0xffffffffffffffff
jne 0x180092d4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x180012420]
call fcn.1800892c0
mov ecx, 0x1020
call fcn.1800eb9ac
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180092ce1
mov r8d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [0x1800123c0]
mov edx, 5
mov rcx, qword [rsp + 0x60]
call fcn.18008d120
mov qword [rsp + 0x90], rax
jmp 0x180092ced
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180092d34
mov rcx, qword [rsp + 0x50]
call fcn.18008d1e0
mov rbx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1800e3fe0
mov r8, rbx
mov edx, eax
lea rcx, [0x180012030]
call fcn.1800892c0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
lea rdx, [0x18015a158]
lea rcx, [rsp + 0x68]
call fcn.1800ec370
lea rdx, [rsp + 0x44]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xffffffff
jne 0x180092e64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180092e64
mov edx, dword [rsp + 0x40]
lea rcx, [0x1800122f0]
call fcn.1800892c0
mov ecx, 0x1020
call fcn.1800eb9ac
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x180092dde
mov r8d, dword [rsp + 0x40]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
lea r9, [0x1800122a0]
mov edx, 5
mov rcx, qword [rsp + 0x78]
call fcn.18008d120
mov qword [rsp + 0x98], rax
jmp 0x180092dea
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180092e31
mov rcx, qword [rsp + 0x50]
call fcn.18008d1e0
mov rbx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1800e3fe0
mov r8, rbx
mov edx, eax
lea rcx, [0x180012030]
call fcn.1800892c0
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rdx, [0x18015a158]
lea rcx, [rsp + 0x80]
call fcn.1800ec370
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0x20], eax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x44]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x30], 0
mov rax, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbx
ret