Function at 0x1400263ac
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, rcx
xor r12d, r12d
xor r15d, r15d
mov dword [rsp + 0x88], r12d
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x90], r15d
mov ecx, 0x698
mov edx, 0x1b66
mov r13, rdi
xor ebx, ebx
call fcn.1400013f4
mov rsi, rax
test rax, rax
je 0x1400266da
mov rcx, qword [r14 + 0x10]
add rax, 0x658
mov qword [rsp + 0x30], rax
call fcn.140004f6c
mov qword [rsp + 0x98], rax
cmp rax, rdi
jne 0x140026451
lea ecx, [rbx + 2]
call fcn.14000612c
mov r8, qword [r14 + 0x10]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [r14]
xor r8d, r8d
mov rdx, rsi
call fcn.140003fd0
mov rbp, qword [rsp + 0x98]
jmp 0x1400266dd
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, 0x1b67
mov ebx, eax
lea ecx, [rax + 1]
call fcn.1400013f4
mov rbp, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400266d5
mov r8d, ebx
mov rdx, rax
mov rcx, rbp
call fcn.140004f44
test eax, eax
jns 0x1400264c5
mov ecx, 4
call fcn.14000612c
mov r8, qword [r14 + 0x10]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [r14]
xor r8d, r8d
mov rdx, rsi
call fcn.140003fd0
mov rbx, qword [rsp + 0x20]
jmp 0x1400266dd
mov rdi, qword [rsp + 0x20]
mov rcx, rbp
cdqe
mov byte [rax + rdi], r12b
call fcn.140004ef4
or qword [rsp + 0x98], 0xffffffffffffffff
mov rbx, rdi
mov qword [rsp + 0x28], rdi
xor edx, edx
movzx edi, byte [rdi]
test edi, edi
je 0x1400266d0
cmp edi, 0x22
je 0x14002663c
cmp edi, 0x27
je 0x14002663c
cmp edi, 0x2f
jne 0x140026551
mov al, byte [rbx + 1]
cmp al, dil
je 0x140026540
cmp al, 0x2a
jne 0x140026551
lea rcx, [rbx + 2]
xor edx, edx
call fcn.1400285c8
mov rcx, qword [rsp + 0x28]
mov rbx, rax
xor edx, edx
jmp 0x140026653
cmp eax, 0xd
je 0x140026547
cmp eax, 0xa
je 0x140026547
inc rbx
movzx eax, byte [rbx]
test eax, eax
jne 0x140026533
mov rcx, qword [rsp + 0x28]
jmp 0x140026653
mov ecx, edi
call fcn.1400260f8
xor edx, edx
test eax, eax
je 0x140026637
mov qword [rsp + 0x38], rbx
lea ebp, [rdx + 0x40]
mov r12, rbx
lea r15, [rsi + 0x618]
movzx ebx, byte [rbx]
test ebx, ebx
je 0x1400265a5
mov ecx, ebx
call fcn.14002614c
xor edx, edx
test eax, eax
je 0x1400265a1
inc r12
cmp ebp, 1
jle 0x140026598
mov byte [r15], bl
inc r15
dec ebp
movzx ebx, byte [r12]
test ebx, ebx
jne 0x14002657b
test ebp, ebp
jle 0x1400265a8
mov byte [r15], dl
mov rbp, qword [rsp + 0x30]
lea rdx, [rsi + 0x618]
mov r15d, dword [rsp + 0x90]
mov r8, rbp
mov r9d, r15d
mov rcx, r14
mov rbx, r12
call fcn.140027010
xor edx, edx
test eax, eax
je 0x140026649
inc dword [rsp + 0x88]
cmp r13, 0xffffffffffffffff
jne 0x1400265fe
mov rcx, r14
call fcn.140026968
mov rcx, qword [r14 + 0x10]
call fcn.140004f14
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140026691
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
jbe 0x14002661d
sub ecx, eax
mov rdx, rax
mov r8d, ecx
mov rcx, r13
call fcn.140004fcc
xor r8d, r8d
mov rdx, rbp
mov rcx, r13
call fcn.14000aef4
mov rcx, r12
xor edx, edx
mov qword [rsp + 0x28], rcx
jmp 0x14002664e
inc rbx
jmp 0x140026649
mov rcx, rbx
call fcn.140028608
mov rbx, rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
cmp edi, 0x20
jbe 0x140026669
cmp r15d, 0x23
jne 0x14002665f
cmp edi, r15d
cmove edi, edx
mov r15d, edi
mov dword [rsp + 0x90], edi
movzx edi, byte [rbx]
test edi, edi
jne 0x1400264f6
cmp r13, 0xffffffffffffffff
je 0x1400266b9
cmp rbx, rcx
jbe 0x1400266b9
sub ebx, ecx
mov rdx, rcx
mov r8d, ebx
mov rcx, r13
call fcn.140004fcc
jmp 0x1400266b9
mov ecx, 3
call fcn.14000612c
mov r8, qword [r14 + 0x10]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [r14]
xor r8d, r8d
mov rdx, rsi
call fcn.140003fd0
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x98]
mov r12d, dword [rsp + 0x88]
jmp 0x1400266dd
jmp 0x140026444
mov rbx, rax
jmp 0x1400266dd
mov rbp, rdi
mov rcx, rbp
call fcn.140004ef4
mov rcx, r13
call fcn.140004ef4
mov rcx, rsi
call fcn.14000522c
mov rcx, rbx
call fcn.14000522c
mov rbx, qword [rsp + 0x80]
mov eax, r12d
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret