Function at 0x14007b530
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
je 0x14007b013
xor eax, eax
mov word [r8], ax
cmp qword [rcx + 0x48], 0
jne 0x14007b01f
call fcn.14007ae00
cmp qword [rbx + 0x48], 0
je 0x14007b095
cmp qword [rbx + 8], 0
je 0x14007b095
cmp qword [rbx + 0x10], 0
je 0x14007b095
cmp qword [rbx + 0x18], 0
je 0x14007b095
cmp qword [rbx + 0x20], 0
je 0x14007b095
cmp qword [rbx + 0x28], 0
je 0x14007b095
cmp qword [rbx + 0x30], 0
je 0x14007b095
cmp qword [rbx + 0x38], 0
je 0x14007b095
cmp qword [rbx + 0x40], 0
je 0x14007b095
cmp qword [rbx + 0x50], 0
je 0x14007b095
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14007b3b0
cmp eax, 1
jne 0x14007b097
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14007b530
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x260], rax
xor eax, eax
xor r14d, r14d
mov r13, rdx
mov r12, r8
mov rbx, rcx
lea r8d, [r14 + 1]
mov edx, 0x80000000
mov rcx, r13
mov dword [rsp + 0x28], r14d
mov r15d, 0x800b0100
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], r14d
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], eax
mov dword [rbp - 0x20], 0xf750e6c3
mov dword [rbp - 0x1c], 0x11d138ee
mov dword [rbp - 0x18], 0xc000e585
mov dword [rbp - 0x14], 0xee95c24f
mov qword [rbp - 0x10], r14
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x20], 3
call fcn.140063060
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007b907
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14007b8fe
cmp qword [rbp - 0x10], 0x2000000
jg 0x14007b8fe
mov ecx, 0x100
mov qword [rsp + 0x3c8], rdi
mov dword [rsp + 0x40], 0x100
call fcn.1400bbc88
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8, rax
mov rcx, rsi
mov rdi, rax
call qword [rbx + 8]
test eax, eax
jne 0x14007b6d7
mov rcx, rdi
call fcn.1400bd2dc
mov ecx, dword [rsp + 0x40]
call fcn.1400bbc88
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8, rax
mov rcx, rsi
mov rdi, rax
call qword [rbx + 8]
test eax, eax
jne 0x14007b6d7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400bd2dc
mov eax, 1
mov rdi, qword [rsp + 0x3c8]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400bcae0
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
xor r8d, r8d
call qword [rbx + 0x10]
test eax, eax
je 0x14007b6a0
mov eax, dword [0x14012f010]
movaps xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________]
movaps xmm1, xmmword [0x14012efe0]
mov dword [rbp + 0x250], eax
movzx eax, word [0x14012f014]
mov word [rbp + 0x254], ax
mov eax, dword [rsp + 0x40]
movaps xmmword [rbp + 0x210], xmm0
movaps xmm0, xmmword [0x14012eff0]
movaps xmmword [rbp + 0x220], xmm1
lea ecx, [rax*2 + 1]
mov eax, 2
movaps xmm1, xmmword [0x14012f000]
movaps xmmword [rbp + 0x230], xmm0
mul rcx
mov rcx, 0xffffffffffffffff
movaps xmmword [rbp + 0x240], xmm1
cmovo rax, rcx
mov rcx, rax
call fcn.1400bbc88
mov r9d, dword [rsp + 0x40]
mov rsi, rax
test r9d, r9d
je 0x14007b7ce
mov r10, rdi
mov rdx, rdi
mov r8, rax
neg r10
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
lea r8, [r8 + 4]
shr rax, 4
lea rcx, [r10 + rdx]
movsx eax, byte [rbp + rax + 0x210]
mov word [r8 - 4], ax
movzx eax, byte [rdx - 1]
and eax, 0xf
movsx eax, byte [rbp + rax + 0x210]
mov word [r8 - 2], ax
mov r9d, dword [rsp + 0x40]
cmp rcx, r9
jb 0x14007b790
lea eax, [r9 + r9]
mov rdx, rdi
xor r9d, r9d
mov word [rsi + rax*2], r14w
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], r14
call qword [rbx + 0x18]
mov rcx, rdi
mov r14, rax
call fcn.1400bd2dc
test r14, r14
je 0x14007b8df
lea rcx, [rbp + 4]
xor edi, edi
xor edx, edx
mov r8d, 0x208
mov dword [rbp], edi
call fcn.1400c2130
lea rdx, [rbp]
xor r8d, r8d
mov rcx, r14
call qword [rbx + 0x20]
test eax, eax
je 0x14007b8d1
lea rax, [rbp + 4]
mov dword [rbp - 0x60], 0x40
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], rsi
mov dword [rsp + 0x50], 0x50
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x6c], 1
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 2
mov dword [rbp - 0x80], 1
cmp byte [rbx], dil
je 0x14007b883
or dword [rbp - 0x68], 0x1200
jmp 0x14007b887
or dword [rbp - 0x68], 0x10
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
or rcx, 0xffffffffffffffff
call qword [rbx + 0x48]
mov r15d, eax
test r12, r12
je 0x14007b8ba
mov word [r12], di
cmp eax, 0x800b0100
je 0x14007b8ba
mov rdx, qword [rbp - 0x78]
mov r8, r12
mov rcx, rbx
call fcn.14007b260
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
or rcx, 0xffffffffffffffff
mov dword [rbp - 0x80], 2
call qword [rbx + 0x48]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, r14
call qword [rbx + 0x28]
mov rcx, rsi
call fcn.1400bd2dc
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [rbx + 0x30]
mov edx, r15d
call fcn.14007b920
jmp 0x14007b6ad
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14007b6b5