Function at 0x53bf60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 0
push 0xe0
call fcn.00523ea0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x53bf9e
jmp 0x53cefa
mov word [ebp - 0x24], 0xf
mov word [ebp - 8], 0xf
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], 0xffffffff
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 0x10]
mov word [ecx + 0x30], ax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x2c], 0
jmp 0x53c049
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0x10]
jge 0x53c131
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x18]
mov esi, dword [ebp - 0x2c]
mov edx, dword [edx + esi*4]
mov eax, dword [eax + 0x10]
imul eax, dword [edx + 8]
mov ecx, dword [ecx]
add ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + edx*4]
add ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
cmp ecx, dword [edx + 8]
jle 0x53c0e5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x18]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ecx + esi*4]
mov edx, dword [edx + 0x14]
imul edx, dword [ecx + 0xc]
mov eax, dword [eax + 4]
add eax, edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [edx + ecx*4]
add eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 0xc]
jg 0x53c100
push str.unsupported_image_type_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x50]
imul eax, dword [edx + 8]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0x48]
imul edx, dword [ecx + 0xc]
mov dword [ebp - 0x48], edx
jmp 0x53c040
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x30]
imul ecx, ecx, 0xd8
push ecx
call fcn.00523ea0
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x34], 0
jne 0x53c15b
jmp 0x53cefa
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 4], edx
jmp 0x53c182
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
add ecx, 0xd8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x30]
cmp dword [ebp - 0x2c], eax
jge 0x53c217
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 4]
mov al, byte [ecx + 8]
mov byte [edx], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 4]
mov al, byte [ecx + 0xc]
mov byte [edx + 1], al
mov ecx, dword [ebp - 4]
mov byte [ecx + 2], 0
mov edx, dword [ebp - 4]
mov byte [edx + 2], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 4]
mov dl, byte [eax + 0x18]
mov byte [ecx + 4], dl
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov word [eax + 0xc], 0
push 0xc8
push 0
mov ecx, dword [ebp - 4]
add ecx, 0xe
push ecx
call fcn.005a3bb0
add esp, 0xc
jmp 0x53c16d
mov edx, dword [ebp + 0xc]
push edx
call fcn.005250b0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xdc], eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xd8], 0xffffffff
mov eax, dword [ebp - 0xc]
add eax, 0x38
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx], 1
mov eax, dword [ebp - 0x1c]
mov byte [eax + 5], 0
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 8], 1
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0xc]
add eax, 0x48
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov byte [ecx], 0
mov edx, dword [ebp - 0x30]
mov byte [edx + 1], 6
mov eax, dword [ebp - 0x30]
mov word [eax + 2], 6
mov ecx, dword [ebp - 0x30]
mov word [ecx + 4], 6
mov edx, dword [ebp - 0x30]
mov byte [edx + 6], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x8c], 2
cmp dword [ebp + 8], 0
je 0x53c2b3
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
jmp 0x53c2ba
mov dword [ebp - 0x54], 0x6a662c
mov edx, dword [ebp - 0x54]
push edx
call fcn.005432e0
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x53c2d4
jmp 0x53cefa
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543380
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x53c745
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00543560
add esp, 4
push eax
push 0x68f2a8
call fcn.00543580
add esp, 8
push eax
call fcn.005435c0
add esp, 4
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0x1a
ja case.default.0x53c322
mov eax, dword [ebp - 0x58]
jmp dword [eax*4 + 0x53cf38]
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x53c740
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
push eax
call fcn.0054f0e0
add esp, 4
mov word [ebp - 0x24], ax
jmp 0x53c740
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
push eax
call fcn.0054f0e0
add esp, 4
mov word [ebp - 8], ax
jmp 0x53c740
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
push eax
call fcn.0054f0e0
add esp, 4
mov edx, dword [ebp - 0x30]
mov word [edx + 2], ax
jmp 0x53c740
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
push eax
call fcn.0054f0e0
add esp, 4
mov ecx, dword [ebp - 0x30]
mov word [ecx + 4], ax
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
push 0x68f3ec
call fcn.00543580
add esp, 8
push eax
call fcn.005435c0
add esp, 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x53c4fd
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00543570
add esp, 4
push eax
push str.ignoring_invalid_mode__s_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53c50b
xor edx, edx
cmp dword [ebp - 0x4c], 0
sete dl
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
jmp 0x53c740
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00543570
add esp, 4
push eax
push 0x68f3b0
call fcn.00543580
add esp, 8
push eax
call fcn.005435c0
add esp, 4
mov edx, dword [eax]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
jge 0x53c563
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543570
add esp, 4
push eax
push str.ignoring_invalid_progression_order__s_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53c56c
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x4c]
mov byte [ecx + 5], dl
jmp 0x53c740
mov dword [ebp - 0x14], 0
jmp 0x53c740
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 1], al
jmp 0x53c740
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x3c]
or eax, 2
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x3c], al
jmp 0x53c740
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x3c]
or eax, 4
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x3c], al
jmp 0x53c740
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 6]
or eax, 1
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 6], al
jmp 0x53c740
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 6]
or eax, 4
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 6], al
jmp 0x53c740
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 6]
or eax, 0x20
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 6], al
jmp 0x53c740
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 6]
or eax, 8
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 6], al
jmp 0x53c740
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 6]
or eax, 2
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 6], al
jmp 0x53c740
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 6]
or eax, 0x10
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 6], al
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0xd4], al
jmp 0x53c740
mov edx, dword [ebp - 0xc]
add edx, 0xd8
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xdc]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0053d000
add esp, 0xc
test eax, eax
je 0x53c6b8
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543570
add esp, 4
push eax
push str.ignoring_bad_rate_specifier__s_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53c740
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543570
add esp, 4
push eax
call fcn.0054ec90
add esp, 0xc
test eax, eax
je 0x53c701
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00543570
add esp, 4
push eax
push str.warning:_invalid_intermediate_layer_rates_specifier_ignored___s__n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53c740
mov edx, dword [ebp - 0x44]
push edx
call fcn.00543570
add esp, 4
push eax
call fcn.0059ec15
add esp, 4
mov dword [ebp - 0x34], eax
jmp 0x53c740
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543560
add esp, 4
push eax
push str.warning:_ignoring_invalid_option__s_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53c2d4
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00543350
add esp, 4
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xd8], 0xffffffff
je 0x53c796
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xd8]
cmp ecx, dword [ebp - 0x34]
jbe 0x53c783
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xd8]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
jmp 0x53c78a
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xd8], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0xffffffff
jne 0x53c7ab
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], 0
jmp 0x53c7d7
cmp dword [ebp - 0x50], 1
je 0x53c7c7
push str.warning:_overriding_imgareatlx_value_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
imul eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0xffffffff
jne 0x53c7ec
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
jmp 0x53c818
cmp dword [ebp - 0x48], 1
je 0x53c808
push str.warning:_overriding_imgareatly_value_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
imul edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
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 - 0xc]
add eax, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
mov eax, dword [ebp - 0xc]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 0xffffffff
jne 0x53c85c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0xffffffff
jne 0x53c871
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x53c88c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x20], 0
jne 0x53c8a7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x10]
sub eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x30]
cmp eax, 3
jne 0x53c959
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 0
jmp 0x53c8d0
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0x10]
jge 0x53c957
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov edx, dword [eax]
mov eax, dword [ecx + 0x18]
cmp eax, dword [edx + 0x18]
jne 0x53c94b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov edx, dword [eax]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [edx + 0x1c]
jne 0x53c94b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov edx, dword [eax]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 0x10]
jne 0x53c94b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov edx, dword [eax]
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x14]
je 0x53c952
mov dword [ebp - 0x28], 0
jmp 0x53c8c7
jmp 0x53c960
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
je 0x53c990
cmp dword [ebp - 0x14], 0
je 0x53c990
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1c]
sar edx, 8
cmp edx, 4
je 0x53c990
push str.warning:_color_space_apparently_not_RGB_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x53c9c0
cmp dword [ebp - 0x14], 0
je 0x53c9c0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
sar ecx, 8
cmp ecx, 4
jne 0x53c9c0
mov edx, dword [ebp - 0x1c]
xor eax, eax
cmp dword [edx], 0
setne al
add eax, 1
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 6], al
jmp 0x53c9c7
mov edx, dword [ebp - 0x1c]
mov byte [edx + 6], 0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp dword [eax], 0
setne cl
mov edx, dword [ebp - 0x30]
mov byte [edx + 7], cl
mov word [ebp - 0x38], 0
jmp 0x53c9ec
mov ax, word [ebp - 0x38]
add ax, 1
mov word [ebp - 0x38], ax
movzx ecx, word [ebp - 0x38]
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 1]
cmp ecx, eax
jge 0x53ca1d
movzx ecx, word [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov ax, word [ebp - 0x24]
mov word [edx + ecx*2 + 8], ax
movzx ecx, word [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov ax, word [ebp - 8]
mov word [edx + ecx*2 + 0x4a], ax
jmp 0x53c9e0
movzx ecx, word [ebp - 0x24]
cmp ecx, 0xf
jne 0x53ca2f
movzx edx, word [ebp - 8]
cmp edx, 0xf
je 0x53ca3d
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
or ecx, 1
mov edx, dword [ebp - 0x30]
mov byte [edx], cl
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x1c], 0
jne 0x53ca68
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1c]
push edx
push str.invalid_tile_width__lu_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53cefa
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x20], 0
jne 0x53ca93
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
push edx
push str.invalid_tile_height__lu_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53cefa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x14]
cmp edx, dword [ecx + 4]
ja 0x53cad7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 8]
ja 0x53cad7
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
add ecx, dword [edx + 0x1c]
mov eax, dword [ebp - 0xc]
cmp ecx, dword [eax + 4]
jb 0x53cad7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
add edx, dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
cmp edx, dword [ecx + 8]
jae 0x53cb00
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x14]
push edx
push str.invalid_tile_grid_offset___lu___lu__n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0x10
jmp 0x53cefa
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
lea eax, [edx + ecx - 1]
mov ecx, dword [ebp - 0xc]
xor edx, edx
div dword [ecx + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
lea eax, [edx + ecx - 1]
mov ecx, dword [ebp - 0xc]
xor edx, edx
div dword [ecx + 0x20]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x24]
imul edx, dword [ecx + 0x28]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
cmp dword [ebp - 0x18], 0
je 0x53cbe6
cmp dword [ebp - 0x3c], 0
jle 0x53cbe6
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x1c]
mov word [edx + 8], cx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 8]
lea edx, [ecx*4 - 4]
push edx
call fcn.00523ea0
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0xc], 0
jne 0x53cba3
jmp 0x53cefa
mov dword [ebp - 0x10], 0
jmp 0x53cbb5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 8]
sub edx, 1
cmp dword [ebp - 0x10], edx
jge 0x53cbe6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
fld qword [ecx + eax*8]
fmul qword [0x61d430]
call fcn.005a3c30
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx + edx*4], eax
jmp 0x53cbac
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xd8], 0xffffffff
jne 0x53cc16
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x38], 0
jne 0x53cc16
push str.cannot_use_real_mode_for_lossless_coding_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
movzx edx, word [ebp - 0x24]
cmp edx, 0xf
jle 0x53cc3a
push str.invalid_precinct_width_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
movzx eax, word [ebp - 8]
cmp eax, 0xf
jle 0x53cc5e
push str.invalid_precinct_height_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x4a]
cmp edx, 2
jl 0x53cc76
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x4a]
cmp ecx, 0xc
jle 0x53cca0
mov edx, dword [ebp - 0xc]
movzx ecx, word [edx + 0x4a]
mov eax, 1
shl eax, cl
push eax
push str.invalid_code_block_width__d_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53cefa
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x4c]
cmp edx, 2
jl 0x53ccb8
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x4c]
cmp ecx, 0xc
jle 0x53cce2
mov edx, dword [ebp - 0xc]
movzx ecx, word [edx + 0x4c]
mov eax, 1
shl eax, cl
push eax
push str.invalid_code_block_height__d_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0xc
jmp 0x53cefa
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x4a]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x4c]
add edx, ecx
cmp edx, 0xc
jle 0x53cd12
push str.code_block_size_too_large_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x40]
cmp eax, 0x4000
jle 0x53cd3b
push str.too_many_layers_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x49]
cmp edx, 1
jge 0x53cd62
push str.must_be_at_least_one_resolution_level_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0xd4]
cmp ecx, 8
jle 0x53cd8c
push str.invalid_number_of_guard_bits_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xd8], 0xffffffff
je 0x53cdd6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0xd8]
cmp edx, dword [ecx + 0xdc]
jbe 0x53cdd6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xdc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xd8]
push eax
push str.warning:_specified_rate_is_unreasonably_large___lu____lu__n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 8]
cmp edx, 1
jle 0x53cee3
mov word [ebp - 0x20], 0
jmp 0x53cdfa
mov ax, word [ebp - 0x20]
add ax, 1
mov word [ebp - 0x20], ax
movzx ecx, word [ebp - 0x20]
add ecx, 2
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 8]
cmp ecx, eax
jge 0x53ce46
movzx ecx, word [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
movzx edx, word [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
cmp eax, dword [esi + edx*4 + 4]
jl 0x53ce44
push str.intermediate_layer_rates_must_increase_monotonically_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
jmp 0x53cdee
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xd8], 0xffffffff
je 0x53cee3
mov word [ebp - 0x20], 0
jmp 0x53ce6a
mov dx, word [ebp - 0x20]
add dx, 1
mov word [ebp - 0x20], dx
movzx eax, word [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 8]
sub edx, 1
cmp eax, edx
jge 0x53cee3
movzx eax, word [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
fild dword [edx + eax*4]
fdiv qword [0x61d430]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xd8]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
fild qword [ebp - 0x64]
mov edx, dword [ebp - 0xc]
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, 5
jp 0x53cede
push str.warning:_intermediate_layer_rates_must_be_less_than_overall_rate_n
call fcn.005a2510
add eax, 0x40
push eax
call fcn.0059f619
add esp, 8
jmp 0x53cefa
jmp 0x53ce5e
cmp dword [ebp - 0x18], 0
je 0x53cef5
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00523ec0
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x53cf32
cmp dword [ebp - 0x18], 0
je 0x53cf0c
mov edx, dword [ebp - 0x18]
push edx
call fcn.00523ec0
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x53cf1e
mov eax, dword [ebp - 0x44]
push eax
call fcn.00543350
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x53cf30
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0053cfb0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret