Function at 0x10072ad8
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.10043670
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10072b16
jmp 0x10073a5d
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 dword [ebp - 4], 0
jmp 0x10072bc1
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x10]
jge 0x10072ca5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x18]
mov esi, dword [ebp - 4]
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 - 4]
mov eax, dword [eax + edx*4]
add ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
cmp ecx, dword [edx + 8]
jle 0x10072c5d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x18]
mov esi, dword [ebp - 4]
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 - 4]
mov edx, dword [edx + ecx*4]
add eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 0xc]
jg 0x10072c74
push str.unsupported_image_type_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x14]
imul eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0x30]
imul edx, dword [ecx + 0xc]
mov dword [ebp - 0x30], edx
jmp 0x10072bb8
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x30]
imul ecx, ecx, 0xd8
push ecx
call fcn.10043670
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x34], 0
jne 0x10072cd1
jmp 0x10073a5d
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0xc], edx
jmp 0x10072cf8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xd8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 0x30]
cmp dword [ebp - 4], eax
jge 0x10072d8f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0xc]
mov al, byte [ecx + 8]
mov byte [edx], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*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 + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [eax + 0x18]
mov byte [ecx + 4], dl
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 8], edx
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.100122a0
add esp, 0xc
jmp 0x10072ce3
mov edx, dword [ebp + 0xc]
push edx
call fcn.1003ee69
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 0x10072e2b
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
jmp 0x10072e32
mov dword [ebp - 0x54], 0x10130570
mov edx, dword [ebp - 0x54]
push edx
call fcn.100a0090
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10072e4c
jmp 0x10073a5d
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0121
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10073296
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100a043b
add esp, 4
push eax
push 0x10124e38
call fcn.100a0451
add esp, 8
push eax
call fcn.100a0490
add esp, 4
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0x1a
ja case.default.0x10072e9a
mov eax, dword [ebp - 0x58]
jmp dword [eax*4 + 0x10073a9a]
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx], eax
jmp 0x10073291
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], eax
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
push eax
call fcn.100a08f0
add esp, 4
mov word [ebp - 0x40], ax
jmp 0x10073291
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
push eax
call fcn.100a08f0
add esp, 4
mov word [ebp - 0x18], ax
jmp 0x10073291
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
push eax
call fcn.100a08f0
add esp, 4
mov edx, dword [ebp - 0x4c]
mov word [edx + 2], ax
jmp 0x10073291
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
push eax
call fcn.100a08f0
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov word [ecx + 4], ax
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
push 0x10124f48
call fcn.100a0451
add esp, 8
push eax
call fcn.100a0490
add esp, 4
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x10073071
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100a0446
add esp, 4
push eax
push str.ignoring_invalid_mode__s_n
push 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x1007307f
xor edx, edx
cmp dword [ebp - 0x34], 0
sete dl
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
jmp 0x10073291
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100a0446
add esp, 4
push eax
push 0x10124f18
call fcn.100a0451
add esp, 8
push eax
call fcn.100a0490
add esp, 4
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jge 0x100730d3
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0446
add esp, 4
push eax
push str.ignoring_invalid_progression_order__s_n
push 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x100730dc
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ebp - 0x34]
mov byte [ecx + 5], dl
jmp 0x10073291
mov dword [ebp - 0x24], 0
jmp 0x10073291
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 1], al
jmp 0x10073291
mov edx, dword [ebp - 8]
mov al, byte [edx + 0x3c]
or al, 2
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x3c], al
jmp 0x10073291
mov edx, dword [ebp - 8]
mov al, byte [edx + 0x3c]
or al, 4
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x3c], al
jmp 0x10073291
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 1
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x10073291
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 4
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x10073291
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 0x20
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x10073291
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 8
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x10073291
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 2
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x10073291
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 6]
or al, 0x10
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 6], al
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov ecx, dword [ebp - 8]
mov byte [ecx + 0xd4], al
jmp 0x10073291
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.100a0446
add esp, 4
push eax
call fcn.10073b47
add esp, 0xc
test eax, eax
je 0x10073214
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0446
add esp, 4
push eax
push str.ignoring_bad_rate_specifier__s_n
push 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x10073291
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a0446
add esp, 4
push eax
call fcn.100a04b0
add esp, 0xc
test eax, eax
je 0x10073256
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100a0446
add esp, 4
push eax
push str.warning:_invalid_intermediate_layer_rates_specifier_ignored___s__n
push 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x10073291
mov edx, dword [ebp - 0x28]
push edx
call fcn.100a0446
add esp, 4
push eax
call fcn.10012c57
add esp, 4
mov dword [ebp - 0x38], eax
jmp 0x10073291
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a043b
add esp, 4
push eax
push 0x10125198
push 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x10072e4c
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100a00fa
add esp, 4
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0xd8], 0xffffffff
je 0x100732e7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xd8]
cmp ecx, dword [ebp - 0x38]
jbe 0x100732d4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd8]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
jmp 0x100732db
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 0x100732fc
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 0
jmp 0x10073324
cmp dword [ebp - 0x14], 1
je 0x10073314
push str.warning:_overriding_imgareatlx_value_n
push 0x1011f2f0
call fcn.100e8970
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 0x10073339
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
jmp 0x10073361
cmp dword [ebp - 0x30], 1
je 0x10073351
push str.warning:_overriding_imgareatly_value_n
push 0x1011f2f0
call fcn.100e8970
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 0x100733a9
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 0x100733be
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 0x100733d9
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 0x100733f4
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 0x100734a8
mov dword [ebp - 0x48], 1
mov dword [ebp - 4], 0
jmp 0x1007341f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x10]
jge 0x100734a6
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x18]
jne 0x1007349a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx]
mov edx, dword [eax + 0x1c]
cmp edx, dword [ecx + 0x1c]
jne 0x1007349a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx]
mov edx, dword [eax + 0x10]
cmp edx, dword [ecx + 0x10]
jne 0x1007349a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx]
mov edx, dword [eax + 0x14]
cmp edx, dword [ecx + 0x14]
je 0x100734a1
mov dword [ebp - 0x48], 0
jmp 0x10073416
jmp 0x100734af
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x100734db
cmp dword [ebp - 0x24], 0
je 0x100734db
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
sar ecx, 8
cmp ecx, 4
je 0x100734db
push str.warning:_color_space_apparently_not_RGB_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
cmp dword [ebp - 0x48], 0
je 0x10073509
cmp dword [ebp - 0x24], 0
je 0x10073509
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
sar eax, 8
cmp eax, 4
jne 0x10073509
mov ecx, dword [ebp - 0x3c]
xor edx, edx
cmp dword [ecx], 0
setne dl
inc edx
mov eax, dword [ebp - 0x3c]
mov byte [eax + 6], dl
jmp 0x10073510
mov ecx, dword [ebp - 0x3c]
mov byte [ecx + 6], 0
mov edx, dword [ebp - 0x3c]
xor eax, eax
cmp dword [edx], 0
setne al
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 7], al
mov word [ebp - 0x44], 0
jmp 0x10073535
mov dx, word [ebp - 0x44]
add dx, 1
mov word [ebp - 0x44], dx
mov eax, dword [ebp - 0x44]
and eax, 0xffff
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov dl, byte [ecx + 1]
cmp eax, edx
jge 0x10073573
mov eax, dword [ebp - 0x44]
and eax, 0xffff
mov ecx, dword [ebp - 0x4c]
mov dx, word [ebp - 0x40]
mov word [ecx + eax*2 + 8], dx
mov eax, dword [ebp - 0x44]
and eax, 0xffff
mov ecx, dword [ebp - 0x4c]
mov dx, word [ebp - 0x18]
mov word [ecx + eax*2 + 0x4a], dx
jmp 0x10073529
mov eax, dword [ebp - 0x40]
and eax, 0xffff
cmp eax, 0xf
jne 0x1007358e
mov ecx, dword [ebp - 0x18]
and ecx, 0xffff
cmp ecx, 0xf
je 0x1007359a
mov edx, dword [ebp - 0x4c]
mov al, byte [edx]
or al, 1
mov ecx, dword [ebp - 0x4c]
mov byte [ecx], al
mov edx, dword [ebp - 8]
cmp dword [edx + 0x1c], 0
jne 0x100735c1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
push str.invalid_tile_width__lu_n
push 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x10073a5d
mov edx, dword [ebp - 8]
cmp dword [edx + 0x20], 0
jne 0x100735e8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
push str.invalid_tile_height__lu_n
push 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x10073a5d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 4]
ja 0x1007362c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [eax + 8]
ja 0x1007362c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x1c]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 4]
jb 0x1007362c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 8]
add ecx, dword [edx + 0x20]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x10073651
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
push str.invalid_tile_grid_offset___lu___lu__n
push 0x1011f2f0
call fcn.100e8970
add esp, 0x10
jmp 0x10073a5d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax + 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
lea eax, [ecx + eax - 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 0x1007373b
cmp dword [ebp - 0x10], 0
jle 0x1007373b
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.10043670
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0xc], 0
jne 0x100736f6
jmp 0x10073a5d
mov dword [ebp - 0x2c], 0
jmp 0x10073708
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 0x1007373b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
fld qword [ecx + eax*8]
fmul qword [0x100fb8f0]
call fcn.10011ba8
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + edx*4], eax
jmp 0x100736ff
mov eax, dword [ebp - 8]
cmp dword [eax + 0xd8], 0xffffffff
jne 0x10073767
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x38], 0
jne 0x10073767
push str.cannot_use_real_mode_for_lossless_coding_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov edx, dword [ebp - 0x40]
and edx, 0xffff
cmp edx, 0xf
jle 0x1007378c
push str.invalid_precinct_width_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov eax, dword [ebp - 0x18]
and eax, 0xffff
cmp eax, 0xf
jle 0x100737b0
push str.invalid_precinct_height_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov ecx, dword [ebp - 8]
xor edx, edx
mov dx, word [ecx + 0x4a]
cmp edx, 2
jl 0x100737cc
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x4a]
cmp ecx, 0xc
jle 0x100737f6
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 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x10073a5d
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 0x4c]
cmp ecx, 2
jl 0x10073812
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 0x4c]
cmp eax, 0xc
jle 0x1007383c
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 0x1011f2f0
call fcn.100e8970
add esp, 0xc
jmp 0x10073a5d
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 0x1007386c
push str.code_block_size_too_large_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov edx, dword [ebp - 8]
xor eax, eax
mov ax, word [edx + 0x40]
cmp eax, 0x4000
jle 0x10073893
push str.too_many_layers_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x49]
cmp edx, 1
jge 0x100738b7
push str.must_be_at_least_one_resolution_level_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0xd4]
cmp ecx, 8
jle 0x100738de
push str.invalid_number_of_guard_bits_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
mov edx, dword [ebp - 8]
cmp dword [edx + 0xd8], 0xffffffff
je 0x10073924
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xd8]
cmp edx, dword [ecx + 0xdc]
jbe 0x10073924
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 0x1011f2f0
call fcn.100e8970
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dx, word [ecx + 8]
cmp edx, 1
jle 0x10073a46
mov word [ebp - 0x50], 0
jmp 0x1007394a
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 0x100739a3
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 0x100739a1
push str.intermediate_layer_rates_must_increase_monotonically_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
jmp 0x1007393e
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xd8], 0xffffffff
je 0x10073a46
mov word [ebp - 0x50], 0
jmp 0x100739c7
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 0x10073a46
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 [0x100fb8f0]
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 0x10073a41
push str.warning:_intermediate_layer_rates_must_be_less_than_overall_rate_n
push 0x1011f2f0
call fcn.100e8970
add esp, 8
jmp 0x10073a5d
jmp 0x100739bb
cmp dword [ebp - 0x1c], 0
je 0x10073a58
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10043681
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x10073a95
cmp dword [ebp - 0x1c], 0
je 0x10073a6f
mov edx, dword [ebp - 0x1c]
push edx
call fcn.10043681
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x10073a81
mov eax, dword [ebp - 0x28]
push eax
call fcn.100a00fa
add esp, 4
cmp dword [ebp - 8], 0
je 0x10073a93
mov ecx, dword [ebp - 8]
push ecx
call fcn.10073b06
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret