Function at 0x180045aa0
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x210], rbx
mov rax, qword [0x1801485f0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
cmp qword [r9 + 0x10], 0
je 0x180045e4b
cmp qword [rdx + 0x10], 0
je 0x180045e4b
cmp qword [rdx + 0x18], 8
jb 0x180045b08
mov rcx, qword [rdx]
jmp 0x180045b0b
mov rcx, rdx
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180045e4b
mov dword [rsp + 0x44], r12d
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp dword [rsp + 0x44], r12d
je 0x180045b6b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180045e4b
test eax, eax
je 0x180045b5d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x40], ebx
test ebx, ebx
je 0x180045e4b
xor r13b, r13b
mov ecx, ebx
call fcn.1800b1b34
mov r12, rax
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rax
mov rcx, r14
call fcn.180025870
test al, al
je 0x180045e38
lea rcx, [rbp]
call fcn.1800a5580
nop
mov r8d, dword [rsp + 0x40]
add r8, r12
mov byte [rsp + 0x20], 1
mov r9, rdi
mov rdx, r12
lea rcx, [rbp]
call fcn.1800ab330
test al, al
je 0x180045e2f
mov qword [rsp + 0x20], 1
lea r9, [0x18010094c]
mov r8, qword [r15 + 0x10]
xor edx, edx
mov rcx, r15
call fcn.180016fe0
test eax, eax
jne 0x180045c04
mov r13b, 1
jmp 0x180045e2f
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rax
mov word [rbp - 0x68], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.1800165a0
nop
mov edx, 0x2f
lea rcx, [rbp - 0x68]
call fcn.18001cae0
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.18001b690
nop
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x48], r15b
lea r8d, [r15 + 1]
lea rdx, [0x1801016c8]
lea rcx, [rbp - 0x48]
call fcn.180015d00
nop
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.18001bd50
test eax, eax
sete bl
cmp qword [rbp - 0x30], 0x10
jb 0x180045cb7
mov rcx, qword [rbp - 0x48]
call fcn.1800b5700
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x48], 0
test bl, bl
je 0x180045d1f
mov rcx, rdi
call fcn.1800a3050
nop
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x180045dee
mov rbx, rsi
mov rdi, qword [rsp + 0x50]
cmp rsi, rdi
je 0x180045d17
nop
cmp qword [rbx + 0x18], 0x10
jb 0x180045cff
mov rcx, qword [rbx]
call fcn.1800b5700
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x180045cf0
mov rcx, rsi
jmp 0x180045dda
mov r14, qword [rsp + 0x48]
mov rbx, r14
mov rsi, qword [rsp + 0x50]
cmp r14, rsi
je 0x180045d9d
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3f50
test al, al
je 0x180045d90
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rdx, [0x180100868]
lea rcx, [rbp - 0x48]
call fcn.1800a1340
nop
lea r9, [rbp - 0x48]
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1800a39f0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1800a18b0
nop
lea rcx, [rbp - 0x48]
call fcn.1800a17b0
add rbx, 0x20
cmp rbx, rsi
jne 0x180045d31
jmp 0x180045d9d
mov rcx, rdi
call fcn.1800a3050
cmp rbx, rsi
jne 0x180045da0
mov r13b, 1
test r14, r14
je 0x180045dee
mov rbx, r14
cmp r14, rsi
je 0x180045dd7
nop dword [rax]
cmp qword [rbx + 0x18], 0x10
jb 0x180045dbf
mov rcx, qword [rbx]
call fcn.1800b5700
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rsi
jne 0x180045db0
mov rcx, r14
call fcn.1800b5700
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
cmp qword [rbp - 8], 0x10
jb 0x180045dfe
mov rcx, qword [rbp - 0x20]
call fcn.1800b5700
mov byte [rbp - 0x20], 0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
cmp qword [rbp - 0x50], 8
jb 0x180045e1e
mov rcx, qword [rbp - 0x68]
call fcn.1800b5700
mov word [rbp - 0x68], r15w
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 7
lea rcx, [rbp]
call fcn.180008ec0
test r12, r12
je 0x180045e45
mov rcx, r12
call fcn.1800b72ec
movzx eax, r13b
jmp 0x180045e4d
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1800b6c40
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret