Function at 0x1400eaa90
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r13, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
lea rdi, [rcx + 8]
mov qword [rsp + 0x78], rdi
xor edx, edx
mov rcx, rdi
call fcn.140018710
call fcn.140044940
mov rcx, rax
mov r8d, 0xc5
mov rdx, qword [rdi]
call fcn.140047bb0
mov qword [rbp + 0xe0], r12
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400eb4c1
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp + 0xe0], rax
call fcn.1401285c0
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.14012a000
mov rbx, rax
call fcn.1401285c0
lea rcx, [0x1402620b8]
lea r8, [0x1402620c0]
cmp dword [rax + 0x88], r12d
cmovne r8, rcx
mov r9, qword [rbx]
lea rdx, [0x1402947f8]
lea rcx, [rbp + 0xe0]
call fcn.14001c3d0
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov r15, 0xffffffffffffffff
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400eaba8
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SetWindowTextW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov qword [rbp + 0xf8], r12
mov word [rbp + 0x100], r12w
call fcn.140163500
lea rdx, [0x140265568]
mov rcx, qword [rax + 0x508]
call fcn.140208b4c
mov ecx, 0xae9
mov r9d, 0xe88
test eax, eax
cmovne r9d, ecx
mov r8d, 0xa
lea rcx, [0x1402fbc62]
lea rdx, [0x1402fd242]
cmovne rdx, rcx
lea rcx, [rbp + 0xe8]
call fcn.140049350
movzx esi, word [rbp + 0x100]
mov rcx, qword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0
jne 0x1400eac5e
mov r14, rcx
mov qword [rbp + 0xf0], rcx
mov rdi, rcx
mov rbx, qword [rbp + 0xf8]
jmp 0x1400eacb4
mov r14, qword [rbp + 0xf8]
test r14, r14
je 0x1400eadd8
mov qword [rbp + 0xf0], r14
mov rbx, r14
movzx eax, word [r14]
test ax, ax
je 0x1400eaca7
cmp ax, si
je 0x1400eac90
add rbx, 2
movzx eax, word [rbx]
jmp 0x1400eac7c
mov word [rbx], r12w
add rbx, 2
movzx eax, word [rbx]
test ax, ax
je 0x1400eaca7
cmp ax, si
je 0x1400eac90
jmp 0x1400eacaa
mov rbx, r12
mov qword [rbp + 0xf8], rbx
mov rdi, r14
test rdi, rdi
je 0x1400eadd4
nop dword [rax]
cmp word [rdi], 0x3b
je 0x1400ead6a
lea r15, [r13 + 0xc0]
mov r13, qword [r15 + 8]
cmp r13, qword [r15 + 0x10]
jb 0x1400eacef
lea rdx, [r13 + 1]
mov rcx, r15
call fcn.14001e350
test al, al
je 0x1400eb4cc
mov rax, qword [r15]
lea r12, [rax + r13*8]
mov qword [rsp + 0x50], r12
call fcn.1400195b0
mov rdx, rax
test rax, rax
je 0x1400eb4d7
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [r12], rax
mov rdx, rdi
mov rcx, r12
call fcn.140018bd0
test al, al
jne 0x1400ead57
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400ead40
mov rdx, rdi
mov rcx, r12
call fcn.140018f70
nop
inc qword [r15 + 8]
mov rcx, qword [rbp + 0xe8]
mov r13, qword [rsp + 0x60]
xor r12d, r12d
test r14, r14
jne 0x1400ead7e
mov r14, rcx
mov qword [rbp + 0xf0], rcx
mov rdi, rcx
jmp 0x1400eadc4
test rbx, rbx
je 0x1400eadcd
mov r14, rbx
mov qword [rbp + 0xf0], rbx
movzx eax, word [rbx]
test ax, ax
je 0x1400eadb7
cmp ax, si
je 0x1400eada0
add rbx, 2
jmp 0x1400ead8d
mov word [rbx], r12w
add rbx, 2
movzx eax, word [rbx]
test ax, ax
je 0x1400eadb7
cmp ax, si
je 0x1400eada0
jmp 0x1400eadba
mov rbx, r12
mov qword [rbp + 0xf8], rbx
mov rdi, r14
test rdi, rdi
jne 0x1400eacc0
mov r15, 0xffffffffffffffff
lea rdi, [r13 + 8]
mov rcx, qword [rdi]
call fcn.1400386f0
mov dword [r13 + 0x1b0], eax
mov dword [rsp + 0x50], r12d
lea rcx, [r13 + 0x1b8]
mov r8d, eax
lea rdx, [rsp + 0x50]
call fcn.140038840
mov dword [r13 + 0xe0], 0xc8
movd xmm0, dword [rsp + 0x50]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1402ae6f8]
cvttsd2si eax, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1402ae678]
movd xmm0, dword [r13 + 0x1b0]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [r13 + 0x1c0], xmm0
mov edx, 0x46e
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
mov qword [rbp - 0x5c], r12
mov dword [rbp - 0x54], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x60], 1
call fcn.140044940
mov rcx, rax
lea r8, str.TEXT
lea rdx, str.TEXT_ABOUTBOX_TAB1
call fcn.140048080
mov qword [rbp - 0x50], rax
lea r9, [rbp - 0x60]
xor r8d, r8d
mov edx, 0x133e
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, str.Open_Source_License
mov qword [rbp - 0x50], rax
lea r9, [rbp - 0x60]
mov edx, 0x133e
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea r12, [r13 + 0x180]
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, qword [rdi]
mov rdx, qword [0x1403043c8]
mov rcx, r12
call fcn.140063df0
mov rcx, r13
call fcn.1400ee220
xor r9d, r9d
lea edx, [rbx + 1]
lea r8d, [rbx + 0x64]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SetTimer]
movsxd rax, dword [r13 + 0x1b0]
test eax, eax
jne 0x1400eaf28
call fcn.140038150
movsxd rcx, dword [rax]
jmp 0x1400eaf2b
mov rcx, rax
movabs rax, 0x2aaaaaaaaaaaaaab
shl rcx, 3
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x1b8], eax
mov dword [rbp + 0x160], 0x5c
lea eax, [rdx + rdx*4]
shl eax, 2
mov dword [rbp + 0x16c], eax
mov eax, 0xa0000000
mov ecx, 0x20000000
test edx, edx
cmove eax, ecx
mov dword [rbp + 0x164], eax
lea rdx, str.Consolas
lea rcx, [rbp + 0x17a]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rbp + 0x160], 0x5c
lea r9, [rbp + 0x160]
mov edx, 0x444
mov r8d, 4
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
lea rax, vtable.XReadStream.0
mov qword [rbp + 0x110], rax
lea rax, vtable.XFileReadStream.0
mov qword [rbp + 0x110], rax
mov dword [rbp + 0x14c], ebx
mov ecx, 0x2000
call fcn.140203268
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x140], rbx
mov dword [rbp + 0x148], ebx
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x140], rbx
mov dword [rbp + 0x148], ebx
lea rcx, [rsp + 0x70]
call fcn.140022bf0
mov r13, rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rax]
mov rdx, qword [rcx - 0x18]
test rdx, rdx
je 0x1400eb0be
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x1400eb0e2
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x1400eb4e2
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x40], 1
lea rcx, str.data_ArkLicense.txt
mov rdi, r15
nop word [rax + rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x1400eb110
mov r13, qword [r13]
movsxd r14, dword [r13 - 0x10]
lea esi, [r14 + rdi]
test esi, esi
js 0x1400eb4b6
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, esi
or eax, ecx
jge 0x1400eb150
mov edx, esi
lea rcx, [rsp + 0x58]
call fcn.140018ec0
mov rbx, qword [rsp + 0x58]
add r14, r14
je 0x1400eb186
test rbx, rbx
je 0x1400eb176
mov r8, r14
mov rcx, rbx
test r13, r13
je 0x1400eb16f
mov rdx, r13
call fcn.1401f61a0
jmp 0x1400eb186
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
movsxd r8, edi
add r8, r8
lea rcx, [r14 + rbx]
je 0x1400eb1b5
test rcx, rcx
jne 0x1400eb1a9
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x1400eb1b5
lea rdx, str.data_ArkLicense.txt
call fcn.1401f61a0
cmp esi, dword [rbx - 0xc]
jg 0x1400eb4b6
mov dword [rbx - 0x10], esi
movsxd rax, esi
xor esi, esi
mov word [rbx + rax*2], si
mov rdx, rbx
lea rcx, [rbp + 0x110]
call fcn.14004a570
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400eb207
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400eb22d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, r12
call fcn.1400648a0
lea rdx, [rbp + 0x158]
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400eb3af
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x140], rax
test rax, rax
jle 0x1400eb3af
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], rsi
lea r8d, [rax + 1]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x110]
call fcn.140049f60
mov rdi, qword [rbp - 0x78]
mov rbx, rdi
test rdi, rdi
je 0x1400eb2b6
cmp byte [rdi], 0xef
jne 0x1400eb2b6
cmp byte [rdi + 1], 0xbb
jne 0x1400eb2b6
cmp byte [rdi + 2], 0xbf
jne 0x1400eb2b6
add rbx, 3
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x30]
call fcn.1401f6840
lea rax, [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov r8d, 0xfde9
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140049480
nop
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
mov rbx, qword [rbp - 0x30]
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400eb4ab
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140018bd0
test al, al
jne 0x1400eb34d
test rbx, rbx
jne 0x1400eb331
mov r8d, esi
jmp 0x1400eb33f
mov r8, r15
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400eb334
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140018f70
nop
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.1400641f0
mov rcx, qword [r12]
test rcx, rcx
je 0x1400eb38f
mov qword [rbp + 0x150], rsi
lea r9, [rbp + 0x150]
xor r8d, r8d
mov edx, 0x437
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x1400eb3a2
call fcn.140203254
nop
test rdi, rdi
je 0x1400eb3af
mov rcx, rdi
call fcn.140203254
call fcn.1400dfe10
cmp byte [rax + 0x14], 0
je 0x1400eb3db
lea r8, str.Microsoft_Store
mov edx, InitCommonControls
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rbx, qword [rsp + 0x60]
jmp 0x1400eb3e8
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.1400ebd00
mov rcx, rbx
call fcn.1400ed880
nop
lea rax, vtable.XFileReadStream.0
mov qword [rbp + 0x110], rax
cmp dword [rbp + 0x148], 0
je 0x1400eb422
mov rcx, qword [rbp + 0x118]
cmp rcx, 0xffffffffffffffff
je 0x1400eb422
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x118], r15
mov rcx, qword [rbp + 0x120]
call fcn.140203254
nop
lea rax, vtable.XReadStream.0
mov qword [rbp + 0x110], rax
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x1400eb44f
call fcn.140203254
nop
mov rdx, qword [rbp + 0xe0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x1400eb476
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
mov eax, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80070057
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x8007000e
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3