Function at 0x140031aa0
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r13, rdx
mov r12, r8
xor edx, edx
mov rdi, rcx
lea rcx, [rbp - 0x70]
mov r15d, 0x800b0100
lea r8d, [rdx + 0x50]
call fcn.1400a7960
xor eax, eax
mov dword [rbp - 0x20], 0xf750e6c3
xor r14d, r14d
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], r14d
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x58], rax
lea r8d, [rax + 1]
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 dword [rbp - 0x1c], 0x11d138ee
mov dword [rbp - 0x18], 0xc000e585
mov dword [rbp - 0x14], 0xee95c24f
mov qword [rbp - 0x10], rax
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x20], 3
call fcn.140021410
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140031e4c
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140031e43
cmp qword [rbp - 0x10], 0x2000000
jg 0x140031e43
mov ecx, 0x100
mov qword [rsp + 0x3c8], rbx
mov dword [rsp + 0x40], 0x100
call fcn.1400a5f88
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8, rax
mov rcx, rsi
mov rbx, rax
call qword [rdi + 8]
test eax, eax
jne 0x140031c2b
mov rcx, rbx
call fcn.1400a5a4c
mov ecx, dword [rsp + 0x40]
call fcn.1400a5f88
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8, rax
mov rcx, rsi
mov rbx, rax
call qword [rdi + 8]
test eax, eax
jne 0x140031c2b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.1400a5a4c
mov eax, 1
mov rbx, qword [rsp + 0x3c8]
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400a5660
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call qword [rdi + 0x10]
test eax, eax
je 0x140031bf4
mov eax, dword [0x1400f9bf0]
movaps xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________]
movaps xmm1, xmmword [0x1400f9bc0]
mov dword [rbp + 0x250], eax
movzx eax, word [0x1400f9bf4]
mov word [rbp + 0x254], ax
mov eax, dword [rsp + 0x40]
movaps xmmword [rbp + 0x210], xmm0
movaps xmm0, xmmword [0x1400f9bd0]
movaps xmmword [rbp + 0x220], xmm1
movaps xmm1, xmmword [0x1400f9be0]
lea ecx, [rax*2 + 1]
mov eax, 2
movaps xmmword [rbp + 0x230], xmm0
mul rcx
movaps xmmword [rbp + 0x240], xmm1
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a5f88
mov r9d, dword [rsp + 0x40]
mov rsi, rax
test r9d, r9d
je 0x140031d10
mov rdx, rbx
mov r8, rax
movzx eax, byte [rdx]
lea r8, [r8 + 4]
shr rax, 4
movsx eax, byte [rbp + rax + 0x210]
mov word [r8 - 4], ax
movzx eax, byte [rdx]
inc rdx
and eax, 0xf
mov rcx, rdx
sub rcx, rbx
movsx eax, byte [rbp + rax + 0x210]
mov word [r8 - 2], ax
mov r9d, dword [rsp + 0x40]
cmp rcx, r9
jb 0x140031cd2
lea eax, [r9 + r9]
mov qword [rsp + 0x20], r14
mov word [rsi + rax*2], r14w
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [rdi + 0x18]
mov rcx, rbx
mov r14, rax
call fcn.1400a5a4c
test r14, r14
je 0x140031e24
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x20c
call fcn.1400a7960
xor r8d, r8d
lea rdx, [rbp]
mov rcx, r14
call qword [rdi + 0x20]
test eax, eax
je 0x140031e16
cmp byte [rdi], 0
lea rax, [rbp + 4]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x48], rax
mov dword [rsp + 0x50], 0x40
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], rsi
mov dword [rbp - 0x70], 0x50
mov dword [rbp - 0x58], 2
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x50], 2
mov dword [rbp - 0x40], 1
je 0x140031dc0
or dword [rbp - 0x28], 0x1200
jmp 0x140031dc4
or dword [rbp - 0x28], 0x10
lea r8, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
lea rdx, [rbp - 0x20]
call qword [rdi + 0x48]
mov r15d, eax
test r12, r12
je 0x140031dfd
xor eax, eax
mov word [r12], ax
cmp r15d, 0x800b0100
je 0x140031dfd
mov rdx, qword [rbp - 0x38]
mov r8, r12
mov rcx, rdi
call fcn.140031950
lea r8, [rbp - 0x70]
mov dword [rbp - 0x40], 2
lea rdx, [rbp - 0x20]
mov rcx, 0xffffffffffffffff
call qword [rdi + 0x48]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, r14
call qword [rdi + 0x28]
mov rcx, rsi
call fcn.1400a5a4c
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [rdi + 0x30]
mov edx, r15d
call fcn.140031e60
jmp 0x140031c01
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140031c09