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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180097030]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x30], 0
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
je 0x18002adfb
cmp dword [rsp + 0x38], 0
ja 0x18002ae21
mov rcx, qword [rsp + 0xb0]
call fcn.18001c1b0
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
jmp 0x18002b2f6
mov dword [rsp + 0x3c], 0
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a10]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180096a10]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a10]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180096a10]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18002aea7
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a10]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0x80]
call fcn.18001b1e0
lea rcx, [rsp + 0x80]
call fcn.180028a00
nop
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x180096a10]
cmp dword [rcx + rax*4], 1
jne 0x18002af06
movsx rax, word [rsp + 0x34]
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x180096a10]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.1800261a0
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff119
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x80]
call fcn.18001c8a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18002b016
mov rcx, qword [rsp + 0xb0]
call fcn.18001c1b0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x80]
call fcn.18001c500
mov rax, qword [rsp + 0xb0]
jmp 0x18002b2f6
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x18002b27f
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
cmp eax, 0x184dafe1
jne 0x18002b056
lea r8, str.Local8214796850220706830689190423151055228471615271783040x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x70], rax
jmp 0x18002b07e
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x54], SafeArrayCopy
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x54]
movsxd rcx, ecx
lea rdx, [0x180096a10]
mov dword [rdx + rcx*4], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18002b0da
cmp dword [rsp + 0x78], 0
jne 0x18002b266
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
xor eax, 0xfffff0d3
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
cmp qword [0x18011ee78], 0
je 0x18002b11b
call qword [0x18011ee78]
mov dword [rsp + 0x40], eax
jmp 0x18002b123
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x18002b13a
mov dword [rsp + 0x3c], 0x1f
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180096a10]
mov eax, dword [rcx + rax]
add eax, 0xb8a2958
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180096a10]
mov dword [rdx + rcx], eax
jmp 0x18002b27f
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x18002b01f
cmp dword [rsp + 0x3c], 0
je 0x18002b2b5
mov rcx, qword [rsp + 0xb0]
call fcn.18001c1b0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x80]
call fcn.18001c500
mov rax, qword [rsp + 0xb0]
jmp 0x18002b2f6
mov eax, dword [rsp + 0x38]
mov r9d, dword [rsp + 0xc0]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
call fcn.180028a50
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x80]
call fcn.18001c500
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18004b890
add rsp, 0xa8
ret