Function at 0x441c97
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6294a0]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x441ccb
cmp dword [eax], ebx
je 0x441ccb
inc dword [0x638754]
xor eax, eax
inc eax
jmp 0x442a97
cmp dword [0x638750], ebx
push ebp
push esi
push edi
jne 0x441e54
mov esi, 0x103
push esi
lea eax, [esp + 0x15]
push ebx
push eax
mov byte [esp + 0x1c], bl
call fcn.00508d00
push esi
lea eax, [esp + 0x125]
push ebx
push eax
mov byte [esp + 0x12c], bl
call fcn.00508d00
mov edi, str.PaulaJPG.dll
push edi
push 0x583d40
inc esi
lea eax, [esp + 0x134]
push esi
push eax
call fcn.00402dbf
add esp, 0x28
push edi
push ebx
push ebx
call fcn.0040113b
pop ecx
pop ecx
push eax
mov ebx, 0x586728
push ebx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00402dbf
push 1
lea eax, [esp + 0x28]
push eax
push eax
lea eax, [esp + 0x134]
push eax
call fcn.004016bd
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x24
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
mov dword [0x638750], eax
jne 0x441e41
push edi
push eax
push eax
call fcn.004031fc
pop ecx
pop ecx
push eax
push ebx
lea eax, [esp + 0x120]
push esi
push eax
call fcn.00402dbf
add esp, 0x14
push edi
push 0
push 0
call fcn.0040113b
pop ecx
pop ecx
push eax
push ebx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00402dbf
push 1
lea eax, [esp + 0x28]
push eax
push eax
lea eax, [esp + 0x134]
push eax
call fcn.004016bd
add esp, 0x24
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
mov dword [0x638750], eax
jne 0x441e41
push edi
push eax
push eax
call fcn.004031fc
pop ecx
pop ecx
push eax
push ebx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00402dbf
add esp, 0x14
lea eax, [esp + 0x10]
push eax
call ebp
test eax, eax
mov dword [0x638750], eax
jne 0x441e34
lea eax, [esp + 0x10]
push eax
call fcn.00402b5d
test eax, eax
pop ecx
lea eax, [esp + 0x10]
je 0x441e20
push str._GetLastError_
push eax
push str.:7:InitJpegDll___FAILED:_LoadLibrary___s___FAILED:_The_DLL_exists_but_could_not_be_loaded:__s
call fcn.004020c2
add esp, 0xc
jmp 0x441e2d
push eax
push str.:7:InitJpegDll___FAILED:_LoadLibrary___s___FAILED:_The_DLL_could_not_be_found_
call fcn.004020c2
pop ecx
pop ecx
xor eax, eax
jmp 0x442a94
push edi
push str.:7:InitJpegDll___had_to_load__s_directly_from_the_source_
call fcn.004020c2
pop ecx
pop ecx
push esi
lea eax, [esp + 0x14]
push eax
push 0x638758
call fcn.00402abd
add esp, 0xc
inc dword [0x638754]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
inc ebx
cmp dword [esp + 0x220], 0
mov esi, str.___could_not_be_loaded.
mov edi, str.:7:_s_s
je 0x441e84
cmp dword [esp + 0x220], 0x638688
jne 0x441eab
push str.jpeg_std_error
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638688], eax
jne 0x441eab
push esi
push str.jpeg_std_error
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x441ec2
cmp dword [esp + 0x220], 0x63868c
jne 0x441ef2
push str.jpeg_CreateCompress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x63868c], eax
jne 0x441ef2
push str._GetLastError_
push esi
push str.jpeg_CreateCompress
push str.:7:_s_s:__s
xor ebx, ebx
call fcn.004020c2
add esp, 0x10
cmp dword [esp + 0x220], 0
je 0x441f09
cmp dword [esp + 0x220], 0x638690
jne 0x441f30
push str.jpeg_CreateDecompress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638690], eax
jne 0x441f30
push esi
push str.jpeg_CreateDecompress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x441f47
cmp dword [esp + 0x220], 0x638694
jne 0x441f6e
push str.jpeg_destroy_compress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638694], eax
jne 0x441f6e
push esi
push str.jpeg_destroy_compress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x441f85
cmp dword [esp + 0x220], 0x638698
jne 0x441fac
push str.jpeg_destroy_decompress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638698], eax
jne 0x441fac
push esi
push str.jpeg_destroy_decompress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x441fc3
cmp dword [esp + 0x220], 0x63869c
jne 0x441fea
push str.jpeg_stdio_dest
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x63869c], eax
jne 0x441fea
push esi
push str.jpeg_stdio_dest
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442001
cmp dword [esp + 0x220], 0x6386a0
jne 0x442028
push str.jpeg_stdio_src
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386a0], eax
jne 0x442028
push esi
push str.jpeg_stdio_src
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44203f
cmp dword [esp + 0x220], 0x6386a4
jne 0x442066
push str.jpeg_set_defaults
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386a4], eax
jne 0x442066
push esi
push str.jpeg_set_defaults
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44207d
cmp dword [esp + 0x220], 0x6386a8
jne 0x4420a4
push str.jpeg_SetColorOrderRGB
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386a8], eax
jne 0x4420a4
push esi
push str.jpeg_SetColorOrderRGB
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4420bb
cmp dword [esp + 0x220], 0x6386ac
jne 0x4420e2
push str.jpeg_SetColorOrderBGR
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386ac], eax
jne 0x4420e2
push esi
push str.jpeg_SetColorOrderBGR
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4420f9
cmp dword [esp + 0x220], 0x6386b0
jne 0x442120
push str.jpeg_set_colorspace
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386b0], eax
jne 0x442120
push esi
push str.jpeg_set_colorspace
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442137
cmp dword [esp + 0x220], 0x6386b4
jne 0x44215e
push str.jpeg_default_colorspace
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386b4], eax
jne 0x44215e
push esi
push str.jpeg_default_colorspace
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442175
cmp dword [esp + 0x220], 0x6386b8
jne 0x44219c
push str.jpeg_set_quality
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386b8], eax
jne 0x44219c
push esi
push str.jpeg_set_quality
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4421b3
cmp dword [esp + 0x220], 0x6386bc
jne 0x4421da
push str.jpeg_set_linear_quality
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386bc], eax
jne 0x4421da
push esi
push str.jpeg_set_linear_quality
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4421f1
cmp dword [esp + 0x220], 0x6386c0
jne 0x442218
push str.jpeg_add_quant_table
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386c0], eax
jne 0x442218
push esi
push str.jpeg_add_quant_table
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44222f
cmp dword [esp + 0x220], 0x6386c4
jne 0x442256
push str.jpeg_quality_scaling
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386c4], eax
jne 0x442256
push esi
push str.jpeg_quality_scaling
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44226d
cmp dword [esp + 0x220], 0x6386c8
jne 0x442294
push str.jpeg_simple_progression
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386c8], eax
jne 0x442294
push esi
push str.jpeg_simple_progression
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4422ab
cmp dword [esp + 0x220], 0x6386cc
jne 0x4422d2
push str.jpeg_suppress_tables
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386cc], eax
jne 0x4422d2
push esi
push str.jpeg_suppress_tables
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4422e9
cmp dword [esp + 0x220], 0x6386d0
jne 0x442310
push str.jpeg_alloc_quant_table
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386d0], eax
jne 0x442310
push esi
push str.jpeg_alloc_quant_table
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442327
cmp dword [esp + 0x220], 0x6386d4
jne 0x44234e
push str.jpeg_alloc_huff_table
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386d4], eax
jne 0x44234e
push esi
push str.jpeg_alloc_huff_table
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442365
cmp dword [esp + 0x220], 0x6386d8
jne 0x44238c
push str.jpeg_start_compress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386d8], eax
jne 0x44238c
push esi
push str.jpeg_start_compress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4423a3
cmp dword [esp + 0x220], 0x6386dc
jne 0x4423ca
push str.jpeg_write_scanlines
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386dc], eax
jne 0x4423ca
push esi
push str.jpeg_write_scanlines
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4423e1
cmp dword [esp + 0x220], 0x6386e0
jne 0x442408
push str.jpeg_finish_compress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386e0], eax
jne 0x442408
push esi
push str.jpeg_finish_compress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44241f
cmp dword [esp + 0x220], 0x6386e4
jne 0x442446
push str.jpeg_write_raw_data
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386e4], eax
jne 0x442446
push esi
push str.jpeg_write_raw_data
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44245d
cmp dword [esp + 0x220], 0x6386e8
jne 0x442484
push str.jpeg_write_marker
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386e8], eax
jne 0x442484
push esi
push str.jpeg_write_marker
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44249b
cmp dword [esp + 0x220], 0x6386ec
jne 0x4424c2
push str.jpeg_write_m_header
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386ec], eax
jne 0x4424c2
push esi
push str.jpeg_write_m_header
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4424d9
cmp dword [esp + 0x220], 0x6386f0
jne 0x442500
push str.jpeg_write_m_byte
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386f0], eax
jne 0x442500
push esi
push str.jpeg_write_m_byte
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442517
cmp dword [esp + 0x220], 0x6386f4
jne 0x44253e
push str.jpeg_write_tables
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386f4], eax
jne 0x44253e
push esi
push str.jpeg_write_tables
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442555
cmp dword [esp + 0x220], 0x6386f8
jne 0x44257c
push str.jpeg_read_header
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386f8], eax
jne 0x44257c
push esi
push str.jpeg_read_header
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442593
cmp dword [esp + 0x220], 0x6386fc
jne 0x4425ba
push str.jpeg_start_decompress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x6386fc], eax
jne 0x4425ba
push esi
push str.jpeg_start_decompress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4425d1
cmp dword [esp + 0x220], 0x638700
jne 0x4425f8
push str.jpeg_read_scanlines
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638700], eax
jne 0x4425f8
push esi
push str.jpeg_read_scanlines
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44260f
cmp dword [esp + 0x220], 0x638704
jne 0x442636
push str.jpeg_finish_decompress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638704], eax
jne 0x442636
push esi
push str.jpeg_finish_decompress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44264d
cmp dword [esp + 0x220], 0x638708
jne 0x442674
push str.jpeg_read_raw_data
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638708], eax
jne 0x442674
push esi
push str.jpeg_read_raw_data
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44268b
cmp dword [esp + 0x220], 0x63870c
jne 0x4426b2
push str.jpeg_has_multiple_scans
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x63870c], eax
jne 0x4426b2
push esi
push str.jpeg_has_multiple_scans
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4426c9
cmp dword [esp + 0x220], 0x638710
jne 0x4426f0
push str.jpeg_start_output
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638710], eax
jne 0x4426f0
push esi
push str.jpeg_start_output
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442707
cmp dword [esp + 0x220], 0x638714
jne 0x44272e
push str.jpeg_finish_output
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638714], eax
jne 0x44272e
push esi
push str.jpeg_finish_output
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442745
cmp dword [esp + 0x220], 0x638718
jne 0x44276c
push str.jpeg_input_complete
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638718], eax
jne 0x44276c
push esi
push str.jpeg_input_complete
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442783
cmp dword [esp + 0x220], 0x63871c
jne 0x4427aa
push str.jpeg_new_colormap
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x63871c], eax
jne 0x4427aa
push esi
push str.jpeg_new_colormap
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4427c1
cmp dword [esp + 0x220], 0x638720
jne 0x4427e8
push str.jpeg_consume_input
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638720], eax
jne 0x4427e8
push esi
push str.jpeg_consume_input
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4427ff
cmp dword [esp + 0x220], 0x638724
jne 0x442826
push str.jpeg_calc_output_dimensions
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638724], eax
jne 0x442826
push esi
push str.jpeg_calc_output_dimensions
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44283d
cmp dword [esp + 0x220], 0x638728
jne 0x442864
push str.jpeg_save_markers
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638728], eax
jne 0x442864
push esi
push str.jpeg_save_markers
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x44287b
cmp dword [esp + 0x220], 0x63872c
jne 0x4428a2
push str.jpeg_set_marker_processor
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x63872c], eax
jne 0x4428a2
push esi
push str.jpeg_set_marker_processor
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4428b9
cmp dword [esp + 0x220], 0x638730
jne 0x4428e0
push str.jpeg_read_coefficients
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638730], eax
jne 0x4428e0
push esi
push str.jpeg_read_coefficients
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4428f7
cmp dword [esp + 0x220], 0x638734
jne 0x44291e
push str.jpeg_write_coefficients
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638734], eax
jne 0x44291e
push esi
push str.jpeg_write_coefficients
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442935
cmp dword [esp + 0x220], 0x638738
jne 0x44295c
push str.jpeg_copy_critical_parameters
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638738], eax
jne 0x44295c
push esi
push str.jpeg_copy_critical_parameters
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442973
cmp dword [esp + 0x220], 0x63873c
jne 0x44299a
push str.jpeg_abort_compress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x63873c], eax
jne 0x44299a
push esi
push str.jpeg_abort_compress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4429b1
cmp dword [esp + 0x220], 0x638740
jne 0x4429d8
push str.jpeg_abort_decompress
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638740], eax
jne 0x4429d8
push esi
push str.jpeg_abort_decompress
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x4429ef
cmp dword [esp + 0x220], 0x638744
jne 0x442a16
push str.jpeg_abort
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638744], eax
jne 0x442a16
push esi
push str.jpeg_abort
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442a2d
cmp dword [esp + 0x220], 0x638748
jne 0x442a54
push str.jpeg_destroy
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x638748], eax
jne 0x442a54
push esi
push str.jpeg_destroy
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
cmp dword [esp + 0x220], 0
je 0x442a6b
cmp dword [esp + 0x220], 0x63874c
jne 0x442a92
push str.jpeg_resync_to_restart
push dword [0x638750]
call ebp
test eax, eax
mov dword [0x63874c], eax
jne 0x442a92
push esi
push str.jpeg_resync_to_restart
push edi
xor ebx, ebx
call fcn.004020c2
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20c]
pop ebx
xor ecx, esp
call fcn.00508cf0
add esp, 0x20c
ret