Function at 0x42d59f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x565d6a
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5c9030]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x5c9030]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
push 0x2f
mov edi, str...CommonScanProject.cpp
push edi
mov ebx, ecx
mov dword [esp + 0x2c], 0x59e0f8
mov dword [esp + 0x30], str.Gray
mov dword [esp + 0x34], str.Color
mov dword [esp + 0x38], str.Auto
mov dword [esp + 0x3c], str.Document_Table
mov dword [esp + 0x40], 0x59e144
mov dword [esp + 0x44], str.ADF_Duplex
mov dword [esp + 0x48], str.Magazine
mov dword [esp + 0x4c], str.Newspaper
mov dword [esp + 0x50], str.Text
mov dword [esp + 0x54], str.Photo
mov dword [esp + 0x58], str.Custom
mov dword [esp + 0x5c], str.Epson_Scan_Setting
mov dword [esp + 0x60], 0x59e1dc
mov dword [esp + 0x64], str.LETTER
mov dword [esp + 0x68], str.LEGAL
mov dword [esp + 0x6c], 0x59e200
mov dword [esp + 0x70], 0x59e208
mov dword [esp + 0x74], str.TABLOID
mov dword [esp + 0x78], 0x59e220
mov dword [esp + 0x7c], 0x59e228
mov dword [esp + 0x80], 0x59e230
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d6ab
push 0x2f
jmp 0x42d6bb
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d6c6
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42d6c8
mov eax, edi
push 1
push 0x41
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
and dword [esp + 0x130], 0
push str.Scan_Structure___
push 0
mov ecx, eax
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x134], 0xffffffff
pop ecx
lea ecx, [esp + 0x7c]
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d71a
push 0x2f
jmp 0x42d72a
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d735
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42d737
mov eax, edi
push 1
push 0x42
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov dword [esp + 0x130], 1
push dword [ebx + 0x88]
mov ecx, eax
push str.ADE:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x138], 0xffffffff
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d793
push 0x2f
jmp 0x42d7a3
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d7ae
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42d7b0
mov eax, edi
push 1
push 0x43
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov dword [esp + 0x130], 2
push dword [ebx + 0x90]
mov ecx, eax
push str.Descreen:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x138], 0xffffffff
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d80c
push 0x2f
jmp 0x42d81c
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d827
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42d829
mov eax, edi
push 1
push 0x44
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov dword [esp + 0x130], 3
push dword [ebx + 0x84]
mov ecx, eax
push str.PIM:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x138], 0xffffffff
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d885
push 0x2f
jmp 0x42d895
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d8a0
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42d8a2
mov eax, edi
push 1
push 0x45
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov dword [esp + 0x130], 4
push dword [ebx + 0x5c]
mov ecx, eax
push str.Show_UI:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x138], 0xffffffff
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d8fb
push 0x2f
jmp 0x42d90b
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d916
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42d918
mov eax, edi
push 1
push 0x46
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov dword [esp + 0x130], 5
push dword [ebx + 0x8c]
mov ecx, eax
push str.Unsharp:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x138], 0xffffffff
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d974
push 0x2f
jmp 0x42d984
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d98f
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42d991
mov eax, edi
push 1
push 0x47
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
push ecx
push ecx
mov dword [esp + 0x138], 6
fld dword [ebx + 0x78]
fstp qword [esp]
push str.Width:__lf
push 0
mov ecx, eax
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x13c], 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x7c]
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42d9f0
push 0x2f
jmp 0x42da00
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42da0b
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42da0d
mov eax, edi
push 1
push 0x48
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
push ecx
push ecx
mov dword [esp + 0x138], 7
fld dword [ebx + 0x7c]
fstp qword [esp]
push str.Height:__lf
push 0
mov ecx, eax
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
or dword [esp + 0x13c], 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x7c]
call fcn.00404bdb
mov eax, dword [ebx + 0x74]
test eax, eax
js 0x42da6c
cmp eax, 9
jae 0x42da6c
mov eax, dword [esp + eax*4 + 0x58]
jmp 0x42da71
mov eax, str.Unknown
push eax
lea ecx, [esp + 0x14]
call fcn.00402358
push 0x2f
push edi
mov dword [esp + 0x138], 8
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42da98
push 0x2f
jmp 0x42daa8
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dab3
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42dab5
mov eax, edi
push 1
push 0x4a
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 9
push dword [esp + 0x10]
mov ecx, eax
push str.DocSize:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 8
call fcn.00404bdb
mov eax, dword [ebx + 0x9c]
test eax, eax
js 0x42db0f
cmp eax, 4
jae 0x42db0f
mov eax, dword [esp + eax*4 + 0x30]
jmp 0x42db14
mov eax, str.Unknown
push eax
lea ecx, [esp + 0x1c]
call fcn.00402358
push 0x2f
push edi
mov byte [esp + 0x138], 0xa
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42db38
push 0x2f
jmp 0x42db48
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42db53
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42db55
mov eax, edi
push 1
push 0x4c
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0xb
push dword [esp + 0x18]
mov ecx, eax
push str.Doc_Source:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xa
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dbac
push 0x2f
jmp 0x42dbbc
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dbc9
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
lea esi, [eax + 1]
jmp 0x42dbcb
mov esi, edi
mov ecx, ebx
call fcn.0042e321
push dword [esp + eax*4 + 0x40]
lea ecx, [esp + 0x24]
call fcn.00402358
mov dword [esp + 0x1c], eax
push 1
push 0x4d
push esi
lea esi, [esp + 0x88]
mov byte [esp + 0x13c], 0xc
call fcn.00404b6f
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x130], 0xd
push dword [ecx]
mov ecx, eax
push str.DocType:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xc
call fcn.00404bdb
mov byte [esp + 0x130], 0xa
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebx + 0x80]
test eax, eax
js 0x42dc5b
cmp eax, 3
jae 0x42dc5b
mov eax, dword [esp + eax*4 + 0x24]
jmp 0x42dc60
mov eax, str.Unknown
push eax
lea ecx, [esp + 0x18]
call fcn.00402358
push 0x2f
push edi
mov byte [esp + 0x138], 0xe
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dc84
push 0x2f
jmp 0x42dc94
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dc9f
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42dca1
mov eax, edi
push 1
push 0x4f
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0xf
push dword [esp + 0x14]
mov ecx, eax
push str.ImageType:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dcf8
push 0x2f
jmp 0x42dd08
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dd13
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42dd15
mov eax, edi
push 1
push 0x50
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x10
push dword [ebx + 0x98]
mov ecx, eax
push str.Orientation:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dd6e
push 0x2f
jmp 0x42dd7e
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dd89
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42dd8b
mov eax, edi
push 1
push 0x51
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x11
push dword [ebx + 0x6c]
mov ecx, eax
push str.QualityIndex:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dde1
push 0x2f
jmp 0x42ddf1
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42ddfc
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42ddfe
mov eax, edi
push 1
push 0x52
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x12
push dword [ebx + 0x70]
mov ecx, eax
push str.Resolution:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42de54
push 0x2f
jmp 0x42de64
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42de6f
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42de71
mov eax, edi
push 1
push 0x53
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x13
push dword [ebx + 0xa0]
mov ecx, eax
push str.ScanMode:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42deca
push 0x2f
jmp 0x42deda
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dee5
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42dee7
mov eax, edi
push 1
push 0x54
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x14
push dword [ebx + 0x94]
mov ecx, eax
push str.UIMode:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42df40
push 0x2f
jmp 0x42df50
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42df5b
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42df5d
mov eax, edi
push 1
push 0x55
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x15
push dword [ebx + 0xa4]
mov ecx, eax
push str.Save_Format:__d
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dfb6
push 0x2f
jmp 0x42dfc6
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42dfd1
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42dfd3
mov eax, edi
push 1
push 0x56
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x16
push dword [ebx + 0xa8]
mov ecx, eax
push str.File_prefix:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e02c
push 0x2f
jmp 0x42e03c
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e047
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42e049
mov eax, edi
push 1
push 0x57
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x17
push dword [ebx + 0xb0]
mov ecx, eax
push str.Target_folder:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e0a2
push 0x2f
jmp 0x42e0b2
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e0bd
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42e0bf
mov eax, edi
push 1
push 0x58
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x18
push dword [ebx + 0xb4]
mov ecx, eax
push str.User_target_folder:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e118
push 0x2f
jmp 0x42e128
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e133
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42e135
mov eax, edi
push 1
push 0x59
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x19
push dword [ebx + 0x60]
mov ecx, eax
push str.Device_Name:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e18b
push 0x2f
jmp 0x42e19b
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e1a6
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42e1a8
mov eax, edi
push 1
push 0x5a
push eax
lea esi, [esp + 0x88]
call fcn.00404b6f
mov byte [esp + 0x130], 0x1a
push dword [ebx + 0x68]
mov ecx, eax
push str.Doc_type_string:__s
push 0
call fcn.00404c4d
mov esi, eax
call fcn.0040cc0a
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
push 0x2f
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e1fe
push 0x2f
jmp 0x42e20e
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
test eax, eax
je 0x42e219
push 0x5c
push edi
call fcn.00538be0
pop ecx
pop ecx
inc eax
jmp 0x42e21b
mov eax, edi
push 1
push 0x5b
push eax
lea esi, [esp + 0xd8]
call fcn.00404b6f
push str.__Scan_Structure
push 0
mov ecx, eax
mov byte [esp + 0x138], 0x1b
call fcn.00404c4d
mov esi, eax
call fcn.0040279b
pop ecx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x130], 0xe
call fcn.00404bdb
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00537e11
mov esp, ebp
pop ebp
ret