Function at 0x46ad30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], str.___could_not_be_loaded.
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x46ad78
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x46ad78
mov ecx, dword [0x70a72c]
add ecx, 1
mov dword [0x70a72c], ecx
mov eax, 1
jmp 0x46be7c
cmp dword [0x70a728], 0
jne 0x46af96
mov byte [ebp - 0x220], 0
push 0x103
push 0
lea edx, [ebp - 0x21f]
push edx
call fcn.005b02a0
add esp, 0xc
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.005b02a0
add esp, 0xc
push 0x672e14
push 0x672e24
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call fcn.00402dc9
add esp, 0x10
push 0x672e28
push 0
push 0
call fcn.00401474
add esp, 8
push eax
push 0x672e38
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.00402dc9
add esp, 0x14
push 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.0040206d
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x70a728], eax
cmp dword [0x70a728], 0
jne 0x46af7d
push 0x672e40
push 0
push 0
call fcn.004022b6
add esp, 8
push eax
push 0x672e50
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call fcn.00402dc9
add esp, 0x14
push 0x672e58
push 0
push 0
call fcn.00401474
add esp, 8
push eax
push 0x672e68
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.00402dc9
add esp, 0x14
push 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.0040206d
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x70a728], eax
cmp dword [0x70a728], 0
jne 0x46af7d
push 0x672e70
push 0
push 0
call fcn.004022b6
add esp, 8
push eax
push 0x672e80
push 0x104
lea ecx, [ebp - 0x220]
push ecx
call fcn.00402dc9
add esp, 0x14
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x70a728], eax
cmp dword [0x70a728], 0
jne 0x46af6b
lea eax, [ebp - 0x220]
push eax
call fcn.004028ab
add esp, 4
test eax, eax
je 0x46af4e
push 0x672e88
lea ecx, [ebp - 0x220]
push ecx
push str.:7:InitJpegDll___FAILED:_LoadLibrary___s___FAILED:_The_DLL_exists_but_could_not_be_loaded:__s
call fcn.00401014
add esp, 0xc
jmp 0x46af62
lea edx, [ebp - 0x220]
push edx
push str.:7:InitJpegDll___FAILED:_LoadLibrary___s___FAILED:_The_DLL_could_not_be_found_
call fcn.00401014
add esp, 8
xor eax, eax
jmp 0x46be7c
push 0x672f48
push str.:7:InitJpegDll___had_to_load__s_directly_from_the_source_
call fcn.00401014
add esp, 8
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x70a730
call fcn.00402725
add esp, 0xc
mov ecx, dword [0x70a72c]
add ecx, 1
mov dword [0x70a72c], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x46afbb
cmp dword [ebp + 8], 0x70a660
jne 0x46aff8
push 0x672f94
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a660], eax
cmp dword [0x70a660], 0
jne 0x46aff8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_std_error
push 0x672fb4
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b007
cmp dword [ebp + 8], 0x70a664
jne 0x46b049
push 0x672fbc
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a664], eax
cmp dword [0x70a664], 0
jne 0x46b049
mov dword [ebp - 4], 0
push 0x672fd0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_CreateCompress
push str.:7:_s_s:__s
call fcn.00401014
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x46b058
cmp dword [ebp + 8], 0x70a668
jne 0x46b094
push 0x673000
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a668], eax
cmp dword [0x70a668], 0
jne 0x46b094
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_CreateDecompress
push 0x673030
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b0a3
cmp dword [ebp + 8], 0x70a66c
jne 0x46b0e0
push 0x673038
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a66c], eax
cmp dword [0x70a66c], 0
jne 0x46b0e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_destroy_compress
push 0x673068
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b0ef
cmp dword [ebp + 8], 0x70a670
jne 0x46b12c
push 0x673070
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a670], eax
cmp dword [0x70a670], 0
jne 0x46b12c
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_destroy_decompress
push 0x6730a0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b13b
cmp dword [ebp + 8], 0x70a674
jne 0x46b177
push 0x6730a8
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a674], eax
cmp dword [0x70a674], 0
jne 0x46b177
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_stdio_dest
push 0x6730c8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b186
cmp dword [ebp + 8], 0x70a678
jne 0x46b1c3
push 0x6730d0
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a678], eax
cmp dword [0x70a678], 0
jne 0x46b1c3
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_stdio_src
push 0x6730f0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b1d2
cmp dword [ebp + 8], 0x70a67c
jne 0x46b20f
push 0x6730f8
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a67c], eax
cmp dword [0x70a67c], 0
jne 0x46b20f
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_set_defaults
push 0x673120
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b21e
cmp dword [ebp + 8], 0x70a680
jne 0x46b25a
push 0x673128
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a680], eax
cmp dword [0x70a680], 0
jne 0x46b25a
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_SetColorOrderRGB
push 0x673158
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b269
cmp dword [ebp + 8], 0x70a684
jne 0x46b2a6
push 0x673160
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a684], eax
cmp dword [0x70a684], 0
jne 0x46b2a6
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_SetColorOrderBGR
push 0x673190
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b2b5
cmp dword [ebp + 8], 0x70a688
jne 0x46b2f2
push 0x673198
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a688], eax
cmp dword [0x70a688], 0
jne 0x46b2f2
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_set_colorspace
push 0x6731c0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b301
cmp dword [ebp + 8], 0x70a68c
jne 0x46b33d
push 0x6731c8
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a68c], eax
cmp dword [0x70a68c], 0
jne 0x46b33d
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_default_colorspace
push 0x6731f8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b34c
cmp dword [ebp + 8], 0x70a690
jne 0x46b389
push 0x673200
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a690], eax
cmp dword [0x70a690], 0
jne 0x46b389
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_set_quality
push 0x673228
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b398
cmp dword [ebp + 8], 0x70a694
jne 0x46b3d5
push 0x673230
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a694], eax
cmp dword [0x70a694], 0
jne 0x46b3d5
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_set_linear_quality
push 0x673260
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b3e4
cmp dword [ebp + 8], 0x70a698
jne 0x46b420
push 0x673268
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a698], eax
cmp dword [0x70a698], 0
jne 0x46b420
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_add_quant_table
push 0x673298
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b42f
cmp dword [ebp + 8], 0x70a69c
jne 0x46b46c
push 0x6732a0
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a69c], eax
cmp dword [0x70a69c], 0
jne 0x46b46c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_quality_scaling
push 0x6732d0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b47b
cmp dword [ebp + 8], 0x70a6a0
jne 0x46b4b8
push 0x6732d8
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6a0], eax
cmp dword [0x70a6a0], 0
jne 0x46b4b8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_simple_progression
push 0x673308
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b4c7
cmp dword [ebp + 8], 0x70a6a4
jne 0x46b503
push 0x673310
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6a4], eax
cmp dword [0x70a6a4], 0
jne 0x46b503
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_suppress_tables
push 0x673340
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b512
cmp dword [ebp + 8], 0x70a6a8
jne 0x46b54f
push 0x673348
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6a8], eax
cmp dword [0x70a6a8], 0
jne 0x46b54f
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_alloc_quant_table
push 0x673378
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b55e
cmp dword [ebp + 8], 0x70a6ac
jne 0x46b59b
push 0x673380
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6ac], eax
cmp dword [0x70a6ac], 0
jne 0x46b59b
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_alloc_huff_table
push 0x6733b0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b5aa
cmp dword [ebp + 8], 0x70a6b0
jne 0x46b5e6
push 0x6733b8
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6b0], eax
cmp dword [0x70a6b0], 0
jne 0x46b5e6
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_start_compress
push 0x6733e0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b5f5
cmp dword [ebp + 8], 0x70a6b4
jne 0x46b632
push 0x6733e8
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6b4], eax
cmp dword [0x70a6b4], 0
jne 0x46b632
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_write_scanlines
push 0x673418
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b641
cmp dword [ebp + 8], 0x70a6b8
jne 0x46b67e
push 0x673420
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6b8], eax
cmp dword [0x70a6b8], 0
jne 0x46b67e
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_finish_compress
push 0x673450
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b68d
cmp dword [ebp + 8], 0x70a6bc
jne 0x46b6c9
push 0x673458
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6bc], eax
cmp dword [0x70a6bc], 0
jne 0x46b6c9
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_write_raw_data
push 0x673480
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b6d8
cmp dword [ebp + 8], 0x70a6c0
jne 0x46b715
push 0x673488
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6c0], eax
cmp dword [0x70a6c0], 0
jne 0x46b715
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_write_marker
push 0x6734b0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b724
cmp dword [ebp + 8], 0x70a6c4
jne 0x46b761
push 0x6734b8
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6c4], eax
cmp dword [0x70a6c4], 0
jne 0x46b761
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_write_m_header
push 0x6734e0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b770
cmp dword [ebp + 8], 0x70a6c8
jne 0x46b7ac
push 0x6734e8
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6c8], eax
cmp dword [0x70a6c8], 0
jne 0x46b7ac
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_write_m_byte
push 0x673510
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b7bb
cmp dword [ebp + 8], 0x70a6cc
jne 0x46b7f8
push 0x673518
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6cc], eax
cmp dword [0x70a6cc], 0
jne 0x46b7f8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_write_tables
push 0x673540
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b807
cmp dword [ebp + 8], 0x70a6d0
jne 0x46b844
push 0x673548
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6d0], eax
cmp dword [0x70a6d0], 0
jne 0x46b844
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_read_header
push 0x673570
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b853
cmp dword [ebp + 8], 0x70a6d4
jne 0x46b88f
push 0x673578
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6d4], eax
cmp dword [0x70a6d4], 0
jne 0x46b88f
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_start_decompress
push 0x6735a8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b89e
cmp dword [ebp + 8], 0x70a6d8
jne 0x46b8db
push 0x6735b0
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6d8], eax
cmp dword [0x70a6d8], 0
jne 0x46b8db
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_read_scanlines
push 0x6735d8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b8ea
cmp dword [ebp + 8], 0x70a6dc
jne 0x46b927
push 0x6735e0
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6dc], eax
cmp dword [0x70a6dc], 0
jne 0x46b927
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_finish_decompress
push 0x673610
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b936
cmp dword [ebp + 8], 0x70a6e0
jne 0x46b972
push 0x673618
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6e0], eax
cmp dword [0x70a6e0], 0
jne 0x46b972
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_read_raw_data
push 0x673640
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b981
cmp dword [ebp + 8], 0x70a6e4
jne 0x46b9be
push 0x673648
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6e4], eax
cmp dword [0x70a6e4], 0
jne 0x46b9be
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_has_multiple_scans
push 0x673678
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46b9cd
cmp dword [ebp + 8], 0x70a6e8
jne 0x46ba0a
push 0x673680
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6e8], eax
cmp dword [0x70a6e8], 0
jne 0x46ba0a
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_start_output
push 0x6736a8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46ba19
cmp dword [ebp + 8], 0x70a6ec
jne 0x46ba55
push 0x6736b0
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6ec], eax
cmp dword [0x70a6ec], 0
jne 0x46ba55
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_finish_output
push 0x6736d8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46ba64
cmp dword [ebp + 8], 0x70a6f0
jne 0x46baa1
push 0x6736e0
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6f0], eax
cmp dword [0x70a6f0], 0
jne 0x46baa1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_input_complete
push 0x673708
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bab0
cmp dword [ebp + 8], 0x70a6f4
jne 0x46baed
push 0x673710
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6f4], eax
cmp dword [0x70a6f4], 0
jne 0x46baed
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_new_colormap
push 0x673738
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bafc
cmp dword [ebp + 8], 0x70a6f8
jne 0x46bb38
push 0x673740
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6f8], eax
cmp dword [0x70a6f8], 0
jne 0x46bb38
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_consume_input
push 0x673768
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bb47
cmp dword [ebp + 8], 0x70a6fc
jne 0x46bb84
push 0x673770
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a6fc], eax
cmp dword [0x70a6fc], 0
jne 0x46bb84
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_calc_output_dimensions
push 0x6737a8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bb93
cmp dword [ebp + 8], 0x70a700
jne 0x46bbd0
push 0x6737b0
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a700], eax
cmp dword [0x70a700], 0
jne 0x46bbd0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_save_markers
push 0x6737d8
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bbdf
cmp dword [ebp + 8], 0x70a704
jne 0x46bc1b
push 0x6737e0
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a704], eax
cmp dword [0x70a704], 0
jne 0x46bc1b
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_set_marker_processor
push 0x673818
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bc2a
cmp dword [ebp + 8], 0x70a708
jne 0x46bc67
push 0x673820
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a708], eax
cmp dword [0x70a708], 0
jne 0x46bc67
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_read_coefficients
push 0x673850
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bc76
cmp dword [ebp + 8], 0x70a70c
jne 0x46bcb3
push 0x673858
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a70c], eax
cmp dword [0x70a70c], 0
jne 0x46bcb3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_write_coefficients
push 0x673888
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bcc2
cmp dword [ebp + 8], 0x70a710
jne 0x46bcfe
push 0x673890
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a710], eax
cmp dword [0x70a710], 0
jne 0x46bcfe
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_copy_critical_parameters
push 0x6738d0
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bd0d
cmp dword [ebp + 8], 0x70a714
jne 0x46bd4a
push 0x6738d8
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a714], eax
cmp dword [0x70a714], 0
jne 0x46bd4a
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_abort_compress
push 0x673900
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bd59
cmp dword [ebp + 8], 0x70a718
jne 0x46bd96
push 0x673908
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a718], eax
cmp dword [0x70a718], 0
jne 0x46bd96
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_abort_decompress
push 0x673938
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bda5
cmp dword [ebp + 8], 0x70a71c
jne 0x46bde1
push 0x673940
mov eax, dword [0x70a728]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a71c], eax
cmp dword [0x70a71c], 0
jne 0x46bde1
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
push str.jpeg_abort
push 0x673958
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46bdf0
cmp dword [ebp + 8], 0x70a720
jne 0x46be2d
push 0x673960
mov edx, dword [0x70a728]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a720], eax
cmp dword [0x70a720], 0
jne 0x46be2d
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
push eax
push str.jpeg_destroy
push 0x673980
call fcn.00401014
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x46be3c
cmp dword [ebp + 8], 0x70a724
jne 0x46be79
push 0x673988
mov ecx, dword [0x70a728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x70a724], eax
cmp dword [0x70a724], 0
jne 0x46be79
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
push str.jpeg_resync_to_restart
push str.:7:_s_s
call fcn.00401014
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret