Function at 0x41b333
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x194]
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x1c], 0
je 0x41b35e
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], sym._finish_pass_gather
jmp 0x41b368
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], sym._finish_pass_huff
mov eax, dword [ebp + 8]
mov al, byte [eax + 0xf8]
test al, al
je 0x41b446
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [eax + 0x78], edx
mov eax, dword [ebp - 0x18]
mov dl, byte [ebp - 0x1c]
mov byte [eax + 0x6c], dl
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x160]
test eax, eax
jne 0x41b3bd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x158]
test eax, eax
jne 0x41b3b1
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], sym._encode_mcu_DC_first_1
jmp 0x41b418
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], sym._encode_mcu_AC_first_1
jmp 0x41b418
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x158]
test eax, eax
jne 0x41b3d6
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], sym._encode_mcu_DC_refine_1
jmp 0x41b418
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], sym._encode_mcu_AC_refine_1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x41b418
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], 1
mov dword [esp], eax
call edx
mov edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x88], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x114]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x80], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x84], 0
jmp 0x41b462
cmp byte [ebp - 0x1c], 0
je 0x41b458
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], sym._encode_mcu_gather
jmp 0x41b462
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], sym._encode_mcu_huff
mov dword [ebp - 0x14], 0
jmp 0x41b674
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add edx, 0x44
mov eax, dword [eax + edx*4 + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x158]
test eax, eax
jne 0x41b587
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x160]
test eax, eax
jne 0x41b587
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x1c], 0
je 0x41b54c
cmp dword [ebp - 0x10], 0
js 0x41b4bf
cmp dword [ebp - 0x10], 3
jle 0x41b4e5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax + 0x14], 0x34
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add edx, 0x10
mov eax, dword [eax + edx*4 + 0xc]
test eax, eax
jne 0x41b525
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x404
mov dword [esp + 4], 1
mov dword [esp], eax
call edx
mov edx, eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + 0x10]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add edx, 0x10
mov eax, dword [eax + edx*4 + 0xc]
mov dword [esp + 8], 0x404
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
jmp 0x41b579
mov eax, dword [ebp - 0x18]
lea edx, [eax + 0x2c]
mov eax, dword [ebp - 0x10]
shl eax, 2
lea eax, [edx + eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._jpeg_make_c_derived_tbl
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [eax + edx*4 + 0x14], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x15c]
test eax, eax
je 0x41b671
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x1c], 0
je 0x41b644
cmp dword [ebp - 0x10], 0
js 0x41b5b7
cmp dword [ebp - 0x10], 3
jle 0x41b5dd
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax + 0x14], 0x34
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add edx, 0x14
mov eax, dword [eax + edx*4 + 0xc]
test eax, eax
jne 0x41b61d
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x404
mov dword [esp + 4], 1
mov dword [esp], eax
call edx
mov edx, eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add edx, 0x14
mov eax, dword [eax + edx*4 + 0xc]
mov dword [esp + 8], 0x404
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
jmp 0x41b671
mov eax, dword [ebp - 0x18]
lea edx, [eax + 0x3c]
mov eax, dword [ebp - 0x10]
shl eax, 2
lea eax, [edx + eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._jpeg_make_c_derived_tbl
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x110]
cmp eax, dword [ebp - 0x14]
jg 0x41b46e
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xe0]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x28], 0
add esp, 0x34
pop ebx
pop ebp
ret