Function at 0x408d70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a70
call fcn.0052add0
mov eax, dword [0x6de5c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [0x6e36ac], 1
mov dword [ebp - 4], 0x8000
cmp dword [0x64cfe8], 0xffffffff
jne 0x408dc1
push 0
push str.dde_log
push 0x6e35e4
call fcn.0044c600
add esp, 0xc
mov dword [0x64cfe8], eax
cmp dword [0x64cfe8], 0
je 0x408e49
call fcn.0046fba0
mov eax, dword [0x6e08c0]
push eax
lea ecx, [ebp - 0x458]
push ecx
call fcn.00523050
add esp, 8
push str.dde.log
lea edx, [ebp - 0x458]
push edx
call fcn.00523000
add esp, 8
push 0x64d00c
lea eax, [ebp - 0x458]
push eax
call fcn.0052ad10
add esp, 8
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
je 0x408e49
mov ecx, dword [ebp + 8]
push ecx
call dword [0x59b4a4]
push eax
push 0x64d010
mov edx, dword [ebp - 0x45c]
push edx
call fcn.0052a890
add esp, 0x10
mov eax, dword [ebp - 0x45c]
push eax
call fcn.0052a680
add esp, 4
push 0x152
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call fcn.0052a610
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.0040baf0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x408ea1
mov dword [ebp - 4], 0
mov dword [0x6e36ac], 0
mov eax, dword [ebp - 4]
jmp 0x40b9d2
mov edx, dword [ebp - 0x2c4]
push edx
push str._ENDAPPLICATION_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x408ee5
mov dword [0x6dc434], 1
cmp dword [ebp + 0x10], 0
jne 0x408ee0
push 0
push 0
push 0x10
mov ecx, dword [0x6e3660]
push ecx
call dword [0x6e016c]
jmp 0x40b9c5
mov edx, dword [ebp + 8]
push edx
call fcn.0040bdd0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x408f0c
cmp dword [ebp - 0x10], 0
jge 0x408f07
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._EXCELML_1SHEET_PER_TABLE_
cmp dword [ebp - 8], 0
je 0x408fa1
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x408fa1
mov dword [ebp - 0x460], 0xfffffffd
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jl 0x408f75
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0
jl 0x408f95
xor edx, edx
cmp dword [ebp - 0x460], 0
setne dl
add edx, 1
mov dword [0x6e09f0], edx
jmp 0x408f9c
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._OPTIONS_GRAPHICS_ADVANCED_
cmp dword [ebp - 8], 0
je 0x409195
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409195
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jge 0x408ff2
mov dword [ebp - 4], 0
push 0x2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0
je 0x409189
push 0x2c
mov edx, dword [ebp - 0x46c]
add edx, 2
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x46c]
mov word [eax], 0
mov ecx, dword [ebp - 0x46c]
add ecx, 2
mov dword [ebp - 0x46c], ecx
cmp dword [ebp - 0x464], 0
je 0x409180
push 0x29
mov edx, dword [ebp - 0x464]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
je 0x409086
mov eax, dword [ebp - 0x468]
mov word [eax], 0
mov ecx, dword [ebp - 0x464]
mov word [ecx], 0
mov edx, dword [ebp - 0x464]
add edx, 2
mov dword [ebp - 0x464], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x46c]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x474], eax
mov ecx, dword [ebp - 0x464]
push ecx
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x478], 0
je 0x409108
cmp dword [ebp - 0x478], 0x32
jl 0x409101
cmp dword [ebp - 0x478], 0x12c
jle 0x409108
mov dword [ebp - 4], 0
cmp dword [ebp - 0x474], 0
jne 0x40912a
cmp dword [ebp - 0x470], 1
jl 0x409123
cmp dword [ebp - 0x470], 0xa
jle 0x40912a
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40917e
cmp dword [ebp - 0x478], 0
jne 0x409148
mov dword [0x6e11c0], 0
jmp 0x40915e
mov dword [0x6e11c0], 1
mov edx, dword [ebp - 0x478]
mov dword [0x6e11c4], edx
mov eax, dword [ebp - 0x474]
mov dword [0x6e11c8], eax
cmp dword [ebp - 0x474], 0
jne 0x40917e
mov ecx, dword [ebp - 0x470]
mov dword [0x6e11cc], ecx
jmp 0x409187
mov dword [ebp - 4], 0
jmp 0x409190
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._SMOOTH_
cmp dword [ebp - 8], 0
je 0x409240
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409240
mov dword [ebp - 0x47c], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x4091fe
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0
jl 0x409234
cmp dword [0x6e11f4], 0x15c1
jne 0x409221
mov ecx, dword [ebp - 0x47c]
mov dword [0x6e091c], ecx
jmp 0x40922d
mov edx, dword [ebp - 0x47c]
mov dword [0x6e1c30], edx
call fcn.0045aad0
jmp 0x40923b
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov eax, dword [ebp - 0x2c4]
push eax
push str._DO_STI_SCAN_
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40927a
push 0
push 0x19d
push 0x111
mov edx, dword [0x6e3660]
push edx
call dword [0x6e016c]
jmp 0x40b9c5
mov eax, dword [ebp - 0x2c4]
push eax
push str._NEW_DOCUMENT_
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x4092bb
push 0
push 0x168
push 0x111
mov edx, dword [0x6e3660]
push edx
call fcn.00465600
add esp, 0x10
call fcn.00485106
jmp 0x40b9c5
mov eax, dword [ebp - 0x2c4]
push eax
push 0x64d104
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40938f
mov edx, dword [0x6e030c]
push edx
push str.scan_multipage__i_n
lea eax, [ebp - 0x610]
push eax
call dword [0x6e01b8]
add esp, 0xc
lea ecx, [ebp - 0x610]
push ecx
call dword [0x6e004c]
mov edx, dword [0x6e2720]
push edx
call fcn.00469510
add esp, 4
mov eax, dword [0x6e2724]
sub eax, 1
mov dword [0x6e2720], eax
mov dword [0x6e2728], 0
mov dword [0x6e272c], 0
call fcn.0040bd00
cmp dword [0x6e2728], 0
jne 0x40935b
push 0
push 0x1715
push 0x111
mov ecx, dword [0x6e3660]
push ecx
call dword [0x6e0184]
cmp dword [0x6e2728], 0
je 0x40937a
push 0
push str.SCAN_MULTIPAGE_stopped
call fcn.00434a60
add esp, 8
mov dword [ebp - 4], 0xff
cmp dword [0x6e272c], 0
je 0x40938a
mov dword [ebp - 4], 0xff
jmp 0x40b9c5
mov dword [ebp - 8], str._GOTO_PAGE_
cmp dword [ebp - 8], 0
je 0x409443
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409443
mov dword [ebp - 0x614], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x4093f8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x614]
sub ecx, 1
mov dword [ebp - 0x614], ecx
js 0x409437
mov edx, dword [ebp - 0x614]
cmp edx, dword [0x6e2724]
jge 0x409437
mov eax, dword [ebp - 0x614]
push eax
push 0x161
push 0x111
mov ecx, dword [0x6e3660]
push ecx
call dword [0x6e0184]
jmp 0x40943e
mov dword [ebp - 4], 0xff
jmp 0x40b9c5
mov dword [ebp - 8], str._DOTMATRIX_
cmp dword [ebp - 8], 0
je 0x409538
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409538
mov dword [ebp - 0x618], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x4094b0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x618], eax
mov ecx, dword [ebp - 0x618]
mov dword [ebp - 0x1a6c], ecx
cmp dword [ebp - 0x1a6c], 0xffffffff
je 0x4094d0
cmp dword [ebp - 0x1a6c], 1
je 0x409512
jmp 0x40952c
push 4
push 0x64d1b0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409509
push 0
push 0x15bd
push 0x111
mov edx, dword [0x6e3660]
push edx
call dword [0x6e0184]
jmp 0x409510
mov dword [ebp - 4], 0
jmp 0x409533
push 0
push 0x15bb
push 0x111
mov eax, dword [0x6e3660]
push eax
call dword [0x6e0184]
jmp 0x409533
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._PITCH_
cmp dword [ebp - 8], 0
je 0x40964f
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40964f
mov dword [ebp - 0x61c], 0xfffffffd
mov edx, dword [ebp - 0x2c4]
sub edx, dword [ebp - 0xc]
cmp edx, 2
jl 0x409643
push 3
push str.auto
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x4095c8
push 0
push 0x159f
push 0x111
mov eax, dword [0x6e3660]
push eax
call dword [0x6e0184]
jmp 0x409641
push 3
push str.fixed
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409601
push 0
push 0x15a0
push 0x111
mov ecx, dword [0x6e3660]
push ecx
call dword [0x6e0184]
jmp 0x409641
push 3
push str.prop
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40963a
push 0
push 0x15a1
push 0x111
mov edx, dword [0x6e3660]
push edx
call dword [0x6e0184]
jmp 0x409641
mov dword [ebp - 4], 0
jmp 0x40964a
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov eax, dword [ebp - 0x2c4]
push eax
push str._DO_ZONES_
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409689
push 0
push 0x1807
push 0x111
mov edx, dword [0x6e3660]
push edx
call dword [0x6e0184]
jmp 0x40b9c5
mov eax, dword [ebp - 0x2c4]
push eax
push str._OCR_
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409707
mov edx, dword [0x6e030c]
push edx
push str._OCR___i_n
lea eax, [ebp - 0x6e8]
push eax
call dword [0x6e01b8]
add esp, 0xc
lea ecx, [ebp - 0x6e8]
push ecx
call dword [0x6e004c]
call fcn.00408c10
cmp dword [0x6e2728], 0
je 0x4096f2
push 0
push str.OCR_stopped
call fcn.00434a60
add esp, 8
mov dword [ebp - 4], 0xff
cmp dword [0x6e272c], 0
je 0x409702
mov dword [ebp - 4], 0xff
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._MINIMIZE_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409737
push 2
mov ecx, dword [0x6e3660]
push ecx
call dword [0x59b758]
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._ROTATE90_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40977a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1650
mov ecx, dword [0x6e270c]
push ecx
call fcn.0043ea00
add esp, 0x24
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._ROTATE180_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x4097bd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1651
mov ecx, dword [0x6e270c]
push ecx
call fcn.0043ea00
add esp, 0x24
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._ROTATE270_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409800
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1652
mov ecx, dword [0x6e270c]
push ecx
call fcn.0043ea00
add esp, 0x24
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._TEST_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409821
jmp 0x40b9c5
mov ecx, dword [ebp - 0x2c4]
push ecx
push 0x64d2b0
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40985d
push 9
mov eax, dword [0x6e3660]
push eax
call dword [0x59b758]
mov ecx, dword [0x6e3660]
push ecx
call dword [0x59b75c]
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._HIDE_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409893
cmp dword [ebp + 0x10], 0
jne 0x40988e
push 0
mov ecx, dword [0x6e3660]
push ecx
call dword [0x59b758]
jmp 0x40b9c5
mov dword [ebp - 8], str._LANGUAGE_OCR_
cmp dword [ebp - 8], 0
je 0x409931
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409931
mov dword [ebp - 0x6ec], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x4098fc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x6ec], eax
cmp dword [ebp - 0x6ec], 0
jle 0x409925
mov ecx, dword [ebp - 0x6ec]
mov dword [0x6e11d4], ecx
push 0x6e08d8
call fcn.0045b230
add esp, 4
call fcn.0045aad0
jmp 0x40992c
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._LANGUAGE_MENU_
cmp dword [ebp - 8], 0
je 0x4099bc
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x4099bc
mov dword [ebp - 0x6f0], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x409996
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x6f0], eax
cmp dword [ebp - 0x6f0], 0
jle 0x4099b0
mov ecx, dword [ebp - 0x6f0]
push ecx
call fcn.0047f2a0
add esp, 4
jmp 0x4099b7
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._FMTGRAPH_
cmp dword [ebp - 8], 0
je 0x409a5b
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409a5b
mov dword [ebp - 0x6f4], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x409a25
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x6f4], eax
cmp dword [ebp - 0x6f4], 0
jle 0x409a4f
mov ecx, dword [ebp - 0x6f4]
push ecx
call fcn.00408cd0
add esp, 4
test eax, eax
je 0x409a4f
mov edx, dword [ebp - 0x6f4]
mov dword [0x6e11b8], edx
jmp 0x409a56
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._CROPZONE_
cmp dword [ebp - 8], 0
je 0x409c02
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409c02
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jge 0x409aac
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x710], ecx
mov dword [ebp - 0x6f8], 1
jmp 0x409ad6
mov edx, dword [ebp - 0x6f8]
add edx, 1
mov dword [ebp - 0x6f8], edx
cmp dword [ebp - 0x6f8], 6
jge 0x409b8d
mov eax, dword [ebp - 0x6f8]
sub eax, 5
neg eax
sbb eax, eax
and eax, 3
add eax, 0x29
push eax
mov ecx, dword [ebp - 0x6f8]
mov edx, dword [ebp + ecx*4 - 0x714]
add edx, 2
push edx
call fcn.00522bd0
add esp, 8
mov ecx, dword [ebp - 0x6f8]
mov dword [ebp + ecx*4 - 0x710], eax
mov edx, dword [ebp - 0x6f8]
cmp dword [ebp + edx*4 - 0x710], 0
jne 0x409b36
mov dword [ebp - 4], 0
jmp 0x409b8d
mov eax, dword [ebp - 0x6f8]
mov ecx, dword [ebp + eax*4 - 0x714]
mov word [ecx], 0
mov edx, dword [ebp - 0x6f8]
mov eax, dword [ebp + edx*4 - 0x714]
add eax, 2
mov ecx, dword [ebp - 0x6f8]
mov dword [ebp + ecx*4 - 0x714], eax
mov edx, dword [ebp - 0x6f8]
mov eax, dword [ebp + edx*4 - 0x714]
push eax
call fcn.0052a1a0
add esp, 4
mov ecx, dword [ebp - 0x6f8]
mov dword [ebp + ecx*4 - 0x728], eax
jmp 0x409ac7
cmp dword [ebp - 4], 0
je 0x409bfd
mov edx, dword [ebp - 0x724]
mov dword [ebp - 0x728], edx
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x738], eax
mov ecx, dword [ebp - 0x71c]
mov dword [ebp - 0x734], ecx
mov edx, dword [ebp - 0x718]
mov dword [ebp - 0x730], edx
mov eax, dword [ebp - 0x714]
mov dword [ebp - 0x72c], eax
cmp dword [ebp - 0x728], 0
jle 0x409be7
mov ecx, dword [ebp - 0x728]
sub ecx, 1
mov dword [ebp - 0x728], ecx
lea edx, [ebp - 0x738]
push edx
mov eax, dword [ebp - 0x728]
push eax
call fcn.00406b90
add esp, 8
jmp 0x40b9c5
mov dword [ebp - 8], str._FMTTEXT_
cmp dword [ebp - 8], 0
je 0x409eaa
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x409eaa
mov edx, dword [ebp - 0x2c4]
sub edx, dword [ebp - 0xc]
cmp edx, 2
jge 0x409c53
mov dword [ebp - 4], 0
push 0x2c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x409e9e
push 0x2c
mov eax, dword [ebp - 0x744]
add eax, 2
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x73c], eax
mov ecx, dword [ebp - 0x744]
mov word [ecx], 0
mov edx, dword [ebp - 0x744]
add edx, 2
mov dword [ebp - 0x744], edx
cmp dword [ebp - 0x73c], 0
je 0x409e95
push 0x29
mov eax, dword [ebp - 0x73c]
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x740], eax
mov ecx, dword [ebp - 0x73c]
mov word [ecx], 0
mov edx, dword [ebp - 0x73c]
add edx, 2
mov dword [ebp - 0x73c], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x74c], eax
call fcn.00459c30
test eax, eax
je case.0x409d35.1
mov eax, dword [ebp - 0x74c]
mov dword [ebp - 0x1a70], eax
cmp dword [ebp - 0x1a70], 0x15
ja case.0x409d35.1
mov ecx, dword [ebp - 0x1a70]
movzx edx, byte [ecx + 0x40b9fc]
jmp dword [edx*4 + 0x40b9e0]
mov dword [ebp - 0x74c], 0x1c
mov dword [0x6e094c], 1
jmp case.0x409d35.1
mov dword [ebp - 0x74c], 0x1e
jmp case.0x409d35.1
mov dword [ebp - 0x74c], 0x2f
jmp case.0x409d35.1
mov dword [ebp - 0x74c], 0x2e
jmp case.0x409d35.1
mov dword [ebp - 0x74c], 0x1c
mov dword [0x6e094c], 1
jmp case.0x409d35.1
mov dword [ebp - 0x74c], 0x1b
mov eax, dword [ebp - 0x744]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x750], eax
mov ecx, dword [ebp - 0x73c]
push ecx
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x750], 0
jl 0x409e8c
cmp dword [ebp - 0x748], 0
jl 0x409e8c
mov edx, dword [ebp - 0x74c]
mov dword [0x6e0928], edx
mov eax, dword [ebp - 0x750]
mov dword [0x6e092c], eax
mov ecx, dword [ebp - 0x748]
mov dword [0x6e0930], ecx
mov dword [0x6e093c], 0
mov dword [0x6e0938], 0
mov dword [0x6e0940], 0
mov dword [0x6e0944], 0
mov dword [0x6e0948], 0
push 0
call fcn.004169f0
add esp, 4
mov edx, dword [0x6e0928]
cmp edx, dword [ebp - 0x74c]
je 0x409e4e
mov dword [ebp - 4], 0xff
mov dword [0x6e0954], 0
mov dword [0x6e0958], 0
mov dword [0x6e0960], 0
mov dword [0x6e0964], 0
mov dword [0x6e0968], 0
mov dword [0x6e096c], 0
jmp 0x409e93
mov dword [ebp - 4], 0
jmp 0x409e9c
mov dword [ebp - 4], 0
jmp 0x409ea5
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._PAGERANGE_
cmp dword [ebp - 8], 0
je 0x40a04a
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a04a
mov dword [0x6e0310], 0
mov dword [0x6e0314], 0
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jge 0x409f0f
mov dword [ebp - 4], 0
push 0x2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x754], eax
cmp dword [ebp - 0x754], 0
je 0x40a03e
push 0x29
mov edx, dword [ebp - 0x754]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x754]
mov word [eax], 0
mov ecx, dword [ebp - 0x754]
add ecx, 2
mov dword [ebp - 0x754], ecx
cmp dword [ebp - 0x758], 0
je 0x40a035
mov edx, dword [ebp - 0x758]
mov word [edx], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x764], eax
mov eax, dword [ebp - 0x754]
push eax
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x760], eax
push 0
push 0x6e1208
call fcn.004714f0
add esp, 8
mov dword [ebp - 0x75c], eax
cmp dword [ebp - 0x760], 0xffffffff
jne 0x409fd8
mov ecx, dword [ebp - 0x75c]
mov dword [ebp - 0x760], ecx
cmp dword [ebp - 0x764], 0
jle 0x40a02c
cmp dword [ebp - 0x760], 0
jle 0x40a02c
mov edx, dword [ebp - 0x764]
cmp edx, dword [ebp - 0x760]
jg 0x40a02c
mov eax, dword [ebp - 0x760]
cmp eax, dword [ebp - 0x75c]
jg 0x40a02c
mov ecx, dword [ebp - 0x764]
sub ecx, 1
mov dword [0x6e0310], ecx
mov edx, dword [ebp - 0x760]
sub edx, dword [ebp - 0x764]
add edx, 1
mov dword [0x6e0314], edx
jmp 0x40a033
mov dword [ebp - 4], 0
jmp 0x40a03c
mov dword [ebp - 4], 0
jmp 0x40a045
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._OUTPUT_
cmp dword [ebp - 8], 0
je 0x40a269
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a269
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jge 0x40a09b
mov dword [ebp - 4], 0
push 0x29
mov edx, dword [ebp + 8]
push edx
call fcn.0052a100
add esp, 8
mov dword [ebp - 0x768], eax
cmp dword [ebp - 0x768], 0
je 0x40a25d
push 0x2c
mov eax, dword [ebp + 8]
push eax
call fcn.0052a100
add esp, 8
mov dword [ebp - 0x76c], eax
mov ecx, dword [ebp - 0x768]
mov word [ecx], 0
cmp dword [ebp - 0x76c], 0
je 0x40a254
mov edx, dword [ebp - 0x76c]
mov word [edx], 0
mov eax, dword [ebp - 0x76c]
add eax, 2
mov dword [ebp - 0x76c], eax
push 0x64d384
mov ecx, dword [ebp - 0x76c]
push ecx
call fcn.00529f60
add esp, 8
test eax, eax
jne 0x40a126
mov dword [0x6e11f8], 0x15c1
jmp 0x40a151
push 0x64d38c
mov edx, dword [ebp - 0x76c]
push edx
call fcn.00529f60
add esp, 8
test eax, eax
jne 0x40a14a
mov dword [0x6e11f8], 0x15c2
jmp 0x40a151
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a252
mov dword [ebp - 0x770], 0
push 0x28
lea eax, [ebp - 0x2c0]
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x9cc], eax
cmp dword [ebp - 0x9cc], 0
jne 0x40a18f
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a1e9
mov ecx, dword [ebp - 0x9cc]
add ecx, 2
mov dword [ebp - 0x9cc], ecx
push 0x12a
mov edx, dword [ebp - 0x9cc]
push edx
lea eax, [ebp - 0x9c8]
push eax
call fcn.0052a610
add esp, 0xc
push 0x2c
lea ecx, [ebp - 0x9c8]
push ecx
call fcn.0052a100
add esp, 8
mov dword [ebp - 0x770], eax
cmp dword [ebp - 0x770], 0
jne 0x40a1e9
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a226
mov edx, dword [ebp - 0x770]
mov word [edx], 0
lea eax, [ebp - 0x9c8]
push eax
call fcn.00408b40
add esp, 4
lea ecx, [ebp - 0x9c8]
push ecx
call fcn.00522fd0
add esp, 4
test eax, eax
jne 0x40a226
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a252
push 0x104
lea edx, [ebp - 0x9c8]
push edx
push 0x6e1410
call fcn.00529b60
add esp, 0xc
mov dword [0x6e36bc], 1
jmp 0x40a25b
mov dword [ebp - 4], 0
jmp 0x40a264
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov eax, dword [ebp - 0x2c4]
push eax
push str._DO_DESKEW_
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a2a3
push 0
push 0x1824
push 0x111
mov edx, dword [0x6e3660]
push edx
call dword [0x6e0184]
jmp 0x40b9c5
mov dword [ebp - 8], str._FORCE_AS_300DPI_
cmp dword [ebp - 8], 0
je 0x40a334
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a334
mov dword [ebp - 0x9d0], 0xfffffffd
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jl 0x40a30c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x9d0], eax
cmp dword [ebp - 0x9d0], 0
jl 0x40a328
mov dl, byte [ebp - 0x9d0]
mov byte [0x6e11e4], dl
call fcn.0045aad0
jmp 0x40a32f
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._AUTO_ORIENTATION_
cmp dword [ebp - 8], 0
je 0x40a3d0
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a3d0
mov dword [ebp - 0x9d4], 0xfffffffd
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jl 0x40a39d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x9d4], eax
cmp dword [ebp - 0x9d4], 0
jl 0x40a3c4
xor edx, edx
cmp dword [ebp - 0x9d4], 0
sete dl
mov dword [0x6e2684], edx
call fcn.0045aad0
call fcn.0042aa80
jmp 0x40a3cb
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._PDF_PARAMS_
cmp dword [ebp - 8], 0
je 0x40a4f8
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a4f8
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jge 0x40a421
mov dword [ebp - 4], 0
push 0x2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x9dc], eax
cmp dword [ebp - 0x9dc], 0
je 0x40a4ad
mov edx, dword [ebp - 0x9dc]
mov word [edx], 0
mov eax, dword [ebp - 0x9dc]
add eax, 2
mov dword [ebp - 0x9dc], eax
push 0x29
mov ecx, dword [ebp - 0x9dc]
push ecx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x9d8], eax
cmp dword [ebp - 0x9d8], 0
je 0x40a4a4
mov edx, dword [ebp - 0x9d8]
mov word [edx], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.0040ba20
add esp, 4
mov dword [0x6e0950], eax
jmp 0x40a4ab
mov dword [ebp - 4], 0
jmp 0x40a4f3
mov dword [ebp - 0x9e0], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40a4de
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x9e0], eax
cmp dword [ebp - 0x9e0], 0
jl 0x40a4f3
mov ecx, dword [ebp - 0x9e0]
mov dword [0x6e0950], ecx
jmp 0x40b9c5
mov dword [ebp - 8], str._FLOWING_COLUMNS_
cmp dword [ebp - 8], 0
je 0x40a58e
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a58e
mov dword [ebp - 0x9e4], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40a561
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x9e4], eax
cmp dword [ebp - 0x9e4], 0
jl 0x40a582
mov ecx, dword [ebp - 0x9e4]
mov dword [0x6e0954], ecx
call fcn.0045aad0
call fcn.0042aa80
jmp 0x40a589
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._PAGE_DESKEW_
cmp dword [ebp - 8], 0
je 0x40a624
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a624
mov dword [ebp - 0x9e8], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40a5f7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x9e8], eax
cmp dword [ebp - 0x9e8], 0
jl 0x40a618
mov ecx, dword [ebp - 0x9e8]
mov dword [0x6e265c], ecx
call fcn.0045aad0
call fcn.0042aa80
jmp 0x40a61f
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._QFACTOR_JPEG_
cmp dword [ebp - 8], 0
je 0x40a6c5
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a6c5
mov dword [ebp - 0x9ec], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40a68d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x9ec], eax
cmp dword [ebp - 0x9ec], 1
jl 0x40a6b9
cmp dword [ebp - 0x9ec], 0xa
jg 0x40a6b9
mov ecx, dword [ebp - 0x9ec]
mov dword [0x6e11bc], ecx
mov edx, dword [ebp - 0x9ec]
mov dword [0x6e11cc], edx
jmp 0x40a6c0
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._SAVEIMG_MULTI_
cmp dword [ebp - 8], 0
je 0x40a8bc
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40a8bc
mov dword [ebp - 0x9f0], 0xfffffffd
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jge 0x40a720
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a8b7
push 0x2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x9f4], eax
cmp dword [ebp - 0x9f4], 0
je 0x40a78d
mov edx, dword [ebp - 0x9f4]
mov word [edx], 0
mov eax, dword [ebp - 0x9f4]
add eax, 2
mov dword [ebp - 0x9f4], eax
mov ecx, dword [ebp - 0x9f4]
movzx edx, word [ecx]
test edx, edx
je 0x40a78d
mov eax, dword [ebp - 0x9f4]
push eax
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x9f0], eax
cmp dword [ebp - 0x9f0], 0
jge 0x40a79d
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a8b7
mov dword [ebp - 0x9f8], 0
push 0x28
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0xc54], eax
cmp dword [ebp - 0xc54], 0
jne 0x40a7db
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a835
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
push 0x12a
mov eax, dword [ebp - 0xc54]
push eax
lea ecx, [ebp - 0xc50]
push ecx
call fcn.0052a610
add esp, 0xc
push 0x2c
lea edx, [ebp - 0xc50]
push edx
call fcn.0052a100
add esp, 8
mov dword [ebp - 0x9f8], eax
cmp dword [ebp - 0x9f8], 0
jne 0x40a835
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a872
mov eax, dword [ebp - 0x9f8]
mov word [eax], 0
lea ecx, [ebp - 0xc50]
push ecx
call fcn.00408b40
add esp, 4
lea edx, [ebp - 0xc50]
push edx
call fcn.00522fd0
add esp, 4
test eax, eax
jne 0x40a872
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40a8b7
push 0x104
lea eax, [ebp - 0xc50]
push eax
lea ecx, [ebp - 0xe60]
push ecx
call fcn.00529b60
add esp, 0xc
mov edx, dword [ebp - 0x9f0]
push edx
lea eax, [ebp - 0xe60]
push eax
call fcn.00476850
add esp, 8
test eax, eax
jge 0x40a8b7
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._SAVEIMG_CURRENT_
cmp dword [ebp - 8], 0
je 0x40aab3
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40aab3
mov dword [ebp - 0xe64], 0xfffffffd
mov edx, dword [ebp - 0x2c4]
sub edx, dword [ebp - 0xc]
cmp edx, 2
jge 0x40a917
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40aaae
push 0x2c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0xe68], eax
cmp dword [ebp - 0xe68], 0
je 0x40a984
mov eax, dword [ebp - 0xe68]
mov word [eax], 0
mov ecx, dword [ebp - 0xe68]
add ecx, 2
mov dword [ebp - 0xe68], ecx
mov edx, dword [ebp - 0xe68]
movzx eax, word [edx]
test eax, eax
je 0x40a984
mov ecx, dword [ebp - 0xe68]
push ecx
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0xe64], eax
cmp dword [ebp - 0xe64], 0
jge 0x40a994
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40aaae
mov dword [ebp - 0xe6c], 0
push 0x28
lea edx, [ebp - 0x2c0]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x10cc], eax
cmp dword [ebp - 0x10cc], 0
jne 0x40a9d2
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40aa2c
mov eax, dword [ebp - 0x10cc]
add eax, 2
mov dword [ebp - 0x10cc], eax
push 0x12a
mov ecx, dword [ebp - 0x10cc]
push ecx
lea edx, [ebp - 0x10c8]
push edx
call fcn.0052a610
add esp, 0xc
push 0x2c
lea eax, [ebp - 0x10c8]
push eax
call fcn.0052a100
add esp, 8
mov dword [ebp - 0xe6c], eax
cmp dword [ebp - 0xe6c], 0
jne 0x40aa2c
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40aa69
mov ecx, dword [ebp - 0xe6c]
mov word [ecx], 0
lea edx, [ebp - 0x10c8]
push edx
call fcn.00408b40
add esp, 4
lea eax, [ebp - 0x10c8]
push eax
call fcn.00522fd0
add esp, 4
test eax, eax
jne 0x40aa69
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40aaae
push 0x104
lea ecx, [ebp - 0x10c8]
push ecx
lea edx, [ebp - 0x12d8]
push edx
call fcn.00529b60
add esp, 0xc
mov eax, dword [ebp - 0xe64]
push eax
lea ecx, [ebp - 0x12d8]
push ecx
call fcn.00476820
add esp, 8
test eax, eax
jge 0x40aaae
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._SAVEIMG_
cmp dword [ebp - 8], 0
je 0x40ac0d
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40ac0d
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jge 0x40ab04
mov dword [ebp - 4], 0
push 0x2c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x12e0], eax
cmp dword [ebp - 0x12e0], 0
je 0x40ac01
push 0x29
mov ecx, dword [ebp - 0x12e0]
push ecx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x12dc], eax
mov edx, dword [ebp - 0x12e0]
mov word [edx], 0
mov eax, dword [ebp - 0x12e0]
add eax, 2
mov dword [ebp - 0x12e0], eax
cmp dword [ebp - 0x12dc], 0
je 0x40abf8
mov dword [ebp - 0x12e4], 0xfffffffd
mov ecx, dword [ebp - 0x12dc]
mov word [ecx], 0
mov edx, dword [ebp - 0x12e0]
movzx eax, word [edx]
test eax, eax
je 0x40aba1
mov ecx, dword [ebp - 0x12e0]
push ecx
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x12e4], eax
cmp dword [ebp - 0x12e4], 0
jle 0x40abbd
mov edx, dword [ebp - 0x12e4]
push edx
call fcn.00408cd0
add esp, 4
test eax, eax
jne 0x40abc6
cmp dword [ebp - 0x12e4], 0
jne 0x40abef
mov eax, dword [ebp - 0x12e4]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
push 0
call fcn.00473fc0
add esp, 0xc
test eax, eax
jge 0x40abed
mov dword [ebp - 4], 0
jmp 0x40abf6
mov dword [ebp - 4], 0
jmp 0x40abff
mov dword [ebp - 4], 0
jmp 0x40ac08
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._DICO_
cmp dword [ebp - 8], 0
je 0x40ad7c
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40ad7c
mov edx, dword [ebp - 0x2c4]
sub edx, dword [ebp - 0xc]
cmp edx, 2
jge 0x40ac5e
mov dword [ebp - 4], 0
push 0x2c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x12ec], eax
cmp dword [ebp - 0x12ec], 0
je 0x40ad70
push 0x29
mov eax, dword [ebp - 0x12ec]
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x12e8], eax
mov ecx, dword [ebp - 0x12ec]
mov word [ecx], 0
mov edx, dword [ebp - 0x12ec]
add edx, 2
mov dword [ebp - 0x12ec], edx
cmp dword [ebp - 0x12e8], 0
je 0x40ad67
mov eax, dword [ebp - 0x12e8]
mov word [eax], 0
push 0x64d4e4
mov ecx, dword [ebp - 0x12ec]
push ecx
call fcn.00529b00
add esp, 8
test eax, eax
jne 0x40acf3
mov dword [0x6e1200], 0x15c1
jmp 0x40ad42
push str.APPEND
mov edx, dword [ebp - 0x12ec]
push edx
call fcn.00529b00
add esp, 8
test eax, eax
jne 0x40ad17
mov dword [0x6e1200], 0x15c2
jmp 0x40ad42
push str.READ
mov eax, dword [ebp - 0x12ec]
push eax
call fcn.00529b00
add esp, 8
test eax, eax
jne 0x40ad3b
mov dword [0x6e1200], 0x15c3
jmp 0x40ad42
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40ad65
push 0x104
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
push 0x6e1820
call fcn.00529b60
add esp, 0xc
jmp 0x40ad6e
mov dword [ebp - 4], 0
jmp 0x40ad77
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._LAYOUT_
cmp dword [ebp - 8], 0
je 0x40ae59
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40ae59
mov edx, dword [ebp - 0x2c4]
sub edx, dword [ebp - 0xc]
cmp edx, 2
jge 0x40add2
mov dword [ebp - 4], 0
jmp 0x40ae54
push 7
push str.DEFAULT
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40adf2
jmp 0x40ae54
push 0x29
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x12f0], eax
cmp dword [ebp - 0x12f0], 0
je 0x40ae4d
mov eax, dword [ebp - 0x12f0]
mov word [eax], 0
push 0x104
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
push 0x6e1618
call fcn.00529b60
add esp, 0xc
push 0x6e1618
call fcn.0045c640
add esp, 4
jmp 0x40ae54
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._LOADCONFIG_
cmp dword [ebp - 8], 0
je 0x40aefa
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40aefa
mov edx, dword [ebp - 0x2c4]
sub edx, dword [ebp - 0xc]
cmp edx, 2
jge 0x40aea8
mov dword [ebp - 4], 0
jmp 0x40aef5
push 0x29
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x12f4], eax
cmp dword [ebp - 0x12f4], 0
je 0x40aeee
mov eax, dword [ebp - 0x12f4]
mov word [eax], 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0045bab0
add esp, 8
jmp 0x40aef5
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._STATUSFILELOG_
cmp dword [ebp - 8], 0
je 0x40b03e
mov ecx, dword [ebp - 8]
push ecx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b03e
mov edx, dword [ebp - 0x2c4]
sub edx, dword [ebp - 0xc]
cmp edx, 2
jge 0x40af50
mov dword [ebp - 4], 0
jmp 0x40b039
mov dword [ebp - 0x12f8], 0
push 0x28
lea eax, [ebp - 0x2c0]
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x1554], eax
cmp dword [ebp - 0x1554], 0
jne 0x40af81
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40afdb
mov ecx, dword [ebp - 0x1554]
add ecx, 2
mov dword [ebp - 0x1554], ecx
push 0x12a
mov edx, dword [ebp - 0x1554]
push edx
lea eax, [ebp - 0x1550]
push eax
call fcn.0052a610
add esp, 0xc
push 0x29
lea ecx, [ebp - 0x1550]
push ecx
call fcn.0052a100
add esp, 8
mov dword [ebp - 0x12f8], eax
cmp dword [ebp - 0x12f8], 0
jne 0x40afdb
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b018
mov edx, dword [ebp - 0x12f8]
mov word [edx], 0
lea eax, [ebp - 0x1550]
push eax
call fcn.00408b40
add esp, 4
lea ecx, [ebp - 0x1550]
push ecx
call fcn.00522fd0
add esp, 4
test eax, eax
jne 0x40b018
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b032
lea edx, [ebp - 0x1550]
push edx
call fcn.004634c0
add esp, 4
jmp 0x40b039
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._ERRORFILELOG_
cmp dword [ebp - 8], 0
je 0x40b182
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b182
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jge 0x40b094
mov dword [ebp - 4], 0
jmp 0x40b17d
mov dword [ebp - 0x1558], 0
push 0x28
lea edx, [ebp - 0x2c0]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x17b4], eax
cmp dword [ebp - 0x17b4], 0
jne 0x40b0c5
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b11f
mov eax, dword [ebp - 0x17b4]
add eax, 2
mov dword [ebp - 0x17b4], eax
push 0x12a
mov ecx, dword [ebp - 0x17b4]
push ecx
lea edx, [ebp - 0x17b0]
push edx
call fcn.0052a610
add esp, 0xc
push 0x29
lea eax, [ebp - 0x17b0]
push eax
call fcn.0052a100
add esp, 8
mov dword [ebp - 0x1558], eax
cmp dword [ebp - 0x1558], 0
jne 0x40b11f
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b15c
mov ecx, dword [ebp - 0x1558]
mov word [ecx], 0
lea edx, [ebp - 0x17b0]
push edx
call fcn.00408b40
add esp, 4
lea eax, [ebp - 0x17b0]
push eax
call fcn.00522fd0
add esp, 4
test eax, eax
jne 0x40b15c
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b176
lea ecx, [ebp - 0x17b0]
push ecx
call fcn.00434c00
add esp, 4
jmp 0x40b17d
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._SAVEWDW_
cmp dword [ebp - 8], 0
je 0x40b221
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b221
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jge 0x40b1d1
mov dword [ebp - 4], 0
jmp 0x40b21c
push 0x29
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x17b8], eax
cmp dword [ebp - 0x17b8], 0
je 0x40b215
mov ecx, dword [ebp - 0x17b8]
mov word [ecx], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.00480e70
add esp, 4
jmp 0x40b21c
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._TIFFSCAN_
cmp dword [ebp - 8], 0
je 0x40b2c8
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b2c8
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jge 0x40b26e
mov dword [ebp - 4], 0
push 0x29
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x17bc], eax
cmp dword [ebp - 0x17bc], 0
je 0x40b2bc
mov ecx, dword [ebp - 0x17bc]
mov word [ecx], 0
push 0x103
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
push 0x6e3310
call fcn.0052a610
add esp, 0xc
jmp 0x40b2c3
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._INPUT_
cmp dword [ebp - 8], 0
je 0x40b480
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b480
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jge 0x40b31e
mov dword [ebp - 4], 0
jmp 0x40b476
push 7
push str.SCANNER
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b373
cmp dword [ebp + 0xc], 0
jne 0x40b373
mov dword [0x6e11f4], 0x15c1
call fcn.00467230
test eax, eax
jne 0x40b36e
push 0
push 0x1505
push 0x111
mov ecx, dword [0x6e3660]
push ecx
call dword [0x6e0184]
jmp 0x40b476
mov dword [ebp - 0x17c0], 0
push 0x28
lea edx, [ebp - 0x2c0]
push edx
call fcn.00522bd0
add esp, 8
mov dword [ebp - 0x1a44], eax
cmp dword [ebp - 0x1a44], 0
jne 0x40b3a4
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b3fe
mov eax, dword [ebp - 0x1a44]
add eax, 2
mov dword [ebp - 0x1a44], eax
push 0x13e
mov ecx, dword [ebp - 0x1a44]
push ecx
lea edx, [ebp - 0x1a40]
push edx
call fcn.0052a610
add esp, 0xc
push 0x29
lea eax, [ebp - 0x1a40]
push eax
call fcn.0052a100
add esp, 8
mov dword [ebp - 0x17c0], eax
cmp dword [ebp - 0x17c0], 0
jne 0x40b3fe
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b43b
mov ecx, dword [ebp - 0x17c0]
mov word [ecx], 0
lea edx, [ebp - 0x1a40]
push edx
call fcn.00408b40
add esp, 4
lea eax, [ebp - 0x1a40]
push eax
call fcn.00522fd0
add esp, 4
test eax, eax
jne 0x40b43b
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x8000
jne 0x40b476
mov dword [0x6e11f4], 0x15c2
push 0x104
lea ecx, [ebp - 0x1a40]
push ecx
push 0x6e1208
call fcn.00529b60
add esp, 0xc
mov edx, dword [0x6e030c]
add edx, 1
mov dword [0x6e030c], edx
call fcn.0045aad0
jmp 0x40b9c5
mov dword [ebp - 8], str._DELIMITOR_
cmp dword [ebp - 8], 0
je 0x40b508
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b508
mov dword [ebp - 0x1a48], 0xfffffffd
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jl 0x40b4e5
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0052a1a0
add esp, 4
mov dword [ebp - 0x1a48], eax
cmp dword [ebp - 0x1a48], 0
jle 0x40b4fc
mov dl, byte [ebp - 0x1a48]
mov byte [0x6e36c0], dl
jmp 0x40b503
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._INCLUDEGRAPHICS_
cmp dword [ebp - 8], 0
je 0x40b590
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b590
mov dword [ebp - 0x1a4c], 0xfffffffd
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jl 0x40b56d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a4c], eax
cmp dword [ebp - 0x1a4c], 0
jl 0x40b584
mov edx, dword [ebp - 0x1a4c]
mov dword [0x6e094c], edx
jmp 0x40b58b
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._TOOLBAR_
cmp dword [ebp - 8], 0
je 0x40b60c
mov eax, dword [ebp - 8]
push eax
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b60c
mov dword [ebp - 0x1a50], 0xfffffffd
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jl 0x40b5f5
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 2]
push ecx
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a50], eax
cmp dword [ebp - 0x1a50], 0
jl 0x40b600
jmp 0x40b607
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._PAGEANALYSIS_
cmp dword [ebp - 8], 0
je 0x40b69d
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b69d
mov dword [ebp - 0x1a54], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40b675
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a54], eax
cmp dword [ebp - 0x1a54], 0
jl 0x40b691
mov ecx, dword [ebp - 0x1a54]
mov dword [0x6e2660], ecx
call fcn.0045aad0
jmp 0x40b698
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._INTERLEARN_
cmp dword [ebp - 8], 0
je 0x40b72e
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b72e
mov dword [ebp - 0x1a58], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40b706
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a58], eax
cmp dword [ebp - 0x1a58], 0
jl 0x40b722
mov ecx, dword [ebp - 0x1a58]
mov dword [0x6e2668], ecx
call fcn.0045aad0
jmp 0x40b729
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._ENABLEUSERCLOSEAPP_
cmp dword [ebp - 8], 0
je 0x40b7b6
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b7b6
mov dword [ebp - 0x1a5c], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40b793
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a5c], eax
cmp dword [ebp - 0x1a5c], 0
jl 0x40b7aa
mov ecx, dword [ebp - 0x1a5c]
mov dword [0x6dc434], ecx
jmp 0x40b7b1
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._DISABLEWNGWRONGRESOL_
cmp dword [ebp - 8], 0
je 0x40b83e
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b83e
mov dword [ebp - 0x1a60], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40b81b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a60], eax
cmp dword [ebp - 0x1a60], 0
jl 0x40b832
mov ecx, dword [ebp - 0x1a60]
mov dword [0x6e36b8], ecx
jmp 0x40b839
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._DISABLEWNGNOWINDOW_
cmp dword [ebp - 8], 0
je 0x40b8c6
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b8c6
mov dword [ebp - 0x1a64], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40b8a3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a64], eax
cmp dword [ebp - 0x1a64], 0
jl 0x40b8ba
mov ecx, dword [ebp - 0x1a64]
mov dword [0x6e36b4], ecx
jmp 0x40b8c1
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov dword [ebp - 8], str._VIEWAFTERSCAN_
cmp dword [ebp - 8], 0
je 0x40b950
mov edx, dword [ebp - 8]
push edx
call fcn.00522fd0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b950
mov dword [ebp - 0x1a68], 0xfffffffd
mov eax, dword [ebp - 0x2c4]
sub eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x40b92b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2 + 2]
push eax
call fcn.0040ba20
add esp, 4
mov dword [ebp - 0x1a68], eax
cmp dword [ebp - 0x1a68], 0
jl 0x40b947
mov ecx, dword [ebp - 0x1a68]
mov dword [0x6e2664], ecx
call fcn.0045aad0
jmp 0x40b94e
mov dword [ebp - 4], 0
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._REG_WIZARD_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b987
push 0
push 0x1719
push 0x111
mov ecx, dword [0x6e3660]
push ecx
call dword [0x6e0184]
jmp 0x40b9c5
mov edx, dword [ebp - 0x2c4]
push edx
push str._REG_PURCHASE_WIZARD_
mov eax, dword [ebp + 8]
push eax
call fcn.0052a450
add esp, 0xc
test eax, eax
jne 0x40b9be
push 0
push 0x171a
push 0x111
mov ecx, dword [0x6e3660]
push ecx
call dword [0x6e0184]
jmp 0x40b9c5
mov dword [ebp - 4], 0
mov dword [0x6e36ac], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00523400
mov esp, ebp
pop ebp
ret