Function at 0x46de81
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
je 0x46deb1
cmp dword [edi], ebx
je 0x46deb1
inc dword [0x4c8cdc]
xor eax, eax
inc eax
jmp 0x46e7bc
mov eax, dword [0x4c8cd8]
cmp eax, ebx
jne 0x46dfd5
mov esi, 0x103
push esi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.00401f80
add esp, 0xc
mov edi, str.PaulaJPG.dll
push edi
push 0x48d2b4
inc esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004362e2
add esp, 0x10
push edi
push ebx
push ebx
call fcn.0044bf6e
pop ecx
pop ecx
push eax
mov ebx, 0x48de20
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004362e2
lea eax, [ebp - 0x110]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [ebp - 0x218]
call fcn.00476a42
pop ecx
xor eax, eax
push edi
push eax
push eax
mov dword [0x4c8cd8], eax
call fcn.0044bd82
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004362e2
add esp, 0x14
push edi
push 0
push 0
call fcn.0044bf6e
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004362e2
lea eax, [ebp - 0x110]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [ebp - 0x218]
call fcn.00476a42
pop ecx
xor eax, eax
mov dword [0x4c8cd8], eax
push edi
push eax
push eax
call fcn.0044bd82
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004362e2
and dword [0x4c8cd8], 0
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.00474f3d
xor eax, eax
jmp 0x46e7bc
inc dword [0x4c8cdc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], 1
cmp edi, ebx
je 0x46dff7
cmp edi, 0x4c8c10
jne 0x46e00e
push str.jpeg_std_error
push eax
call esi
mov dword [0x4c8c10], eax
cmp eax, ebx
jne 0x46e00e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e01a
cmp edi, 0x4c8c14
jne 0x46e036
push str.jpeg_CreateCompress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c14], eax
cmp eax, ebx
jne 0x46e036
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e042
cmp edi, 0x4c8c18
jne 0x46e05e
push str.jpeg_CreateDecompress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c18], eax
cmp eax, ebx
jne 0x46e05e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e06a
cmp edi, 0x4c8c1c
jne 0x46e086
push str.jpeg_destroy_compress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c1c], eax
cmp eax, ebx
jne 0x46e086
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e092
cmp edi, 0x4c8c20
jne 0x46e0ae
push str.jpeg_destroy_decompress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c20], eax
cmp eax, ebx
jne 0x46e0ae
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e0ba
cmp edi, 0x4c8c24
jne 0x46e0d6
push str.jpeg_stdio_dest
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c24], eax
cmp eax, ebx
jne 0x46e0d6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e0e2
cmp edi, 0x4c8c28
jne 0x46e0fe
push str.jpeg_stdio_src
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c28], eax
cmp eax, ebx
jne 0x46e0fe
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e10a
cmp edi, 0x4c8c2c
jne 0x46e126
push str.jpeg_set_defaults
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c2c], eax
cmp eax, ebx
jne 0x46e126
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e132
cmp edi, 0x4c8c30
jne 0x46e14e
push str.jpeg_SetColorOrderRGB
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c30], eax
cmp eax, ebx
jne 0x46e14e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e15a
cmp edi, 0x4c8c34
jne 0x46e176
push str.jpeg_SetColorOrderBGR
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c34], eax
cmp eax, ebx
jne 0x46e176
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e182
cmp edi, 0x4c8c38
jne 0x46e19e
push str.jpeg_set_colorspace
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c38], eax
cmp eax, ebx
jne 0x46e19e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e1aa
cmp edi, 0x4c8c3c
jne 0x46e1c6
push str.jpeg_default_colorspace
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c3c], eax
cmp eax, ebx
jne 0x46e1c6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e1d2
cmp edi, 0x4c8c40
jne 0x46e1ee
push str.jpeg_set_quality
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c40], eax
cmp eax, ebx
jne 0x46e1ee
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e1fa
cmp edi, 0x4c8c44
jne 0x46e216
push str.jpeg_set_linear_quality
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c44], eax
cmp eax, ebx
jne 0x46e216
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e222
cmp edi, 0x4c8c48
jne 0x46e23e
push str.jpeg_add_quant_table
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c48], eax
cmp eax, ebx
jne 0x46e23e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e24a
cmp edi, 0x4c8c4c
jne 0x46e266
push str.jpeg_quality_scaling
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c4c], eax
cmp eax, ebx
jne 0x46e266
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e272
cmp edi, 0x4c8c50
jne 0x46e28e
push str.jpeg_simple_progression
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c50], eax
cmp eax, ebx
jne 0x46e28e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e29a
cmp edi, 0x4c8c54
jne 0x46e2b6
push str.jpeg_suppress_tables
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c54], eax
cmp eax, ebx
jne 0x46e2b6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e2c2
cmp edi, 0x4c8c58
jne 0x46e2de
push str.jpeg_alloc_quant_table
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c58], eax
cmp eax, ebx
jne 0x46e2de
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e2ea
cmp edi, 0x4c8c5c
jne 0x46e306
push str.jpeg_alloc_huff_table
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c5c], eax
cmp eax, ebx
jne 0x46e306
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e312
cmp edi, 0x4c8c60
jne 0x46e32e
push str.jpeg_start_compress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c60], eax
cmp eax, ebx
jne 0x46e32e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e33a
cmp edi, 0x4c8c64
jne 0x46e356
push str.jpeg_write_scanlines
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c64], eax
cmp eax, ebx
jne 0x46e356
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e362
cmp edi, 0x4c8c68
jne 0x46e37e
push str.jpeg_finish_compress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c68], eax
cmp eax, ebx
jne 0x46e37e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e38a
cmp edi, 0x4c8c6c
jne 0x46e3a6
push str.jpeg_write_raw_data
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c6c], eax
cmp eax, ebx
jne 0x46e3a6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e3b2
cmp edi, 0x4c8c70
jne 0x46e3ce
push str.jpeg_write_marker
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c70], eax
cmp eax, ebx
jne 0x46e3ce
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e3da
cmp edi, 0x4c8c74
jne 0x46e3f6
push str.jpeg_write_m_header
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c74], eax
cmp eax, ebx
jne 0x46e3f6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e402
cmp edi, 0x4c8c78
jne 0x46e41e
push str.jpeg_write_m_byte
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c78], eax
cmp eax, ebx
jne 0x46e41e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e42a
cmp edi, 0x4c8c7c
jne 0x46e446
push str.jpeg_write_tables
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c7c], eax
cmp eax, ebx
jne 0x46e446
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e452
cmp edi, 0x4c8c80
jne 0x46e46e
push str.jpeg_read_header
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c80], eax
cmp eax, ebx
jne 0x46e46e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e47a
cmp edi, 0x4c8c84
jne 0x46e496
push str.jpeg_start_decompress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c84], eax
cmp eax, ebx
jne 0x46e496
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e4a2
cmp edi, 0x4c8c88
jne 0x46e4be
push str.jpeg_read_scanlines
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c88], eax
cmp eax, ebx
jne 0x46e4be
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e4ca
cmp edi, 0x4c8c8c
jne 0x46e4e6
push str.jpeg_finish_decompress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c8c], eax
cmp eax, ebx
jne 0x46e4e6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e4f2
cmp edi, 0x4c8c90
jne 0x46e50e
push str.jpeg_read_raw_data
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c90], eax
cmp eax, ebx
jne 0x46e50e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e51a
cmp edi, 0x4c8c94
jne 0x46e536
push str.jpeg_has_multiple_scans
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c94], eax
cmp eax, ebx
jne 0x46e536
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e542
cmp edi, 0x4c8c98
jne 0x46e55e
push str.jpeg_start_output
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c98], eax
cmp eax, ebx
jne 0x46e55e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e56a
cmp edi, 0x4c8c9c
jne 0x46e586
push str.jpeg_finish_output
push dword [0x4c8cd8]
call esi
mov dword [0x4c8c9c], eax
cmp eax, ebx
jne 0x46e586
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e592
cmp edi, 0x4c8ca0
jne 0x46e5ae
push str.jpeg_input_complete
push dword [0x4c8cd8]
call esi
mov dword [0x4c8ca0], eax
cmp eax, ebx
jne 0x46e5ae
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e5ba
cmp edi, 0x4c8ca4
jne 0x46e5d6
push str.jpeg_new_colormap
push dword [0x4c8cd8]
call esi
mov dword [0x4c8ca4], eax
cmp eax, ebx
jne 0x46e5d6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e5e2
cmp edi, 0x4c8ca8
jne 0x46e5fe
push str.jpeg_consume_input
push dword [0x4c8cd8]
call esi
mov dword [0x4c8ca8], eax
cmp eax, ebx
jne 0x46e5fe
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e60a
cmp edi, 0x4c8cac
jne 0x46e626
push str.jpeg_calc_output_dimensions
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cac], eax
cmp eax, ebx
jne 0x46e626
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e632
cmp edi, 0x4c8cb0
jne 0x46e64e
push str.jpeg_save_markers
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cb0], eax
cmp eax, ebx
jne 0x46e64e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e65a
cmp edi, 0x4c8cb4
jne 0x46e676
push str.jpeg_set_marker_processor
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cb4], eax
cmp eax, ebx
jne 0x46e676
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e682
cmp edi, 0x4c8cb8
jne 0x46e69e
push str.jpeg_read_coefficients
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cb8], eax
cmp eax, ebx
jne 0x46e69e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e6aa
cmp edi, 0x4c8cbc
jne 0x46e6c6
push str.jpeg_write_coefficients
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cbc], eax
cmp eax, ebx
jne 0x46e6c6
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e6d2
cmp edi, 0x4c8cc0
jne 0x46e6ee
push str.jpeg_copy_critical_parameters
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cc0], eax
cmp eax, ebx
jne 0x46e6ee
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e6fa
cmp edi, 0x4c8cc4
jne 0x46e716
push str.jpeg_abort_compress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cc4], eax
cmp eax, ebx
jne 0x46e716
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e722
cmp edi, 0x4c8cc8
jne 0x46e73e
push str.jpeg_abort_decompress
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cc8], eax
cmp eax, ebx
jne 0x46e73e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e74a
cmp edi, 0x4c8ccc
jne 0x46e766
push str.jpeg_abort
push dword [0x4c8cd8]
call esi
mov dword [0x4c8ccc], eax
cmp eax, ebx
jne 0x46e766
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e772
cmp edi, 0x4c8cd0
jne 0x46e78e
push str.jpeg_destroy
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cd0], eax
cmp eax, ebx
jne 0x46e78e
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x46e79a
cmp edi, 0x4c8cd4
jne 0x46e7b6
push str.jpeg_resync_to_restart
push dword [0x4c8cd8]
call esi
mov dword [0x4c8cd4], eax
cmp eax, ebx
jne 0x46e7b6
mov dword [ebp - 0x21c], ebx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret