Function at 0x4966b6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
je 0x4966e6
cmp dword [edi], ebx
je 0x4966e6
inc dword [0x523edc]
xor eax, eax
inc eax
jmp 0x496ff1
mov eax, dword [0x523dd4]
cmp eax, ebx
jne 0x49680a
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 0x4cc9bc
inc esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004451a8
add esp, 0x10
push edi
push ebx
push ebx
call fcn.004623aa
pop ecx
pop ecx
push eax
mov ebx, 0x4cda20
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004451a8
lea eax, [ebp - 0x110]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [ebp - 0x218]
call fcn.004a1e76
pop ecx
xor eax, eax
push edi
push eax
push eax
mov dword [0x523dd4], eax
call fcn.0046209e
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004451a8
add esp, 0x14
push edi
push 0
push 0
call fcn.004623aa
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004451a8
lea eax, [ebp - 0x110]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [ebp - 0x218]
call fcn.004a1e76
pop ecx
xor eax, eax
mov dword [0x523dd4], eax
push edi
push eax
push eax
call fcn.0046209e
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004451a8
and dword [0x523dd4], 0
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.004a142a
xor eax, eax
jmp 0x496ff1
inc dword [0x523edc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], 1
cmp edi, ebx
je 0x49682c
cmp edi, 0x523cbc
jne 0x496843
push str.jpeg_std_error
push eax
call esi
mov dword [0x523cbc], eax
cmp eax, ebx
jne 0x496843
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x49684f
cmp edi, 0x523d10
jne 0x49686b
push str.jpeg_CreateCompress
push dword [0x523dd4]
call esi
mov dword [0x523d10], eax
cmp eax, ebx
jne 0x49686b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496877
cmp edi, 0x523d14
jne 0x496893
push str.jpeg_CreateDecompress
push dword [0x523dd4]
call esi
mov dword [0x523d14], eax
cmp eax, ebx
jne 0x496893
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x49689f
cmp edi, 0x523d18
jne 0x4968bb
push str.jpeg_destroy_compress
push dword [0x523dd4]
call esi
mov dword [0x523d18], eax
cmp eax, ebx
jne 0x4968bb
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x4968c7
cmp edi, 0x523d1c
jne 0x4968e3
push str.jpeg_destroy_decompress
push dword [0x523dd4]
call esi
mov dword [0x523d1c], eax
cmp eax, ebx
jne 0x4968e3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x4968ef
cmp edi, 0x523d20
jne 0x49690b
push str.jpeg_stdio_dest
push dword [0x523dd4]
call esi
mov dword [0x523d20], eax
cmp eax, ebx
jne 0x49690b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496917
cmp edi, 0x523d24
jne 0x496933
push str.jpeg_stdio_src
push dword [0x523dd4]
call esi
mov dword [0x523d24], eax
cmp eax, ebx
jne 0x496933
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x49693f
cmp edi, 0x523d28
jne 0x49695b
push str.jpeg_set_defaults
push dword [0x523dd4]
call esi
mov dword [0x523d28], eax
cmp eax, ebx
jne 0x49695b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496967
cmp edi, 0x523d2c
jne 0x496983
push str.jpeg_SetColorOrderRGB
push dword [0x523dd4]
call esi
mov dword [0x523d2c], eax
cmp eax, ebx
jne 0x496983
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x49698f
cmp edi, 0x523d30
jne 0x4969ab
push str.jpeg_SetColorOrderBGR
push dword [0x523dd4]
call esi
mov dword [0x523d30], eax
cmp eax, ebx
jne 0x4969ab
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x4969b7
cmp edi, 0x523d34
jne 0x4969d3
push str.jpeg_set_colorspace
push dword [0x523dd4]
call esi
mov dword [0x523d34], eax
cmp eax, ebx
jne 0x4969d3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x4969df
cmp edi, 0x523d38
jne 0x4969fb
push str.jpeg_default_colorspace
push dword [0x523dd4]
call esi
mov dword [0x523d38], eax
cmp eax, ebx
jne 0x4969fb
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496a07
cmp edi, 0x523d3c
jne 0x496a23
push str.jpeg_set_quality
push dword [0x523dd4]
call esi
mov dword [0x523d3c], eax
cmp eax, ebx
jne 0x496a23
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496a2f
cmp edi, 0x523d40
jne 0x496a4b
push str.jpeg_set_linear_quality
push dword [0x523dd4]
call esi
mov dword [0x523d40], eax
cmp eax, ebx
jne 0x496a4b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496a57
cmp edi, 0x523d44
jne 0x496a73
push str.jpeg_add_quant_table
push dword [0x523dd4]
call esi
mov dword [0x523d44], eax
cmp eax, ebx
jne 0x496a73
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496a7f
cmp edi, 0x523d48
jne 0x496a9b
push str.jpeg_quality_scaling
push dword [0x523dd4]
call esi
mov dword [0x523d48], eax
cmp eax, ebx
jne 0x496a9b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496aa7
cmp edi, 0x523d4c
jne 0x496ac3
push str.jpeg_simple_progression
push dword [0x523dd4]
call esi
mov dword [0x523d4c], eax
cmp eax, ebx
jne 0x496ac3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496acf
cmp edi, 0x523d50
jne 0x496aeb
push str.jpeg_suppress_tables
push dword [0x523dd4]
call esi
mov dword [0x523d50], eax
cmp eax, ebx
jne 0x496aeb
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496af7
cmp edi, 0x523d54
jne 0x496b13
push str.jpeg_alloc_quant_table
push dword [0x523dd4]
call esi
mov dword [0x523d54], eax
cmp eax, ebx
jne 0x496b13
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496b1f
cmp edi, 0x523d58
jne 0x496b3b
push str.jpeg_alloc_huff_table
push dword [0x523dd4]
call esi
mov dword [0x523d58], eax
cmp eax, ebx
jne 0x496b3b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496b47
cmp edi, 0x523d5c
jne 0x496b63
push str.jpeg_start_compress
push dword [0x523dd4]
call esi
mov dword [0x523d5c], eax
cmp eax, ebx
jne 0x496b63
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496b6f
cmp edi, 0x523d60
jne 0x496b8b
push str.jpeg_write_scanlines
push dword [0x523dd4]
call esi
mov dword [0x523d60], eax
cmp eax, ebx
jne 0x496b8b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496b97
cmp edi, 0x523d64
jne 0x496bb3
push str.jpeg_finish_compress
push dword [0x523dd4]
call esi
mov dword [0x523d64], eax
cmp eax, ebx
jne 0x496bb3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496bbf
cmp edi, 0x523d68
jne 0x496bdb
push str.jpeg_write_raw_data
push dword [0x523dd4]
call esi
mov dword [0x523d68], eax
cmp eax, ebx
jne 0x496bdb
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496be7
cmp edi, 0x523d6c
jne 0x496c03
push str.jpeg_write_marker
push dword [0x523dd4]
call esi
mov dword [0x523d6c], eax
cmp eax, ebx
jne 0x496c03
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496c0f
cmp edi, 0x523d70
jne 0x496c2b
push str.jpeg_write_m_header
push dword [0x523dd4]
call esi
mov dword [0x523d70], eax
cmp eax, ebx
jne 0x496c2b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496c37
cmp edi, 0x523d74
jne 0x496c53
push str.jpeg_write_m_byte
push dword [0x523dd4]
call esi
mov dword [0x523d74], eax
cmp eax, ebx
jne 0x496c53
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496c5f
cmp edi, 0x523d78
jne 0x496c7b
push str.jpeg_write_tables
push dword [0x523dd4]
call esi
mov dword [0x523d78], eax
cmp eax, ebx
jne 0x496c7b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496c87
cmp edi, 0x523d7c
jne 0x496ca3
push str.jpeg_read_header
push dword [0x523dd4]
call esi
mov dword [0x523d7c], eax
cmp eax, ebx
jne 0x496ca3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496caf
cmp edi, 0x523d80
jne 0x496ccb
push str.jpeg_start_decompress
push dword [0x523dd4]
call esi
mov dword [0x523d80], eax
cmp eax, ebx
jne 0x496ccb
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496cd7
cmp edi, 0x523d84
jne 0x496cf3
push str.jpeg_read_scanlines
push dword [0x523dd4]
call esi
mov dword [0x523d84], eax
cmp eax, ebx
jne 0x496cf3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496cff
cmp edi, 0x523d88
jne 0x496d1b
push str.jpeg_finish_decompress
push dword [0x523dd4]
call esi
mov dword [0x523d88], eax
cmp eax, ebx
jne 0x496d1b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496d27
cmp edi, 0x523d8c
jne 0x496d43
push str.jpeg_read_raw_data
push dword [0x523dd4]
call esi
mov dword [0x523d8c], eax
cmp eax, ebx
jne 0x496d43
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496d4f
cmp edi, 0x523d90
jne 0x496d6b
push str.jpeg_has_multiple_scans
push dword [0x523dd4]
call esi
mov dword [0x523d90], eax
cmp eax, ebx
jne 0x496d6b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496d77
cmp edi, 0x523d94
jne 0x496d93
push str.jpeg_start_output
push dword [0x523dd4]
call esi
mov dword [0x523d94], eax
cmp eax, ebx
jne 0x496d93
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496d9f
cmp edi, 0x523d98
jne 0x496dbb
push str.jpeg_finish_output
push dword [0x523dd4]
call esi
mov dword [0x523d98], eax
cmp eax, ebx
jne 0x496dbb
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496dc7
cmp edi, 0x523d9c
jne 0x496de3
push str.jpeg_input_complete
push dword [0x523dd4]
call esi
mov dword [0x523d9c], eax
cmp eax, ebx
jne 0x496de3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496def
cmp edi, 0x523da0
jne 0x496e0b
push str.jpeg_new_colormap
push dword [0x523dd4]
call esi
mov dword [0x523da0], eax
cmp eax, ebx
jne 0x496e0b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496e17
cmp edi, 0x523da4
jne 0x496e33
push str.jpeg_consume_input
push dword [0x523dd4]
call esi
mov dword [0x523da4], eax
cmp eax, ebx
jne 0x496e33
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496e3f
cmp edi, 0x523da8
jne 0x496e5b
push str.jpeg_calc_output_dimensions
push dword [0x523dd4]
call esi
mov dword [0x523da8], eax
cmp eax, ebx
jne 0x496e5b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496e67
cmp edi, 0x523dac
jne 0x496e83
push str.jpeg_save_markers
push dword [0x523dd4]
call esi
mov dword [0x523dac], eax
cmp eax, ebx
jne 0x496e83
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496e8f
cmp edi, 0x523db0
jne 0x496eab
push str.jpeg_set_marker_processor
push dword [0x523dd4]
call esi
mov dword [0x523db0], eax
cmp eax, ebx
jne 0x496eab
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496eb7
cmp edi, 0x523db4
jne 0x496ed3
push str.jpeg_read_coefficients
push dword [0x523dd4]
call esi
mov dword [0x523db4], eax
cmp eax, ebx
jne 0x496ed3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496edf
cmp edi, 0x523db8
jne 0x496efb
push str.jpeg_write_coefficients
push dword [0x523dd4]
call esi
mov dword [0x523db8], eax
cmp eax, ebx
jne 0x496efb
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496f07
cmp edi, 0x523dbc
jne 0x496f23
push str.jpeg_copy_critical_parameters
push dword [0x523dd4]
call esi
mov dword [0x523dbc], eax
cmp eax, ebx
jne 0x496f23
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496f2f
cmp edi, 0x523dc0
jne 0x496f4b
push str.jpeg_abort_compress
push dword [0x523dd4]
call esi
mov dword [0x523dc0], eax
cmp eax, ebx
jne 0x496f4b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496f57
cmp edi, 0x523dc4
jne 0x496f73
push str.jpeg_abort_decompress
push dword [0x523dd4]
call esi
mov dword [0x523dc4], eax
cmp eax, ebx
jne 0x496f73
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496f7f
cmp edi, 0x523dc8
jne 0x496f9b
push str.jpeg_abort
push dword [0x523dd4]
call esi
mov dword [0x523dc8], eax
cmp eax, ebx
jne 0x496f9b
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496fa7
cmp edi, 0x523dcc
jne 0x496fc3
push str.jpeg_destroy
push dword [0x523dd4]
call esi
mov dword [0x523dcc], eax
cmp eax, ebx
jne 0x496fc3
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x496fcf
cmp edi, 0x523dd0
jne 0x496feb
push str.jpeg_resync_to_restart
push dword [0x523dd4]
call esi
mov dword [0x523dd0], eax
cmp eax, ebx
jne 0x496feb
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