Function at 0x1400015d0
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x30
mov ebx, ecx
call fcn.1400018a0
mov rcx, qword [0x140005040]
mov ebp, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getc]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14000161e
lea ecx, [rax + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Premature_EOF_in_JPEG_file
lea rdx, [0x14000325c]
call fcn.140001010
lea ecx, [rsi + 2]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
call fcn.1400018a0
mov r14d, eax
call fcn.1400018a0
mov rcx, qword [0x140005040]
mov r15d, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14000167a
lea ecx, [rax + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Premature_EOF_in_JPEG_file
lea rdx, [0x14000325c]
call fcn.140001010
lea ecx, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea eax, [rbx - 0xc0]
cmp eax, 0xf
ja case.0x14000169c.196
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x1860]
add rcx, rdx
jmp rcx
lea rbx, str.Baseline
jmp 0x14000171a
lea rbx, str.Extended_sequential
jmp 0x14000171a
lea rbx, str.Progressive
jmp 0x14000171a
lea rbx, str.Lossless
jmp 0x14000171a
lea rbx, str.Differential_sequential
jmp 0x14000171a
lea rbx, str.Differential_progressive
jmp 0x14000171a
lea rbx, str.Differential_lossless
jmp 0x14000171a
lea rbx, str.Extended_sequential__arithmetic_coding
jmp 0x14000171a
lea rbx, str.Progressive__arithmetic_coding
jmp 0x14000171a
lea rbx, str.Lossless__arithmetic_coding
jmp 0x14000171a
lea rbx, str.Differential_sequential__arithmetic_coding
jmp 0x14000171a
lea rbx, str.Differential_progressive__arithmetic_coding
jmp 0x14000171a
lea rbx, str.Differential_lossless__arithmetic_coding
jmp 0x14000171a
lea rbx, str.Unknown
mov r9d, edi
mov dword [rsp + 0x20], esi
mov r8d, r14d
lea rcx, str.JPEG_image_is__uw___uh___d_color_components___d_bits_per_sample_n
mov edx, r15d
call fcn.140001420
mov rdx, rbx
lea rcx, str.JPEG_process:__s_n
call fcn.140001420
lea eax, [rdi + 4]
lea eax, [rdi + rax*2]
cmp ebp, eax
je 0x140001779
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Bogus_SOF_marker_length
lea rdx, [0x14000325c]
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
test edi, edi
jle 0x1400017c0
nop
mov rcx, qword [0x140005040]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getc]
cmp eax, 0xffffffff
je 0x140001831
mov rcx, qword [0x140005040]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getc]
cmp eax, 0xffffffff
je 0x140001804
mov rcx, qword [0x140005040]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getc]
cmp eax, 0xffffffff
je 0x1400017d7
inc ebx
cmp ebx, edi
jl 0x140001780
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
add rsp, 0x30
pop rsi
pop rbp
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Premature_EOF_in_JPEG_file
lea rdx, [0x14000325c]
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Premature_EOF_in_JPEG_file
lea rdx, [0x14000325c]
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Premature_EOF_in_JPEG_file
lea rdx, [0x14000325c]
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3