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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x378
movaps xmmword [rsp + 0x360], xmm6
mov rsi, rcx
mov rax, qword [0x1400a47b8]
xor rax, rsp
mov qword [rsp + 0x358], rax
lea r14, [rcx + 0x18]
lea r15, [rcx + 8]
mov eax, 0x3deed571
lea rdi, [rsp + 0xb4]
lea rbp, [rsp + 0x150]
lea rbx, [rsp + 0xb8]
xorps xmm6, xmm6
mov r12, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x1400055a0
mov eax, 0x3b3576ea
nop dword [rax]
cmp eax, 0x21c803dd
jg 0x1400055f0
cmp eax, 0xf999733f
jg 0x140005640
cmp eax, 0xcd45afdb
jle 0x1400056bb
cmp eax, 0xdd1fa452
jg 0x1400057c3
cmp eax, 0xcd45afdc
je 0x140005922
cmp eax, 0xd73f6001
jne 0x1400055a0
cmp byte [rsp + 0x43], 0
mov eax, 0xcd45afdc
mov ecx, 0xab902a37
cmovne eax, ecx
jmp 0x1400055a0
cmp eax, 0x4ba73ba6
jle 0x140005680
cmp eax, 0x6f9f7edf
jle 0x1400056ee
cmp eax, 0x74de057a
jg 0x140005830
cmp eax, 0x6f9f7ee0
je 0x14000592c
cmp eax, 0x71878d35
jne 0x1400055a0
mov rcx, qword [rsp + 0x58]
call fcn.14002d2e8
mov eax, 0x58c1e54d
jmp 0x1400055a0
cmp eax, 0xfd60bee
jle 0x14000574d
cmp eax, 0x14b8b2ea
jg 0x140005855
cmp eax, 0xfd60bef
je 0x140005936
cmp eax, 0x12e83af3
jne 0x1400055a0
mov eax, 0x3b3576ea
jmp 0x1400055a0
cmp eax, 0x3deed570
jg 0x140005787
cmp eax, 0x2f5e22e2
jle 0x140005875
cmp eax, 0x2f5e22e3
je 0x140005945
cmp eax, 0x3b3576ea
jne 0x1400055a0
mov rax, qword [rsp + 0x60]
mov eax, 0x758020ab
jmp 0x1400055a0
cmp eax, 0x85506057
je 0x14000594f
cmp eax, 0x93f3bd65
je 0x140005959
cmp eax, 0xab902a37
jne 0x1400055a0
mov qword [rsp + 0xa0], r15
mov eax, 0xdd1fa453
jmp 0x1400055a0
cmp eax, 0x4ba73ba7
je 0x140005963
cmp eax, 0x58c1e54d
je 0x140005980
cmp eax, 0x67b837d3
jne 0x1400055a0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r13
mov qword [rsp + 0x50], rax
mov eax, 0xf9997340
jmp 0x1400055a0
cmp eax, 0xf9997340
je 0x14000598a
cmp eax, 0x4985bf1
je 0x140005598
cmp eax, 0xa0f1cfc
jne 0x1400055a0
mov eax, dword [rsp + 0x44]
cmp eax, 0xffffffff
mov eax, 0xe14ab90d
mov ecx, 0x18558fe6
cmove eax, ecx
jmp 0x1400055a0
cmp eax, 0x3deed571
je 0x140005994
cmp eax, 0x40c26f0a
je 0x140005a43
cmp eax, 0x45b5dd2f
jne 0x1400055a0
mov rax, qword [rsp + 0x50]
cmp rax, 0xffffffffffffffff
mov eax, 0x14b8b2eb
mov ecx, 0x74de057b
cmove eax, ecx
jmp 0x1400055a0
cmp eax, 0xdd1fa453
je 0x140005abd
cmp eax, 0xe14ab90d
jne 0x1400055a0
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0x44]
add rax, rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, rax
mov qword [rsp + 0x80], rax
setb byte [rsp + 0x88]
mov rax, qword [rsp + 0x80]
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x42], al
mov eax, 0x40c26f0a
jmp 0x1400055a0
cmp eax, 0x74de057b
je 0x140005ae8
cmp eax, 0x758020ab
jne 0x1400055a0
mov rax, qword [rsp + 0x48]
mov eax, 0x21c803de
jmp 0x1400055a0
cmp eax, 0x14b8b2eb
je 0x140005af2
cmp eax, 0x18558fe6
jne 0x1400055a0
mov eax, 0x6f9f7ee0
jmp 0x1400055a0
cmp eax, 0x2ca54eeb
jne 0x140005b0d
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rax], rbp
mov word [rsp + 0x150], 0
mov dword [rsp + 0xf0], 0x208
lea rax, [0x14005a418]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xe4], 1
mov qword [rsp + 0xf8], 0
mov dword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x118], 0x1800
mov rcx, rbx
call qword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
mov eax, 0x67b837d3
mov ecx, 0x12e83af3
cmove eax, ecx
jmp 0x1400055a0
mov eax, 0xfd60bef
jmp 0x1400055a0
mov eax, 0x4985bf1
jmp 0x1400055a0
mov rax, qword [rsp + 0x70]
mov eax, 0x85506057
jmp 0x1400055a0
mov eax, 0xa0f1cfc
jmp 0x1400055a0
mov eax, 0x6f9f7ee0
jmp 0x1400055a0
mov eax, 0xfd60bef
jmp 0x1400055a0
mov rax, qword [rsp + 0xa8]
mov byte [rax], 0
mov rcx, qword [rsp + 0x50]
call r12
mov eax, 0x71878d35
jmp 0x1400055a0
mov eax, 0x93f3bd65
jmp 0x1400055a0
mov eax, 0x45b5dd2f
jmp 0x1400055a0
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rbp
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov r8d, 0x208
xor edx, edx
call fcn.1400321d0
mov rax, qword [rsp + 0x48]
movups xmmword [rax], xmm6
movups xmmword [rax + 0x10], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x60], xmm6
movups xmmword [rax + 0x70], xmm6
movups xmmword [rax + 0x80], xmm6
mov qword [rax + 0x90], 0
mov rax, qword [rsp + 0x48]
movups xmmword [rax], xmm6
movups xmmword [rax + 0x10], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x60], xmm6
movups xmmword [rax + 0x70], xmm6
movups xmmword [rax + 0x80], xmm6
mov qword [rax + 0x90], 0
mov dword [rsp + 0xb8], 0x98
mov qword [rsp + 0x90], rsi
mov eax, 0x2ca54eeb
jmp 0x1400055a0
movzx eax, byte [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
cmp byte [rsp + 0x42], 0
mov rax, 0xffffffffffffffff
cmovne rcx, rax
call fcn.14002d31c
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.1400321d0
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], 0
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne byte [rsp + 0x43]
mov eax, 0xd73f6001
jmp 0x1400055a0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov qword [rsp + 0xa8], r14
mov eax, 0x4ba73ba7
jmp 0x1400055a0
mov eax, 0x4985bf1
jmp 0x1400055a0
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x44], eax
mov eax, 0x2f5e22e3
jmp 0x1400055a0
cmp eax, 0x21c803de
jne 0x1400055a0
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.14002d600
movaps xmm6, xmmword [rsp + 0x360]
add rsp, 0x378
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret