Function at 0x10001a0a8
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x60
cmp byte [0x10009e052], 0
mov rbp, rcx
lea rax, str.windowprefs.xml
mov rsi, rdx
lea rcx, str.windowprefsMCE.xml
mov dl, 1
cmove rcx, rax
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8d, [r9 + 0x1c]
call fcn.100003120
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x10001a2de
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov edi, eax
call fcn.100002be0
and dword [rsp + 0x90], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
mov rdx, rax
mov r8d, edi
mov rcx, r12
mov r13, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10001a2ce
cmp dword [rsp + 0x90], edi
jne 0x10001a2ce
mov ecx, 0x98
call fcn.100002580
test rax, rax
je 0x10002f240
mov rcx, rax
call fcn.10000286c
mov rbx, rax
jmp 0x10001a170
mov r8d, edi
mov rdx, r13
mov rcx, rbx
call fcn.100019ffc
cmp al, 1
jne 0x10001a2b1
lea rdx, str._WindowX
or r8d, 0xffffffff
mov rcx, rbx
call fcn.10000a6d0
lea rdx, str._WindowY
or r8d, 0xffffffff
mov rcx, rbx
mov dword [0x10009e0ac], eax
call fcn.10000a6d0
lea rdx, str._MaxX
xor r8d, r8d
mov rcx, rbx
mov dword [0x10009e0b0], eax
call fcn.10000a6d0
lea rdx, str._MaxY
xor r8d, r8d
mov rcx, rbx
mov dword [0x10009e0b4], eax
call fcn.10000a6d0
or edi, 0xffffffff
lea rdx, str._WindowWidth
mov r8d, edi
mov rcx, rbx
mov dword [0x10009e0b8], eax
call fcn.10000a550
lea rdx, str._WindowHeight
mov r8d, edi
mov rcx, rbx
mov dword [0x10009e080], eax
call fcn.10000a550
cmp byte [0x10009e052], 0
mov dword [0x10009e084], eax
jne 0x10001a23f
lea rdx, str._Maximized
xor r8d, r8d
mov rcx, rbx
call fcn.10000a550
test eax, eax
setne byte [0x10009e056]
lea rdx, str._LastInputKeyboard
mov r8b, 1
mov rcx, rbx
call fcn.10000b460
mov rcx, qword [0x10009e1c8]
test rcx, rcx
jne 0x10002f247
mov byte [0x10009e048], al
cmp dword [0x10009e080], edi
je 0x10002f252
cmp dword [0x10009e084], edi
je 0x10002f252
cmp byte [0x10009e052], 0
jne 0x10002f26f
cmp byte [0x10009e056], 0
jne 0x10002f2cc
mov eax, dword [0x10009e0ac]
mov dword [rbp], eax
mov eax, dword [0x10009e0b0]
mov dword [rsi], eax
mov byte [0x10009e04a], 0
mov rcx, r13
call sub.msvcrt.dll_free
test rbx, rbx
je 0x10001a2ce
mov rcx, rbx
call fcn.100003fe4
mov rcx, rbx
call sub.msvcrt.dll_free
mov r8b, 1
mov edx, 0x1c
mov rcx, r12
call fcn.100003d5c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
xor ebx, ebx
jmp 0x10001a170
mov byte [rcx + 0x12c], al
jmp 0x10001a261
mov eax, dword [0x10009e068]
mov dword [0x10009e080], eax
mov eax, dword [0x10009e06c]
mov dword [0x10009e084], eax
jmp 0x10001a27f
lea rcx, str.eHome_Render_Window
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
je 0x10002f2cc
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x24]
call sub.msvcrt.dll_memset
mov edx, 2
mov rcx, rdi
mov dword [rsp + 0x30], 0x28
call qword [sym.imp.USER32.dll_MonitorFromWindow]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov r11d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
mov dword [rbp], r11d
jmp 0x10001a2a8
mov eax, dword [0x10009e0b4]
mov dword [rbp], eax
mov eax, dword [0x10009e0b8]
jmp 0x10001a2a8