Function at 0x140017030
Capabilities:
Get file size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f60]
mov eax, 0x2060
call fcn.1401b7a40
sub rsp, rax
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
mov r12, r8
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x750]
mov r15, r9
call fcn.1401bcf80
mov rbx, 0xffffffffffffffff
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rsi + r9], 0
jne 0x140017090
lea rax, [rbp + 0x750]
mov dword [rsp + 0x28], 0x104
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, 0x5c
lea rcx, [rbp + 0x750]
call fcn.1401bc150
mov r14, rax
test rax, rax
je 0x14001730a
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x400
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x1750]
mov r8d, 0x800
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0xf50]
mov r8d, 0x800
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x400
call fcn.1401bcf80
lea r8, [r14 + 2]
mov edx, 0x400
lea rcx, [rbp + 0xf50]
call fcn.1401c981c
mov r8d, dword [0x1403b0ec0]
lea rdx, [0x140266f68]
inc r8d
lea rcx, [rbp + 0x1750]
mov dword [0x1403b0ec0], r8d
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, dword [0x1403b0ec0]
lea rdx, str.._03d
lea rcx, [rbp + 0x350]
call fcn.140014d80
lea r8, [rbp + 0x1750]
mov edx, 0x400
lea rcx, [rbp + 0xf50]
call fcn.1401c9974
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
xor r8d, r8d
mov edx, 0x20000
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
test rax, rax
je 0x14001730a
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001730a
cmp dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x40]
jne 0x14001727f
cmp eax, 0x4c4b40
jae 0x14001727f
cmp byte [rbp + 0x1fc0], 0
je 0x14001721d
lea r9, [rsp + 0x50]
mov edx, 0x400
lea r8, str.CRYPTED__s_r_n
lea rcx, [rsp + 0x50]
call fcn.14000ca40
lea r8, [rbp + 0x750]
lea rdx, [rbp + 0xf50]
call fcn.1400344e0
test eax, eax
jne 0x140017273
lea edx, [rax + 0x5c]
mov rcx, rsi
call fcn.1401bc8b8
lea rcx, [rbp + 0x350]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
lea r8, str.captured:__s_file:__s_s__Zip_CRC:__s_r_n
inc rax
lea rcx, [rsp + 0x50]
mov r9, rsi
mov qword [rsp + 0x20], rax
mov edx, 0x400
call fcn.14000ca40
jmp 0x1400172c0
mov r9, rsi
lea r8, str.not_captured:__s___NAK_r_n
jmp 0x1400172b1
mov r9, rsi
mov dword [rsp + 0x20], eax
lea r8, str.not_captured:__s___too_big:__lu_r_n
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14000ca40
cmp byte [rbp + 0x1fc0], 0
je 0x1400172c0
lea r9, [rsp + 0x50]
lea r8, str.CRYPTED__s_r_n
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14000ca40
lea r8, [rsp + 0x50]
mov edx, 0x400
mov rcx, rdi
call fcn.14000ca40
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x1400172d5
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400172e0
mov dword [rsp + 0x28], eax
mov r9, rbx
mov r8, rdi
mov qword [rsp + 0x20], r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, r15
call fcn.140024850
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.1401b6fc0
add rsp, 0x2060
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret