Function at 0x4de080
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
push edi
xor edi, edi
mov ebp, 0x7a916c
nop dword [eax]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
jne 0x4de090
mov eax, dword [0x7a8b80]
test al, al
je 0x4de327
cmp byte [0x7a8bd0], 0
je 0x4de0d2
push 0x1f9
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push str._jas_global.initialized
call fcn.006adcf2
mov eax, dword [0x7a8b80]
add esp, 0xc
movups xmm0, xmmword [0x7a8b80]
movups xmmword [0x7a8ba8], xmm0
movups xmm0, xmmword [0x7a8b90]
movups xmmword [0x7a8bb8], xmm0
movq xmm0, qword [0x7a8ba0]
movq qword [0x7a8bc8], xmm0
test al, al
jne 0x4de119
push 0x1fc
push str.C:DeveloperVisual_Package_vcpkg_buildtreesjasper_src5eb260a2e4_ca02e25be6.clean_srclibjasper_basejas_init.c
push str.jas_global.conf.initialized
call fcn.006adcf2
add esp, 0xc
push esi
call fcn.004e5650
cmp byte [0x7a8bb8], 0
jne 0x4de13c
mov esi, eax
mov ecx, 0x40000000
shr esi, 1
cmove esi, ecx
mov dword [0x7a8bb4], esi
jmp 0x4de142
mov esi, dword [0x7a8bb4]
cmp esi, eax
jbe 0x4de155
push eax
push esi
push str.WARNING:_JasPer_memory_limit_set_to_EXCESSIVELY_LARGE_value__i.e.__limit_exceeds_system_memory_size___zu____zu__n
call fcn.004f70b0
add esp, 0xc
mov eax, dword [0x7a8b9c]
mov dword [0x7a9168], eax
mov eax, dword [0x7a8ba0]
push 0x580
mov dword [0x7a8bdc], eax
mov eax, dword [0x7a8ba4]
push 0
push 0x7a8be8
mov dword [0x7a9170], edi
mov dword [0x7a9174], edi
mov dword [0x7a8be0], eax
mov dword [0x7a8be4], edi
call fcn.00690e10
mov eax, dword [0x7a8bac]
add esp, 0xc
cmp byte [0x7a8bb0], 0
mov dword [0x7a8bd8], 0x7a8bdc
je 0x4de1e7
test eax, eax
jne 0x4de1c7
push 0x7a917c
call fcn.004e59b0
add esp, 4
mov eax, 0x7a917c
push dword [0x7a8bb4]
push eax
push 0x7a919c
call fcn.004e5070
add esp, 0xc
mov dword [0x7a9178], 0x7a919c
jmp 0x4de209
test eax, eax
jne 0x4de204
push 0x7a917c
call fcn.004e59b0
add esp, 4
mov dword [0x7a9178], 0x7a917c
jmp 0x4de209
mov dword [0x7a9178], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4de30a
mov dword [0x7a9170], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4de30a
mov ecx, dword [0x7a8bd8]
mov dword [0x7a9174], eax
mov eax, dword [0x7a8bc4]
mov dword [ecx + 0x58c], eax
mov ecx, dword [0x7a8bd8]
mov eax, dword [0x7a8bc8]
mov dword [ecx], eax
mov eax, dword [0x7a8bd8]
mov dword [eax + 8], edi
xor eax, eax
mov byte [0x7a8bd0], 1
xchg dword [ebp], eax
call fcn.004dde30
cmp eax, 1
jl 0x4de287
push 0
push 0
push 4
push str.4.0.0
push str.JasPer_library_version:__s___d._d._d__n
push 1
call fcn.004f70e0
add esp, 0x18
cmp byte [0x7a8bb8], 0
jne 0x4de2b2
push str.warning:_The_application_program_did_not_set_the_memory_limit_for_the_JasPer_library._n
call fcn.004f70b0
push str.warning:_The_JasPer_memory_limit_is_being_defaulted_to_a_value_that_may_be_inappropriate_for_the_system.__If_the_default_is_too_small__some_reasonable_encoding_decoding_operations_will_fail.__If_the_default_is_too_large__security_vulnerabilities_will_result__e.g.__decoding_a_malicious_image_could_exhaust_all_memory_and_crash_the_system._n
call fcn.004f70b0
push esi
push str.warning:_setting_JasPer_memory_limit_to__zu_bytes_n
call fcn.004f70b0
add esp, 0x10
call fcn.004dde30
cmp eax, 1
jl 0x4de2cb
push str.JasPer_library_initialization_complete_n
push 1
call fcn.004f70e0
add esp, 8
call fcn.004dde30
cmp eax, 1
jl 0x4de2ea
call fcn.004e5650
push eax
push str.total_memory_size:__zu_n
push 1
call fcn.004f70e0
add esp, 0xc
call fcn.004dde30
cmp eax, 1
jl 0x4de321
push esi
push str.JasPer_library_memory_limit:__zu_n
push 1
call fcn.004f70e0
add esp, 0xc
mov eax, edi
pop esi
pop edi
pop ebp
ret
push 0xfffffffffffffffe
push str.cannot_create_thread_specific_storage__d_n
or edi, 0xffffffff
call fcn.004f70b0
add esp, 8
xor ecx, ecx
xchg dword [ebp], ecx
pop esi
mov eax, edi
pop edi
pop ebp
ret
push str.FATAL_ERROR:_jas_init_library_called_before_JasPer_library_configured_n
call fcn.004f70b0
add esp, 4
call fcn.006ad580
int3