Function at 0x422f77
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x422fa7
cmp dword [edi], 0
je 0x422fa7
inc dword [0x51c16c]
xor eax, eax
inc eax
jmp 0x42382f
cmp dword [0x51c168], 0
jne 0x423116
mov esi, 0x103
push esi
xor ebx, ebx
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], 0
call fcn.004a8c80
add esp, 0xc
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.004a8c80
add esp, 0xc
mov edi, str.PaulaJPG.dll
push edi
push 0x4c747c
inc esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00478fcf
add esp, 0x10
push edi
push ebx
push ebx
call fcn.0045bc06
pop ecx
pop ecx
push eax
mov ebx, 0x4c8500
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00478fcf
lea eax, [ebp - 0x110]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [ebp - 0x218]
call fcn.00419c54
pop ecx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x51c168], eax
jne 0x4230ff
push edi
push eax
push eax
call fcn.0045ba18
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00478fcf
add esp, 0x14
push edi
push 0
push 0
call fcn.0045bc06
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00478fcf
lea eax, [ebp - 0x110]
add esp, 0x14
push eax
mov edx, eax
lea ecx, [ebp - 0x218]
call fcn.00419c54
pop ecx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x51c168], eax
jne 0x4230ff
push edi
push eax
push eax
call fcn.0045ba18
pop ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00478fcf
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x51c168], eax
jne 0x4230ff
lea edi, [ebp - 0x110]
call fcn.00419e19
xor eax, eax
jmp 0x42382f
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
mov eax, 0x51c170
call fcn.00477a48
mov edi, dword [ebp + 8]
pop ecx
inc dword [0x51c16c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
inc ebx
test edi, edi
je 0x423131
cmp edi, 0x51c0a0
jne 0x423149
push str.jpeg_std_error
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0a0], eax
jne 0x423149
xor ebx, ebx
test edi, edi
je 0x423155
cmp edi, 0x51c0a4
jne 0x42316d
push str.jpeg_CreateCompress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0a4], eax
jne 0x42316d
xor ebx, ebx
test edi, edi
je 0x423179
cmp edi, 0x51c0a8
jne 0x423191
push str.jpeg_CreateDecompress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0a8], eax
jne 0x423191
xor ebx, ebx
test edi, edi
je 0x42319d
cmp edi, 0x51c0ac
jne 0x4231b5
push str.jpeg_destroy_compress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0ac], eax
jne 0x4231b5
xor ebx, ebx
test edi, edi
je 0x4231c1
cmp edi, 0x51c0b0
jne 0x4231d9
push str.jpeg_destroy_decompress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0b0], eax
jne 0x4231d9
xor ebx, ebx
test edi, edi
je 0x4231e5
cmp edi, 0x51c0b4
jne 0x4231fd
push str.jpeg_stdio_dest
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0b4], eax
jne 0x4231fd
xor ebx, ebx
test edi, edi
je 0x423209
cmp edi, 0x51c0b8
jne 0x423221
push str.jpeg_stdio_src
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0b8], eax
jne 0x423221
xor ebx, ebx
test edi, edi
je 0x42322d
cmp edi, 0x51c0bc
jne 0x423245
push str.jpeg_set_defaults
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0bc], eax
jne 0x423245
xor ebx, ebx
test edi, edi
je 0x423251
cmp edi, 0x51c0c0
jne 0x423269
push str.jpeg_SetColorOrderRGB
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0c0], eax
jne 0x423269
xor ebx, ebx
test edi, edi
je 0x423275
cmp edi, 0x51c0c4
jne 0x42328d
push str.jpeg_SetColorOrderBGR
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0c4], eax
jne 0x42328d
xor ebx, ebx
test edi, edi
je 0x423299
cmp edi, 0x51c0c8
jne 0x4232b1
push str.jpeg_set_colorspace
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0c8], eax
jne 0x4232b1
xor ebx, ebx
test edi, edi
je 0x4232bd
cmp edi, 0x51c0cc
jne 0x4232d5
push str.jpeg_default_colorspace
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0cc], eax
jne 0x4232d5
xor ebx, ebx
test edi, edi
je 0x4232e1
cmp edi, 0x51c0d0
jne 0x4232f9
push str.jpeg_set_quality
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0d0], eax
jne 0x4232f9
xor ebx, ebx
test edi, edi
je 0x423305
cmp edi, 0x51c0d4
jne 0x42331d
push str.jpeg_set_linear_quality
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0d4], eax
jne 0x42331d
xor ebx, ebx
test edi, edi
je 0x423329
cmp edi, 0x51c0d8
jne 0x423341
push str.jpeg_add_quant_table
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0d8], eax
jne 0x423341
xor ebx, ebx
test edi, edi
je 0x42334d
cmp edi, 0x51c0dc
jne 0x423365
push str.jpeg_quality_scaling
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0dc], eax
jne 0x423365
xor ebx, ebx
test edi, edi
je 0x423371
cmp edi, 0x51c0e0
jne 0x423389
push str.jpeg_simple_progression
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0e0], eax
jne 0x423389
xor ebx, ebx
test edi, edi
je 0x423395
cmp edi, 0x51c0e4
jne 0x4233ad
push str.jpeg_suppress_tables
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0e4], eax
jne 0x4233ad
xor ebx, ebx
test edi, edi
je 0x4233b9
cmp edi, 0x51c0e8
jne 0x4233d1
push str.jpeg_alloc_quant_table
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0e8], eax
jne 0x4233d1
xor ebx, ebx
test edi, edi
je 0x4233dd
cmp edi, 0x51c0ec
jne 0x4233f5
push str.jpeg_alloc_huff_table
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0ec], eax
jne 0x4233f5
xor ebx, ebx
test edi, edi
je 0x423401
cmp edi, 0x51c0f0
jne 0x423419
push str.jpeg_start_compress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0f0], eax
jne 0x423419
xor ebx, ebx
test edi, edi
je 0x423425
cmp edi, 0x51c0f4
jne 0x42343d
push str.jpeg_write_scanlines
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0f4], eax
jne 0x42343d
xor ebx, ebx
test edi, edi
je 0x423449
cmp edi, 0x51c0f8
jne 0x423461
push str.jpeg_finish_compress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0f8], eax
jne 0x423461
xor ebx, ebx
test edi, edi
je 0x42346d
cmp edi, 0x51c0fc
jne 0x423485
push str.jpeg_write_raw_data
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c0fc], eax
jne 0x423485
xor ebx, ebx
test edi, edi
je 0x423491
cmp edi, 0x51c100
jne 0x4234a9
push str.jpeg_write_marker
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c100], eax
jne 0x4234a9
xor ebx, ebx
test edi, edi
je 0x4234b5
cmp edi, 0x51c104
jne 0x4234cd
push str.jpeg_write_m_header
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c104], eax
jne 0x4234cd
xor ebx, ebx
test edi, edi
je 0x4234d9
cmp edi, 0x51c108
jne 0x4234f1
push str.jpeg_write_m_byte
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c108], eax
jne 0x4234f1
xor ebx, ebx
test edi, edi
je 0x4234fd
cmp edi, 0x51c10c
jne 0x423515
push str.jpeg_write_tables
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c10c], eax
jne 0x423515
xor ebx, ebx
test edi, edi
je 0x423521
cmp edi, 0x51c110
jne 0x423539
push str.jpeg_read_header
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c110], eax
jne 0x423539
xor ebx, ebx
test edi, edi
je 0x423545
cmp edi, 0x51c114
jne 0x42355d
push str.jpeg_start_decompress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c114], eax
jne 0x42355d
xor ebx, ebx
test edi, edi
je 0x423569
cmp edi, 0x51c118
jne 0x423581
push str.jpeg_read_scanlines
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c118], eax
jne 0x423581
xor ebx, ebx
test edi, edi
je 0x42358d
cmp edi, 0x51c11c
jne 0x4235a5
push str.jpeg_finish_decompress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c11c], eax
jne 0x4235a5
xor ebx, ebx
test edi, edi
je 0x4235b1
cmp edi, 0x51c120
jne 0x4235c9
push str.jpeg_read_raw_data
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c120], eax
jne 0x4235c9
xor ebx, ebx
test edi, edi
je 0x4235d5
cmp edi, 0x51c124
jne 0x4235ed
push str.jpeg_has_multiple_scans
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c124], eax
jne 0x4235ed
xor ebx, ebx
test edi, edi
je 0x4235f9
cmp edi, 0x51c128
jne 0x423611
push str.jpeg_start_output
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c128], eax
jne 0x423611
xor ebx, ebx
test edi, edi
je 0x42361d
cmp edi, 0x51c12c
jne 0x423635
push str.jpeg_finish_output
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c12c], eax
jne 0x423635
xor ebx, ebx
test edi, edi
je 0x423641
cmp edi, 0x51c130
jne 0x423659
push str.jpeg_input_complete
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c130], eax
jne 0x423659
xor ebx, ebx
test edi, edi
je 0x423665
cmp edi, 0x51c134
jne 0x42367d
push str.jpeg_new_colormap
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c134], eax
jne 0x42367d
xor ebx, ebx
test edi, edi
je 0x423689
cmp edi, 0x51c138
jne 0x4236a1
push str.jpeg_consume_input
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c138], eax
jne 0x4236a1
xor ebx, ebx
test edi, edi
je 0x4236ad
cmp edi, 0x51c13c
jne 0x4236c5
push str.jpeg_calc_output_dimensions
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c13c], eax
jne 0x4236c5
xor ebx, ebx
test edi, edi
je 0x4236d1
cmp edi, 0x51c140
jne 0x4236e9
push str.jpeg_save_markers
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c140], eax
jne 0x4236e9
xor ebx, ebx
test edi, edi
je 0x4236f5
cmp edi, 0x51c144
jne 0x42370d
push str.jpeg_set_marker_processor
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c144], eax
jne 0x42370d
xor ebx, ebx
test edi, edi
je 0x423719
cmp edi, 0x51c148
jne 0x423731
push str.jpeg_read_coefficients
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c148], eax
jne 0x423731
xor ebx, ebx
test edi, edi
je 0x42373d
cmp edi, 0x51c14c
jne 0x423755
push str.jpeg_write_coefficients
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c14c], eax
jne 0x423755
xor ebx, ebx
test edi, edi
je 0x423761
cmp edi, 0x51c150
jne 0x423779
push str.jpeg_copy_critical_parameters
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c150], eax
jne 0x423779
xor ebx, ebx
test edi, edi
je 0x423785
cmp edi, 0x51c154
jne 0x42379d
push str.jpeg_abort_compress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c154], eax
jne 0x42379d
xor ebx, ebx
test edi, edi
je 0x4237a9
cmp edi, 0x51c158
jne 0x4237c1
push str.jpeg_abort_decompress
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c158], eax
jne 0x4237c1
xor ebx, ebx
test edi, edi
je 0x4237cd
cmp edi, 0x51c15c
jne 0x4237e5
push str.jpeg_abort
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c15c], eax
jne 0x4237e5
xor ebx, ebx
test edi, edi
je 0x4237f1
cmp edi, 0x51c160
jne 0x423809
push str.jpeg_destroy
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c160], eax
jne 0x423809
xor ebx, ebx
test edi, edi
je 0x423815
cmp edi, 0x51c164
jne 0x42382d
push str.jpeg_resync_to_restart
push dword [0x51c168]
call esi
test eax, eax
mov dword [0x51c164], eax
jne 0x42382d
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
leave
ret