Function at 0x1400ed110
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r13, rcx
mov qword [rbp + 0xd8], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xor edx, edx
add rcx, 8
call fcn.1400186f0
call fcn.140044d30
mov rcx, rax
mov r8d, 0xc5
mov rdx, qword [r13 + 8]
call fcn.140047fb0
mov qword [rbp + 0xd0], r12
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1400edb79
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbp + 0xd0], rax
call fcn.14012bfe0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.14012da40
mov rbx, rax
call fcn.14012bfe0
lea rcx, [0x1402670d8]
lea r8, [0x1402670e0]
cmp dword [rax + 0x88], r12d
cmovne r8, rcx
mov r9, qword [rbx]
lea rdx, [0x14029a288]
lea rcx, [rbp + 0xd0]
call fcn.14001c4c0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov r15, 0xffffffffffffffff
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ed223
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov qword [rbp + 0xf0], r12
mov word [rbp + 0xf8], r12w
call fcn.140166630
lea rdx, [0x14026a590]
mov rcx, qword [rax + 0x508]
call fcn.14020ca3c
mov ecx, 0xae2
mov r9d, 0xe81
test eax, eax
cmovne r9d, ecx
mov r8d, 0xa
lea rcx, [0x140301cd2]
lea rdx, [0x1403032a2]
cmovne rdx, rcx
lea rcx, [rbp + 0xe0]
call fcn.140049760
movzx esi, word [rbp + 0xf8]
mov rcx, qword [rbp + 0xe0]
cmp qword [rbp + 0xe8], 0
jne 0x1400ed2da
mov r14, rcx
mov qword [rbp + 0xe8], rcx
mov rdi, rcx
mov rbx, qword [rbp + 0xf0]
jmp 0x1400ed322
mov r14, qword [rbp + 0xf0]
test r14, r14
je 0x1400ed457
mov qword [rbp + 0xe8], r14
mov rbx, r14
movzx eax, word [r14]
test ax, ax
je 0x1400ed315
nop dword [rax]
cmp ax, si
je 0x1400ed3f0
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x1400ed300
mov rbx, r12
mov qword [rbp + 0xf0], rbx
mov rdi, r14
test rdi, rdi
je 0x1400ed457
nop dword [rax + rax]
cmp word [rdi], 0x3b
je 0x1400ed3dc
lea r15, [r13 + 0xc0]
mov r13, qword [r15 + 8]
cmp r13, qword [r15 + 0x10]
jb 0x1400ed35f
lea rdx, [r13 + 1]
mov rcx, r15
call fcn.14001e4d0
test al, al
je 0x1400edb84
mov rax, qword [r15]
lea r12, [rax + r13*8]
mov qword [rsp + 0x50], r12
call fcn.140019590
mov rdx, rax
test rax, rax
je 0x1400edb8f
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [r12], rax
mov rdx, rdi
mov rcx, r12
call fcn.140018bb0
test al, al
jne 0x1400ed3c7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400ed3b0
mov rdx, rdi
mov rcx, r12
call fcn.140018f50
nop
inc qword [r15 + 8]
mov r13, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xe0]
xor r12d, r12d
test r14, r14
jne 0x1400ed40e
mov r14, rcx
mov qword [rbp + 0xe8], rcx
mov rdi, rcx
jmp 0x1400ed447
mov word [rbx], r12w
add rbx, 2
movzx eax, word [rbx]
test ax, ax
je 0x1400ed315
cmp ax, si
je 0x1400ed3f0
jmp 0x1400ed318
test rbx, rbx
je 0x1400ed450
mov r14, rbx
mov qword [rbp + 0xe8], rbx
movzx eax, word [rbx]
test ax, ax
je 0x1400ed43a
cmp ax, si
je 0x1400ed5b0
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x1400ed425
mov rbx, r12
mov qword [rbp + 0xf0], rbx
mov rdi, r14
test rdi, rdi
jne 0x1400ed330
mov r15, 0xffffffffffffffff
mov rcx, qword [r13 + 8]
call fcn.140038c80
mov dword [r13 + 0x1b0], eax
mov dword [rsp + 0x50], r12d
lea rcx, [r13 + 0x1b8]
mov r8d, eax
lea rdx, [rsp + 0x50]
call fcn.140038dd0
mov dword [r13 + 0xe0], 0xc8
movd xmm0, dword [rsp + 0x50]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1402b43c8]
cvttsd2si eax, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x1402b4348]
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 [r13 + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
mov qword [rbp - 0x6c], r12
mov dword [rbp - 0x64], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x70], 1
call fcn.140044d30
mov rcx, rax
lea r8, str.TEXT
lea rdx, str.TEXT_ABOUTBOX_TAB1
call fcn.140048480
mov qword [rbp - 0x60], rax
lea r9, [rbp - 0x70]
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 - 0x60], rax
lea r9, [rbp - 0x70]
mov edx, 0x133e
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, qword [r13 + 8]
mov rdx, qword [0x14030a4c8]
lea rcx, [r13 + 0x180]
call fcn.140065e90
mov rcx, r13
call fcn.1400f08f0
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 0x64]
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SetTimer]
movsxd rax, dword [r13 + 0x1b0]
test eax, eax
jne 0x1400ed5ce
call fcn.1400386e0
movsxd rcx, dword [rax]
jmp 0x1400ed5d1
mov word [rbx], r12w
add rbx, 2
movzx eax, word [rbx]
test ax, ax
je 0x1400ed43a
cmp ax, si
je 0x1400ed5b0
jmp 0x1400ed43d
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 + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], rax
mov dword [rbp + 0x1a8], eax
mov dword [rbp + 0x150], 0x5c
lea eax, [rdx + rdx*4]
shl eax, 2
mov dword [rbp + 0x15c], eax
mov eax, 0xa0000000
mov ecx, 0x20000000
test edx, edx
cmove eax, ecx
mov dword [rbp + 0x154], eax
lea rdx, str.Consolas
lea rcx, [rbp + 0x16a]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rbp + 0x150], 0x5c
lea r9, [rbp + 0x150]
mov edx, 0x444
mov r8d, 4
mov rcx, qword [r13 + 0x180]
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
lea rax, vtable.XReadStream.0
mov qword [rbp + 0x100], rax
lea rax, vtable.XFileReadStream.0
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x13c], r12d
mov ecx, 0x2000
call fcn.140207158
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x128], r12
mov qword [rbp + 0x108], r15
mov qword [rbp + 0x130], r12
mov dword [rbp + 0x138], r12d
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x128], r12
mov qword [rbp + 0x108], r15
mov qword [rbp + 0x130], r12
mov dword [rbp + 0x138], r12d
lea rcx, [rsp + 0x68]
call fcn.140022cf0
mov r12, rax
mov qword [rsp + 0x58], 0
mov rcx, qword [rax]
mov rdx, qword [rcx - 0x18]
test rdx, rdx
je 0x1400ed76e
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038ca6.0]
mov rcx, rax
test rax, rax
jne 0x1400ed792
call fcn.140019590
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038ca6.0]
mov rcx, rax
test rax, rax
je 0x1400edb9a
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.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 0x1400ed7c0
mov r12, qword [r12]
movsxd r14, dword [r12 - 0x10]
lea esi, [r14 + rdi]
test esi, esi
js 0x1400edb6e
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, esi
or eax, ecx
jge 0x1400ed801
mov edx, esi
lea rcx, [rsp + 0x58]
call fcn.140018ea0
mov rbx, qword [rsp + 0x58]
add r14, r14
je 0x1400ed837
test rbx, rbx
je 0x1400ed827
mov r8, r14
mov rcx, rbx
test r12, r12
je 0x1400ed820
mov rdx, r12
call fcn.14022e460
jmp 0x1400ed837
xor edx, edx
call fcn.14022eb00
call fcn.1401fed34
mov dword [rax], 0x16
call fcn.1401feb94
movsxd r8, edi
add r8, r8
lea rcx, [r14 + rbx]
je 0x1400ed866
test rcx, rcx
jne 0x1400ed85a
call fcn.1401fed34
mov dword [rax], 0x16
call fcn.1401feb94
jmp 0x1400ed866
lea rdx, str.data_ArkLicense.txt
call fcn.14022e460
cmp esi, dword [rbx - 0xc]
jg 0x1400edb6e
mov dword [rbx - 0x10], esi
movsxd rax, esi
xor esi, esi
mov word [rbx + rax*2], si
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.14004a980
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 0x1400ed8b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ed8de
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
lea rcx, [r13 + 0x180]
call fcn.140066940
lea rdx, [rbp + 0x140]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400eda75
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x130], rax
test rax, rax
jle 0x1400eda75
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rsi
lea r8d, [rax + 1]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x100]
call fcn.14004a3a0
mov rdi, qword [rsp + 0x78]
mov rbx, rdi
test rdi, rdi
je 0x1400ed96f
cmp byte [rdi], 0xef
jne 0x1400ed96f
cmp byte [rdi + 1], 0xbb
jne 0x1400ed96f
cmp byte [rdi + 2], 0xbf
jne 0x1400ed96f
add rbx, 3
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call fcn.14022eb00
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
mov r8d, 0xfde9
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140049890
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rbx, qword [rbp - 0x40]
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1400edb63
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140018bb0
test al, al
jne 0x1400eda09
test rbx, rbx
jne 0x1400ed9eb
mov r8d, esi
jmp 0x1400ed9fb
mov r8, r15
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400ed9f0
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140018f50
nop
lea rcx, [r13 + 0x180]
lea rdx, [rsp + 0x48]
call fcn.140066290
mov rcx, qword [r13 + 0x180]
test rcx, rcx
je 0x1400eda55
mov qword [rbp + 0xd8], rsi
lea r9, [rbp + 0xd8]
xor r8d, r8d
mov edx, 0x437
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [r13 + 0x180]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
cmp rcx, rax
je 0x1400eda68
call fcn.140207144
nop
test rdi, rdi
je 0x1400eda75
mov rcx, rdi
call fcn.140207144
call fcn.1400e2200
cmp byte [rax + 0x14], 0
je 0x1400eda98
lea r8, str.Microsoft_Store
mov edx, InitCommonControls
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x1400edaa0
mov rcx, r13
call fcn.1400ee3c0
mov rcx, r13
call fcn.1400eff50
nop
lea rax, vtable.XFileReadStream.0
mov qword [rbp + 0x100], rax
cmp dword [rbp + 0x138], 0
je 0x1400edada
mov rcx, qword [rbp + 0x108]
cmp rcx, 0xffffffffffffffff
je 0x1400edada
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x108], r15
mov rcx, qword [rbp + 0x110]
call fcn.140207144
nop
lea rax, vtable.XReadStream.0
mov qword [rbp + 0x100], rax
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x1400edb07
call fcn.140207144
nop
mov rdx, qword [rbp + 0xd0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x1400edb2e
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038ca6.0]
mov eax, 1
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401f74b0
lea r11, [rsp + 0x2c0]
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.140019300
nop
mov ecx, 0x80070057
call fcn.140019300
nop
mov ecx, 0x80004005
call fcn.140019300
nop
mov ecx, 0x8007000e
call fcn.140019300
int3
mov ecx, 0x80004005
call fcn.140019300
nop
mov ecx, 0x80004005
call fcn.140019300
int3