Function at 0x54eacd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
mov esi, eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 3
call fcn.0054e115
test al, al
jne 0x54eaff
xor al, al
jmp 0x54ed60
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x74], eax
je 0x54eaf8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._opj_version_0
push eax
call edi
test eax, eax
mov dword [esi], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_image_create_12
push eax
call edi
test eax, eax
mov dword [esi + 4], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_image_destroy_4
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_default_create_4
push eax
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_create_8
push eax
call edi
test eax, eax
mov dword [esi + 0x10], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_destroy_4
push eax
call edi
test eax, eax
mov dword [esi + 0x14], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_set_read_function_8
push eax
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_set_write_function_8
push eax
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_set_skip_function_8
push eax
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_set_seek_function_8
push eax
call edi
test eax, eax
mov dword [esi + 0x24], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_set_user_data_8
push eax
call edi
test eax, eax
mov dword [esi + 0x28], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_stream_set_user_data_length_12
push eax
call edi
test eax, eax
mov dword [esi + 0x2c], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_set_info_handler_12
push eax
call edi
test eax, eax
mov dword [esi + 0x30], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_create_decompress_4
push eax
call edi
test eax, eax
mov dword [esi + 0x3c], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_destroy_codec_4
push eax
call edi
test eax, eax
mov dword [esi + 0x40], eax
je 0x54ed54
lea eax, [esi + 0x44]
push eax
push str._opj_end_decompress_8
push dword [esi + 0x74]
call fcn.0059ac1a
test al, al
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_set_default_decoder_parameters_4
push eax
call edi
test eax, eax
mov dword [esi + 0x48], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_setup_decoder_8
push eax
call edi
test eax, eax
mov dword [esi + 0x4c], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_read_header_12
push eax
call edi
test eax, eax
mov dword [esi + 0x50], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_set_decode_area_24
push eax
call edi
test eax, eax
mov dword [esi + 0x54], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_decode_12
push eax
call edi
test eax, eax
mov dword [esi + 0x58], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_create_compress_4
push eax
call edi
test eax, eax
mov dword [esi + 0x5c], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_set_default_encoder_parameters_4
push eax
call edi
test eax, eax
mov dword [esi + 0x60], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_setup_encoder_12
push eax
call edi
test eax, eax
mov dword [esi + 0x64], eax
je 0x54ed54
mov eax, dword [esi + 0x74]
push str._opj_start_compress_12
push eax
call edi
test eax, eax
mov dword [esi + 0x68], eax
je 0x54ed54
lea eax, [esi + 0x6c]
push eax
push str._opj_end_compress_8
push dword [esi + 0x74]
call fcn.0059ac1a
test al, al
je 0x54ed54
lea eax, [esi + 0x70]
push eax
push str._opj_encode_8
push dword [esi + 0x74]
call fcn.0059ac1a
test al, al
jne 0x54ed5e
call fcn.0054ed66
jmp 0x54eaf8
mov al, 1
pop edi
pop esi
leave
ret 4