Function at 0x4927ba
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
push 0xe0
call fcn.0048b840
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4927f8
jmp 0x4937d6
mov word [ebp - 0x40], 0xf
mov word [ebp - 0x18], 0xf
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
mov edx, dword [ebp - 8]
mov dword [edx + 4], 0xffffffff
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 0xffffffff
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], 0xffffffff
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 0x10]
mov word [ecx + 0x30], ax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x30], 1
mov word [ebp - 4], 0
jmp 0x4928a5
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax + 0x10]
cmp edx, ecx
jge 0x4929cd
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + edx*4]
mov eax, dword [ebp - 4]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x14]
mov ecx, dword [esi + ecx*4]
mov eax, dword [eax + 0x10]
imul eax, dword [ecx + 8]
mov ecx, dword [edx]
add ecx, eax
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + edx*4]
add ecx, dword [edx + 8]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x49297a
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 4]
and eax, 0xffff
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 0x14]
mov eax, dword [esi + eax*4]
mov edx, dword [edx + 0x14]
imul edx, dword [eax + 0xc]
mov eax, dword [ecx + 4]
add eax, edx
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov ecx, dword [edx + ecx*4]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp + 0xc]
cmp eax, dword [edx + 0xc]
ja 0x492991
push str.unsupported_image_type_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov eax, dword [ebp - 4]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp - 0x14]
imul ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + edx*4]
mov eax, dword [ebp - 0x30]
imul eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
jmp 0x492899
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0x30]
imul edx, edx, 0xd8
push edx
call fcn.0048b840
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x34], 0
jne 0x4929f9
jmp 0x4937d6
mov word [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0xc], ecx
jmp 0x492a21
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
mov eax, dword [ebp - 0xc]
add eax, 0xd8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 0x30]
cmp ecx, eax
jge 0x492ad8
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp - 0xc]
mov al, byte [ecx + 8]
mov byte [edx], al
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp - 0xc]
mov al, byte [ecx + 0xc]
mov byte [edx + 1], al
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 2], 0
mov edx, dword [ebp - 0xc]
mov byte [edx + 2], 0
mov eax, dword [ebp - 4]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [eax + 0x18]
mov byte [ecx + 4], dl
mov eax, dword [ebp - 4]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
xor ecx, ecx
mov cl, byte [eax + 0x1a]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0xc]
mov word [eax + 0xc], 0
push 0xc8
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0xe
push ecx
call fcn.004f8250
add esp, 0xc
jmp 0x492a0a
mov edx, dword [ebp + 0xc]
push edx
call fcn.0048abf9
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xdc], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0xd8], 0xffffffff
mov eax, dword [ebp - 8]
add eax, 0x38
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x3c]
mov dword [edx], 1
mov eax, dword [ebp - 0x3c]
mov byte [eax + 5], 0
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 8], 1
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 8]
add eax, 0x48
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x4c]
mov byte [edx + 1], 6
mov eax, dword [ebp - 0x4c]
mov word [eax + 2], 6
mov ecx, dword [ebp - 0x4c]
mov word [ecx + 4], 6
mov edx, dword [ebp - 0x4c]
mov byte [edx + 6], 0
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x8c], 2
cmp dword [ebp + 8], 0
je 0x492b74
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
jmp 0x492b7b
mov dword [ebp - 0x54], 0x64054c
mov edx, dword [ebp - 0x54]
push edx
call fcn.004a0490
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x492b95
jmp 0x4937d6
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0521
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x492fdf
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a083b
add esp, 4
push eax
push 0x62c4e8
call fcn.004a0851
add esp, 8
push eax
call fcn.004a0890
add esp, 4
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0x1a
ja case.default.0x492be3
mov eax, dword [ebp - 0x58]
jmp dword [eax*4 + 0x493813]
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx], eax
jmp 0x492fda
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], eax
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
push eax
call fcn.0049f7e0
add esp, 4
mov word [ebp - 0x40], ax
jmp 0x492fda
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
push eax
call fcn.0049f7e0
add esp, 4
mov word [ebp - 0x18], ax
jmp 0x492fda
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
push eax
call fcn.0049f7e0
add esp, 4
mov edx, dword [ebp - 0x4c]
mov word [edx + 2], ax
jmp 0x492fda
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
push eax
call fcn.0049f7e0
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov word [ecx + 4], ax
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
push 0x62c5f8
call fcn.004a0851
add esp, 8
push eax
call fcn.004a0890
add esp, 4
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x492dba
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a0846
add esp, 4
push eax
push str.ignoring_invalid_mode__s_n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x492dc8
xor edx, edx
cmp dword [ebp - 0x34], 0
sete dl
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
jmp 0x492fda
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a0846
add esp, 4
push eax
push 0x62c5c8
call fcn.004a0851
add esp, 8
push eax
call fcn.004a0890
add esp, 4
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jge 0x492e1c
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0846
add esp, 4
push eax
push str.ignoring_invalid_progression_order__s_n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x492e25
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ebp - 0x34]
mov byte [ecx + 5], dl
jmp 0x492fda
mov dword [ebp - 0x24], 0
jmp 0x492fda
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 1], al
jmp 0x492fda
mov edx, dword [ebp - 8]
mov al, byte [edx + 0x3c]
or al, 2
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x3c], al
jmp 0x492fda
mov edx, dword [ebp - 8]
mov al, byte [edx + 0x3c]
or al, 4
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x3c], al
jmp 0x492fda
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 1
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x492fda
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 4
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x492fda
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 0x20
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x492fda
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 8
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x492fda
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 2
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x492fda
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 0x10
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov ecx, dword [ebp - 8]
mov byte [ecx + 0xd4], al
jmp 0x492fda
mov edx, dword [ebp - 8]
add edx, 0xd8
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xdc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004938c0
add esp, 0xc
test eax, eax
je 0x492f5d
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0846
add esp, 4
push eax
push str.ignoring_bad_rate_specifier__s_n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x492fda
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0846
add esp, 4
push eax
call fcn.004a08b0
add esp, 0xc
test eax, eax
je 0x492f9f
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a0846
add esp, 4
push eax
push str.warning:_invalid_intermediate_layer_rates_specifier_ignored___s__n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x492fda
mov edx, dword [ebp - 0x28]
push edx
call fcn.004a0846
add esp, 4
push eax
call fcn.004f66ae
add esp, 4
mov dword [ebp - 0x38], eax
jmp 0x492fda
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a083b
add esp, 4
push eax
push 0x62c848
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x492b95
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004a04fa
add esp, 4
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0xd8], 0xffffffff
je 0x493030
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xd8]
cmp ecx, dword [ebp - 0x38]
jbe 0x49301d
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd8]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
jmp 0x493024
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xd8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
jne 0x493045
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 0
jmp 0x49306d
cmp dword [ebp - 0x14], 1
je 0x49305d
push str.warning:_overriding_imgareatlx_value_n
push 0x631d10
call fcn.004f69ba
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 8], 0xffffffff
jne 0x493082
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
jmp 0x4930aa
cmp dword [ebp - 0x30], 1
je 0x49309a
push str.warning:_overriding_imgareatly_value_n
push 0x631d10
call fcn.004f69ba
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
imul edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
add edx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
add edx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 0xffffffff
jne 0x4930f2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x18], 0xffffffff
jne 0x493107
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 0
jne 0x493122
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x20], 0
jne 0x49313d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 0x18]
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0x30]
cmp edx, 3
jne 0x493226
mov dword [ebp - 0x48], 1
mov word [ebp - 4], 0
jmp 0x49316a
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [edx + 0x10]
cmp ecx, eax
jge 0x493224
mov ecx, dword [ebp - 4]
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + ecx*4]
xor edx, edx
mov dx, word [ecx + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
xor ecx, ecx
mov cx, word [eax + 0x18]
cmp edx, ecx
jne 0x493218
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + edx*4]
xor eax, eax
mov al, byte [edx + 0x1a]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx]
xor edx, edx
mov dl, byte [ecx + 0x1a]
cmp eax, edx
jne 0x493218
mov eax, dword [ebp - 4]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx]
mov edx, dword [eax + 0x10]
cmp edx, dword [ecx + 0x10]
jne 0x493218
mov eax, dword [ebp - 4]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx]
mov edx, dword [eax + 0x14]
cmp edx, dword [ecx + 0x14]
je 0x49321f
mov dword [ebp - 0x48], 0
jmp 0x49315e
jmp 0x49322d
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x493254
cmp dword [ebp - 0x24], 0
je 0x493254
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 2
je 0x493254
push str.warning:_color_model_apparently_not_RGB_n
push 0x631d10
call fcn.004f69ba
add esp, 8
cmp dword [ebp - 0x48], 0
je 0x49327d
cmp dword [ebp - 0x24], 0
je 0x49327d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 2
jne 0x49327d
mov edx, dword [ebp - 0x3c]
xor eax, eax
cmp dword [edx], 0
setne al
inc eax
mov ecx, dword [ebp - 0x3c]
mov byte [ecx + 6], al
jmp 0x493284
mov edx, dword [ebp - 0x3c]
mov byte [edx + 6], 0
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
cmp dword [eax], 0
setne cl
mov edx, dword [ebp - 0x4c]
mov byte [edx + 7], cl
mov word [ebp - 0x44], 0
jmp 0x4932a9
mov ax, word [ebp - 0x44]
add ax, 1
mov word [ebp - 0x44], ax
mov ecx, dword [ebp - 0x44]
and ecx, 0xffff
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov al, byte [edx + 1]
cmp ecx, eax
jge 0x4932ea
mov ecx, dword [ebp - 0x44]
and ecx, 0xffff
mov edx, dword [ebp - 0x4c]
mov ax, word [ebp - 0x40]
mov word [edx + ecx*2 + 8], ax
mov ecx, dword [ebp - 0x44]
and ecx, 0xffff
mov edx, dword [ebp - 0x4c]
mov ax, word [ebp - 0x18]
mov word [edx + ecx*2 + 0x4a], ax
jmp 0x49329d
mov ecx, dword [ebp - 0x40]
and ecx, 0xffff
cmp ecx, 0xf
jne 0x493306
mov edx, dword [ebp - 0x18]
and edx, 0xffff
cmp edx, 0xf
je 0x493313
mov eax, dword [ebp - 0x4c]
mov cl, byte [eax]
or cl, 1
mov edx, dword [ebp - 0x4c]
mov byte [edx], cl
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 0
jne 0x49333a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
push str.invalid_tile_width__lu_n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x4937d6
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0
jne 0x493361
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
push str.invalid_tile_height__lu_n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x4937d6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x14]
cmp edx, dword [ecx + 4]
ja 0x4933a5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 8]
ja 0x4933a5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 8]
add ecx, dword [edx + 0x1c]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 4]
jb 0x4933a5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x20]
mov ecx, dword [ebp - 8]
cmp edx, dword [ecx + 8]
jae 0x4933ca
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
push edx
push str.invalid_tile_grid_offset___lu___lu__n
push 0x631d10
call fcn.004f69ba
add esp, 0x10
jmp 0x4937d6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
lea eax, [edx + ecx - 1]
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x1c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
lea eax, [edx + ecx - 1]
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x20]
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x24]
imul edx, dword [ecx + 0x28]
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], edx
cmp dword [ebp - 0x1c], 0
je 0x4934b4
cmp dword [ebp - 0x10], 0
jle 0x4934b4
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov edx, dword [ebp - 0x3c]
mov word [edx + 8], cx
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov cx, word [eax + 8]
lea edx, [ecx*4 - 4]
push edx
call fcn.0048b840
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0xc], 0
jne 0x49346f
jmp 0x4937d6
mov dword [ebp - 0x2c], 0
jmp 0x493481
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dx, word [ecx + 8]
sub edx, 1
cmp dword [ebp - 0x2c], edx
jge 0x4934b4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
fld qword [ecx + eax*8]
fmul qword [0x5e58b8]
call fcn.004f6200
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + edx*4], eax
jmp 0x493478
mov eax, dword [ebp - 8]
cmp dword [eax + 0xd8], 0xffffffff
jne 0x4934e0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x38], 0
jne 0x4934e0
push str.cannot_use_real_mode_for_lossless_coding_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov edx, dword [ebp - 0x40]
and edx, 0xffff
cmp edx, 0xf
jle 0x493505
push str.invalid_precinct_width_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov eax, dword [ebp - 0x18]
and eax, 0xffff
cmp eax, 0xf
jle 0x493529
push str.invalid_precinct_height_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0x4a]
cmp edx, 2
jl 0x493545
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x4a]
cmp ecx, 0xc
jle 0x49356f
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 0x4a]
mov ecx, eax
mov edx, 1
shl edx, cl
push edx
push str.invalid_code_block_width__d_n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x4937d6
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x4c]
cmp ecx, 2
jl 0x49358b
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 0x4c]
cmp eax, 0xc
jle 0x4935b5
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0x4c]
mov ecx, edx
mov eax, 1
shl eax, cl
push eax
push str.invalid_code_block_height__d_n
push 0x631d10
call fcn.004f69ba
add esp, 0xc
jmp 0x4937d6
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0x4a]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x4c]
add edx, ecx
cmp edx, 0xc
jle 0x4935e5
push str.code_block_size_too_large_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 0x40]
cmp eax, 0x4000
jle 0x49360c
push str.too_many_layers_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x49]
cmp edx, 1
jge 0x493630
push str.must_be_at_least_one_resolution_level_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0xd4]
cmp ecx, 8
jle 0x493657
push str.invalid_number_of_guard_bits_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
mov edx, dword [ebp - 8]
cmp dword [edx + 0xd8], 0xffffffff
je 0x49369d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xd8]
cmp edx, dword [ecx + 0xdc]
jbe 0x49369d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xdc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd8]
push eax
push str.warning:_specified_rate_is_unreasonably_large___lu____lu__n
push 0x631d10
call fcn.004f69ba
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dx, word [ecx + 8]
cmp edx, 1
jle 0x4937bf
mov word [ebp - 0x50], 0
jmp 0x4936c3
mov ax, word [ebp - 0x50]
add ax, 1
mov word [ebp - 0x50], ax
mov ecx, dword [ebp - 0x50]
and ecx, 0xffff
add ecx, 2
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov ax, word [edx + 8]
cmp ecx, eax
jge 0x49371c
mov ecx, dword [ebp - 0x50]
and ecx, 0xffff
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x50]
and edx, 0xffff
mov esi, dword [ebp - 0x3c]
mov esi, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
cmp eax, dword [esi + edx*4 + 4]
jl 0x49371a
push str.intermediate_layer_rates_must_increase_monotonically_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
jmp 0x4936b7
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xd8], 0xffffffff
je 0x4937bf
mov word [ebp - 0x50], 0
jmp 0x493740
mov dx, word [ebp - 0x50]
add dx, 1
mov word [ebp - 0x50], dx
mov eax, dword [ebp - 0x50]
and eax, 0xffff
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dx, word [ecx + 8]
sub edx, 1
cmp eax, edx
jge 0x4937bf
mov eax, dword [ebp - 0x50]
and eax, 0xffff
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0xc]
fild dword [edx + eax*4]
fdiv qword [0x5e58b8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xd8]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
fild qword [ebp - 0x64]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xdc]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fdivp st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4937ba
push str.warning:_intermediate_layer_rates_must_be_less_than_overall_rate_n
push 0x631d10
call fcn.004f69ba
add esp, 8
jmp 0x4937d6
jmp 0x493734
cmp dword [ebp - 0x1c], 0
je 0x4937d1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048b851
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x49380e
cmp dword [ebp - 0x1c], 0
je 0x4937e8
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048b851
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x4937fa
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a04fa
add esp, 4
cmp dword [ebp - 8], 0
je 0x49380c
mov ecx, dword [ebp - 8]
push ecx
call fcn.0049387f
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret