Function at 0x14011e230
Capabilities:
Get file size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rcx
xor r14d, r14d
mov qword [rcx + 0x58], r14
cmp byte [rcx + 0x48], r14b
je 0x14011e549
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14011e35b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x14011e555
lea rdx, str.CUploadSource::Initialize:__SetFilePointer__1___failed
lea rcx, [rbp - 0x70]
call fcn.140008a10
nop
lea rcx, [rbx + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x50], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011e337
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e332
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e584
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rcx, [rbp - 0x70]
call fcn.14000ac40
xor al, al
jmp 0x14011e557
lea rdi, [rbx + 0x28]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14011e36c
mov rcx, qword [rdi]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov rcx, qword [rbx + 8]
cmp rax, rcx
je 0x14011e3b2
cmp rcx, 0xffffffffffffffff
je 0x14011e3ab
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, rsi
cmp rcx, 0xffffffffffffffff
jne 0x14011e473
lea rdx, str.CUploadSource::Initialize:__CreateFile__1___failed
lea rcx, [rbp - 0x70]
call fcn.140008a10
nop
mov qword [rsp + 0x48], rdi
lea rcx, [fcn.140005090]
mov qword [rsp + 0x50], rcx
lea rcx, [0x1400050b0]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011e44f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e44a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e58a
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rcx, [rbp - 0x70]
call fcn.14000ac40
xor al, al
jmp 0x14011e557
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [rbx + 0x50], rax
cmp dword [rsp + 0x40], r14d
je 0x14011e555
lea rdx, str.CUploadSource::Initialize:__FileSizeHigh_1_____large_files_not_supported
lea rcx, [rbp - 0x70]
call fcn.140008a10
nop
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rcx
lea rcx, [fcn.140005090]
mov qword [rsp + 0x50], rcx
lea rcx, [0x1400410f0]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140005380
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.140018cb0
nop
mov rcx, rax
call fcn.14011d9d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14011e528
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e523
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e57e
call fcn.1400bece8
movdqa xmm0, xmmword [0x14013b000]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rcx, [rbp - 0x70]
call fcn.14000ac40
xor al, al
jmp 0x14011e557
mov rax, qword [rcx + 0x18]
sub rax, qword [rcx + 0x10]
mov qword [rcx + 0x50], rax
mov al, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400bf400
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3