Function at 0x40e050
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x824
mov eax, dword [esp + 0x828]
test eax, eax
push ebx
mov ebx, ecx
mov dword [esp + 0x10], ebx
je 0x40fb15
cmp byte [eax], 0
je 0x40fb15
push 0x66aea8
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
test eax, eax
mov dword [esp + 4], eax
je 0x40fb15
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_strncmp]
push esi
push edi
lea esp, [esp]
mov esi, dword [esp + 0x10]
push esi
lea eax, [esp + 0x38]
push 0x800
push eax
call dword [sym.imp.MSVCR71.dll_fgets]
add esp, 0xc
test eax, eax
je 0x40faac
lea ecx, [esp + 0x833]
mov al, byte [ecx]
cmp al, 0xd
je 0x40e0d1
cmp al, 0xa
jne 0x40e0d4
mov byte [ecx], 0
dec ecx
lea edx, [esp + 0x34]
cmp ecx, edx
jae 0x40e0c7
push 7
mov eax, edx
push str.rotate
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e12c
lea ecx, [esp + 0x3b]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
and eax, 3
mov cl, al
and cl, 1
add esp, 4
cmp eax, 2
setl dl
mov byte [ebx + 0xd], cl
mov byte [ebx + 3], dl
jmp 0x40e0a0
push 7
lea eax, [esp + 0x38]
push str.mirror
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e15c
lea ecx, [esp + 0x3b]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
test eax, eax
setne dl
mov byte [ebx + 0xc], dl
jmp 0x40e0a0
push 5
lea eax, [esp + 0x38]
push str.mode
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e1ab
lea ecx, [esp + 0x39]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
sub eax, 0
je 0x40e19f
dec eax
je 0x40e193
mov dword [ebx + 0x10], 2
jmp 0x40e0a0
mov dword [ebx + 0x10], 1
jmp 0x40e0a0
mov dword [ebx + 0x10], 0
jmp 0x40e0a0
push 5
lea edx, [esp + 0x38]
push str.xRes
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e1dc
lea eax, [esp + 0x39]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fst dword [ebx + 0x3c]
fstp qword [ebx + 0x49c]
add esp, 4
jmp 0x40e0a0
push 5
lea ecx, [esp + 0x38]
push str.yRes
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e20d
lea edx, [esp + 0x39]
push edx
call dword [sym.imp.MSVCR71.dll_atof]
fst dword [ebx + 0x40]
fstp qword [ebx + 0x4a4]
add esp, 4
jmp 0x40e0a0
push 5
lea eax, [esp + 0x38]
push str.xMin
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e238
lea ecx, [esp + 0x39]
push ecx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0x2c]
add esp, 4
jmp 0x40e0a0
push 5
lea edx, [esp + 0x38]
push str.yMin
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e263
lea eax, [esp + 0x39]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0x34]
add esp, 4
jmp 0x40e0a0
push 6
lea ecx, [esp + 0x38]
push str.xSize
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e28e
lea edx, [esp + 0x3a]
push edx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0x1c]
add esp, 4
jmp 0x40e0a0
push 6
lea eax, [esp + 0x38]
push str.ySize
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e2b9
lea ecx, [esp + 0x3a]
push ecx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0x24]
add esp, 4
jmp 0x40e0a0
push 0xb
lea edx, [esp + 0x38]
push str.MediaWidth
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e2e4
lea eax, [esp + 0x3f]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0x44]
add esp, 4
jmp 0x40e0a0
push 0xc
lea ecx, [esp + 0x38]
push str.MediaHeight
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e30f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0x4c]
add esp, 4
jmp 0x40e0a0
push 0xc
lea eax, [esp + 0x38]
push str.left_margin
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e33d
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0xb28]
add esp, 4
jmp 0x40e0a0
push 0xe
lea edx, [esp + 0x38]
push str.bottom_margin
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e36b
lea eax, [esp + 0x42]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0xb20]
add esp, 4
jmp 0x40e0a0
push 0xd
lea ecx, [esp + 0x38]
push str.right_margin
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e399
lea edx, [esp + 0x41]
push edx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0xb18]
add esp, 4
jmp 0x40e0a0
push 0xb
lea eax, [esp + 0x38]
push str.top_margin
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e3c7
lea ecx, [esp + 0x3f]
push ecx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0xb30]
add esp, 4
jmp 0x40e0a0
push 7
lea edx, [esp + 0x38]
push str.scaleX
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e3f5
lea eax, [esp + 0x3b]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [ebx + 0xb00]
add esp, 4
jmp 0x40e0a0
push 7
lea ecx, [esp + 0x38]
push str.scaleY
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e423
lea edx, [esp + 0x3b]
push edx
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [ebx + 0xb04]
add esp, 4
jmp 0x40e0a0
push 7
lea eax, [esp + 0x38]
push str.pageNo
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e44e
lea ecx, [esp + 0x3b]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x54], eax
jmp 0x40e0a0
push 7
lea edx, [esp + 0x38]
push str.thread
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e479
lea eax, [esp + 0x3b]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x58], eax
jmp 0x40e0a0
push 6
lea ecx, [esp + 0x38]
push str.jobId
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e4a4
lea edx, [esp + 0x3a]
push edx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x18], eax
jmp 0x40e0a0
push 0x16
lea eax, [esp + 0x38]
push str.colorPreserveFileName
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e4cf
lea ecx, [esp + 0x4a]
push ecx
lea ecx, [ebx + 0xb68]
call dword [0x66a2ac]
jmp 0x40e0a0
push 7
lea edx, [esp + 0x38]
push str.secKey
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e4fd
lea eax, [esp + 0x3b]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x5c4], eax
jmp 0x40e0a0
push 0xa
lea ecx, [esp + 0x38]
push str.LabelFile
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e526
lea esi, [ebx + 0xb40]
lea edi, [esp + 0x3e]
call fcn.0040d970
jmp 0x40e0a0
push 8
lea edx, [esp + 0x38]
push str.cutfile
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e54f
lea esi, [ebx + 0xb44]
lea edi, [esp + 0x3c]
call fcn.0040d970
jmp 0x40e0a0
push 0xb
lea eax, [esp + 0x38]
push str.RGBProfile
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e578
lea esi, [ebx + 0xb48]
lea edi, [esp + 0x3f]
call fcn.0040d970
jmp 0x40e0a0
push 0xc
lea ecx, [esp + 0x38]
push str.CMYKProfile
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e5a1
lea esi, [ebx + 0xb4c]
lea edi, [esp + 0x40]
call fcn.0040d970
jmp 0x40e0a0
push 0xc
lea edx, [esp + 0x38]
push str.GRAYProfile
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e5ca
lea esi, [ebx + 0xb50]
lea edi, [esp + 0x40]
call fcn.0040d970
jmp 0x40e0a0
push 0xe
lea eax, [esp + 0x38]
push str.OUTPUTProfile
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e5f3
lea esi, [ebx + 0xb54]
lea edi, [esp + 0x42]
call fcn.0040d970
jmp 0x40e0a0
push 0x17
lea ecx, [esp + 0x38]
push str.SimulatedTargetProfile
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e61c
lea esi, [ebx + 0xb58]
lea edi, [esp + 0x4b]
call fcn.0040d970
jmp 0x40e0a0
push 0x11
lea edx, [esp + 0x38]
push str.colorMappingFile
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e645
lea esi, [ebx + 0xb5c]
lea edi, [esp + 0x45]
call fcn.0040d970
jmp 0x40e0a0
push 8
lea eax, [esp + 0x38]
push str.logFile
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e66e
lea esi, [ebx + 0xb60]
lea edi, [esp + 0x3c]
call fcn.0040d970
jmp 0x40e0a0
push 0xa
lea ecx, [esp + 0x38]
push str.setupFile
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e697
lea esi, [ebx + 0xb64]
lea edi, [esp + 0x3e]
call fcn.0040d970
jmp 0x40e0a0
push 7
lea edx, [esp + 0x38]
push str.inFile
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e6c0
lea esi, [ebx + 0xb6c]
lea edi, [esp + 0x3b]
call fcn.0040d970
jmp 0x40e0a0
push 8
lea eax, [esp + 0x38]
push str.outFile
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e6e9
lea esi, [ebx + 0xb70]
lea edi, [esp + 0x3c]
call fcn.0040d970
jmp 0x40e0a0
push 8
lea ecx, [esp + 0x38]
push str.tempDir
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e712
lea esi, [ebx + 0xb74]
lea edi, [esp + 0x3c]
call fcn.0040d970
jmp 0x40e0a0
push 0xc
lea edx, [esp + 0x38]
push str.previewFile
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e73b
lea esi, [ebx + 0xb78]
lea edi, [esp + 0x40]
call fcn.0040d970
jmp 0x40e0a0
push 0x11
lea eax, [esp + 0x38]
push str.densityCurveFile
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e764
lea esi, [ebx + 0xb94]
lea edi, [esp + 0x45]
call fcn.0040d970
jmp 0x40e0a0
push 7
lea ecx, [esp + 0x38]
push str.NotDemo
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e781
mov byte [ebx + 2], al
jmp 0x40e0a0
push 0xc
lea edx, [esp + 0x38]
push str.SimAntiAlias
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e79f
mov byte [ebx + 1], 1
jmp 0x40e0a0
push 0x16
lea eax, [esp + 0x38]
push str.ColorManagementSystem
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e7cd
lea ecx, [esp + 0x4a]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xb7c], eax
jmp 0x40e0a0
push 0x1a
lea edx, [esp + 0x38]
push str.NoiseErrorDiffusionMaxInk
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e7fc
lea eax, [esp + 0x4e]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov word [ebx + 0xb88], ax
jmp 0x40e0a0
push 0x1c
lea ecx, [esp + 0x38]
push str.NoiseErrorDiffusionMaxNoise
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e82a
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0xb80]
add esp, 4
jmp 0x40e0a0
push 0x10
lea eax, [esp + 0x38]
push str.ChannelInkLimit_
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e850
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call fcn.0040d2e0
jmp 0x40e0a0
push 0x15
lea edx, [esp + 0x38]
push str.ColorRenderingIntent
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e879
lea eax, [esp + 0x49]
push eax
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x5c], eax
jmp 0x40e0a0
push 0x16
lea ecx, [esp + 0x38]
push str.VectorRenderingIntent
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e8a2
lea edx, [esp + 0x4a]
push edx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x60], eax
jmp 0x40e0a0
push 0x14
lea eax, [esp + 0x38]
push str.TextRenderingIntent
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e8cb
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x64], eax
jmp 0x40e0a0
push 0x18
lea edx, [esp + 0x38]
push str.GradientRenderingIntent
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e8f4
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x68], eax
jmp 0x40e0a0
push 0x18
lea ecx, [esp + 0x38]
push str.RGBColorRenderingIntent
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e91d
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x6c], eax
jmp 0x40e0a0
push 0x19
lea eax, [esp + 0x38]
push str.RGBVectorRenderingIntent
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e946
lea ecx, [esp + 0x4d]
push ecx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x70], eax
jmp 0x40e0a0
push 0x17
lea edx, [esp + 0x38]
push str.RGBTextRenderingIntent
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e96f
lea eax, [esp + 0x4b]
push eax
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x74], eax
jmp 0x40e0a0
push 0x1b
lea ecx, [esp + 0x38]
push str.RGBGradientRenderingIntent
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e998
lea edx, [esp + 0x4f]
push edx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x78], eax
jmp 0x40e0a0
push 0x19
lea eax, [esp + 0x38]
push str.GrayColorRenderingIntent
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e9c1
lea ecx, [esp + 0x4d]
push ecx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x7c], eax
jmp 0x40e0a0
push 0x1a
lea edx, [esp + 0x38]
push str.GrayVectorRenderingIntent
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40e9ed
lea eax, [esp + 0x4e]
push eax
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x80], eax
jmp 0x40e0a0
push 0x18
lea ecx, [esp + 0x38]
push str.GrayTextRenderingIntent
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40ea19
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x84], eax
jmp 0x40e0a0
push 0x1c
lea eax, [esp + 0x38]
push str.GrayGradientRenderingIntent
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40ea45
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call fcn.0040d260
mov dword [ebx + 0x88], eax
jmp 0x40e0a0
push 0x11
lea edx, [esp + 0x38]
push str.DoWhiteBackground
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40ea66
mov byte [ebx + 0x8c], 1
jmp 0x40e0a0
push 0x12
lea eax, [esp + 0x38]
push str.DoColorSplitForDCS
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40ea87
mov byte [ebx + 0x5b8], 1
jmp 0x40e0a0
push 0x12
lea ecx, [esp + 0x38]
push str.IgnorePDFOverprint
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40eaa8
mov byte [ebx + 0x8d], 1
jmp 0x40e0a0
push 0xf
lea edx, [esp + 0x38]
push str.IgnoreOverprint
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40eac9
mov byte [ebx + 0x8e], 1
jmp 0x40e0a0
push 0xf
lea eax, [esp + 0x38]
push str.DetailedPreview
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40eae7
mov byte [ebx + 0x14], 1
jmp 0x40e0a0
push 0xe
lea ecx, [esp + 0x38]
push str.useHPCMYK2CMYK
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40eb08
mov byte [ebx + 0xb39], 1
jmp 0x40e0a0
push 0x10
lea edx, [esp + 0x38]
push str.DoCMYKSimulation
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40eb29
mov byte [ebx + 0xe4d], 1
jmp 0x40e0a0
push 0xd
lea eax, [esp + 0x38]
push str.DitherMothod
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40ecf7
lea ecx, [esp + 0x41]
push ecx
call fcn.00416a90
add esp, 4
mov edi, str.FM_DIFFUSION
mov esi, eax
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40eb70
mov dword [ebx + 0x90], 7
jmp 0x40ecc6
mov edi, str.LX_DIFFUSION
mov esi, eax
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40eb91
mov dword [ebx + 0x90], 5
jmp 0x40ecc6
mov edi, str.ERROR_DIFFUSION
mov esi, eax
mov ecx, 0x10
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ebb2
mov dword [ebx + 0x90], 1
jmp 0x40ecc6
mov edi, str.ERROR_DIFFUSION_EX
mov esi, eax
mov ecx, 0x13
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ebd3
mov dword [ebx + 0x90], 0xb
jmp 0x40ecc6
mov edi, str.ERROR_DIFFUSION_LC
mov esi, eax
mov ecx, 0x13
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ebf4
mov dword [ebx + 0x90], 0xc
jmp 0x40ecc6
mov edi, str.ERROR_DIFFUSION_VAR
mov esi, eax
mov ecx, 0x14
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ec15
mov dword [ebx + 0x90], 0xd
jmp 0x40ecc6
mov edi, str.KF_DIFFUSION
mov esi, eax
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ec32
mov dword [ebx + 0x90], edx
jmp 0x40ecc6
mov edi, str.RANDOM_DIFFUSION
mov esi, eax
mov ecx, 0x11
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ec50
mov dword [ebx + 0x90], 3
jmp 0x40ecc6
mov edi, str.ANGLEDSCREEN
mov esi, eax
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ec6e
mov dword [ebx + 0x90], 6
jmp 0x40ecc6
mov edi, str.EVEN_TONE
mov esi, eax
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ec8c
mov dword [ebx + 0x90], 8
jmp 0x40ecc6
mov edi, str.FAST_ERROR
mov esi, eax
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ecaa
mov dword [ebx + 0x90], 9
jmp 0x40ecc6
mov edi, str.DOUBLE_ERROR
mov esi, eax
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40ecc6
mov dword [ebx + 0x90], 0xa
push eax
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [ebx + 0x90]
add esp, 4
cmp eax, 5
jl 0x40eceb
cmp eax, 7
jg 0x40eceb
mov byte [ebx + 0x8f], 1
jmp 0x40e0a0
mov byte [ebx + 0x8f], 0
jmp 0x40e0a0
push 0x11
lea eax, [esp + 0x38]
push str.DCSColorInfoStart
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40eec1
mov eax, dword [esp + 0x10]
mov esi, 0x800
lea edi, [esp + 0x34]
call fcn.0040d220
push 0xf
lea ecx, [esp + 0x38]
push str.DCSColorInfoEnd
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x40e0a0
push 0xd
lea edx, [esp + 0x38]
push str.ColorantName
push edx
mov byte [esp + 0x34], 0
call ebp
add esp, 0xc
test eax, eax
jne 0x40f08f
lea eax, [esp + 0x41]
push eax
call fcn.00416a90
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov esi, 0x800
lea edi, [esp + 0x38]
call fcn.0040d220
push 0xb
mov ecx, edi
push str.IsSpotColor
push ecx
call ebp
add esp, 0x10
test eax, eax
jne 0x40ed9a
mov eax, dword [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0040d220
cmp dword [ebx + 0x90], 6
jne 0x40eeab
push 0xc
lea edx, [esp + 0x38]
push str.ScreenAngle
push edx
call ebp
neg eax
sbb eax, eax
not eax
lea ecx, [esp + 0x4c]
and eax, ecx
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov eax, ebx
mov esi, 0x800
lea edi, [esp + 0x44]
call fcn.0040d220
push 0x10
mov edx, edi
push str.ScreenFrequency
push edx
call ebp
neg eax
sbb eax, eax
not eax
lea ecx, [esp + 0x60]
and eax, ecx
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [esp + 0x44]
mov eax, ebx
call fcn.0040d220
push 0xd
mov edx, edi
push str.SpotFunction
push edx
call ebp
neg eax
sbb eax, eax
not eax
lea ecx, [esp + 0x6d]
and eax, ecx
push eax
call fcn.00416a90
mov ebx, eax
mov eax, dword [esp + 0x40]
call fcn.0040d220
push 0xb
mov edx, edi
push str.ScreenTech
push edx
call ebp
neg eax
sbb eax, eax
not eax
lea ecx, [esp + 0x7b]
and eax, ecx
push eax
call fcn.00416a90
mov esi, eax
add esp, 0x40
xor edx, edx
mov edi, str.AccurateScreen
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
sete al
mov esi, 0x800
lea edi, [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
call fcn.0040d220
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push ebx
push edx
push eax
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.0040cec0
mov ebx, dword [esp + 0x1c]
jmp 0x40ed22
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.0040cff0
jmp 0x40ed22
push 0xe
lea edx, [esp + 0x38]
push str.ColorInfoStart
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f0a6
mov eax, dword [esp + 0x10]
mov esi, 0x800
lea edi, [esp + 0x34]
call fcn.0040d220
lea esp, [esp]
push 0xc
lea eax, [esp + 0x38]
push str.ColorInfoEnd
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x40e0a0
push 0xd
lea ecx, [esp + 0x38]
push str.ColorantName
push ecx
mov byte [esp + 0x2c], 0
call ebp
add esp, 0xc
test eax, eax
jne 0x40f08f
lea edx, [esp + 0x41]
push edx
call fcn.00416a90
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov esi, 0x800
lea edi, [esp + 0x38]
call fcn.0040d220
push 0xb
mov eax, edi
push str.IsSpotColor
push eax
call ebp
add esp, 0x10
test eax, eax
jne 0x40ef68
mov eax, dword [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.0040d220
cmp dword [ebx + 0x90], 6
jne 0x40f079
push 0xc
lea ecx, [esp + 0x38]
push str.ScreenAngle
push ecx
call ebp
neg eax
sbb eax, eax
not eax
lea edx, [esp + 0x4c]
and eax, edx
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov eax, ebx
mov esi, 0x800
lea edi, [esp + 0x44]
call fcn.0040d220
push 0x10
mov eax, edi
push str.ScreenFrequency
push eax
call ebp
neg eax
sbb eax, eax
not eax
lea ecx, [esp + 0x60]
and eax, ecx
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [esp + 0x44]
mov eax, ebx
call fcn.0040d220
push 0xd
mov edx, edi
push str.SpotFunction
push edx
call ebp
neg eax
sbb eax, eax
not eax
lea ecx, [esp + 0x6d]
and eax, ecx
push eax
call fcn.00416a90
mov ebx, eax
mov eax, dword [esp + 0x40]
call fcn.0040d220
push 0xb
mov edx, edi
push str.ScreenTech
push edx
call ebp
neg eax
sbb eax, eax
not eax
lea ecx, [esp + 0x7b]
and eax, ecx
push eax
call fcn.00416a90
mov esi, eax
add esp, 0x40
xor edx, edx
mov edi, str.AccurateScreen
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
mov eax, edx
sete al
mov esi, 0x800
lea edi, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
call fcn.0040d220
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push ebx
push edx
push eax
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.0040d010
mov ebx, dword [esp + 0x1c]
jmp 0x40eef0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.0040d140
jmp 0x40eef0
mov eax, dword [esp + 0x10]
mov esi, 0x800
lea edi, [esp + 0x34]
call fcn.0040d220
jmp 0x40e0a0
push 0x11
lea edx, [esp + 0x38]
push str.doColorCorrection
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f0c7
mov byte [ebx + 0x5c8], 1
jmp 0x40e0a0
push 0xd
lea eax, [esp + 0x38]
push str.useEmbededICC
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f0e8
mov byte [ebx + 0x5c9], 1
jmp 0x40e0a0
push 0xc
lea ecx, [esp + 0x38]
push str.useSpotColor
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f109
mov byte [ebx + 0x5d1], 1
jmp 0x40e0a0
push 8
lea edx, [esp + 0x38]
push str.RIPPrint
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f12a
mov byte [ebx + 0x5d0], 1
jmp 0x40e0a0
push 0xf
lea eax, [esp + 0x38]
push str.PrintColorBands
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f14b
mov byte [ebx + 0x5d3], 1
jmp 0x40e0a0
push 0x16
lea ecx, [esp + 0x38]
push str.SpotColorDatabaseName
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f17f
lea eax, [esp + 0x4a]
lea edx, [ebx + 0x5d4]
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40f170
jmp 0x40e0a0
push 0xc
lea edx, [esp + 0x38]
push 0x66c4b0
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f1b1
lea eax, [esp + 0x40]
lea edx, [ebx + 0x6d4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40f1a2
jmp 0x40e0a0
push 0xc
lea edx, [esp + 0x38]
push str.XMLFileName
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f1e3
lea eax, [esp + 0x40]
lea edx, [ebx + 0xd4d]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40f1d4
jmp 0x40e0a0
push 9
lea edx, [esp + 0x38]
push str.PortName
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f215
lea eax, [esp + 0x3d]
lea edx, [ebx + 0x8d4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f206
jmp 0x40e0a0
push 0xb
lea edx, [esp + 0x38]
push str.SenderName
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f247
lea eax, [esp + 0x3f]
lea edx, [ebx + 0x914]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f238
jmp 0x40e0a0
push 6
lea edx, [esp + 0x38]
push str.Media
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f27f
lea eax, [esp + 0x3a]
lea edx, [ebx + 0x954]
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f270
jmp 0x40e0a0
push 0xe
lea edx, [esp + 0x38]
push str.ColorModeText
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f2b1
lea eax, [esp + 0x42]
lea edx, [ebx + 0x994]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f2a2
jmp 0x40e0a0
push 0xb
lea edx, [esp + 0x38]
push str.LabelNotes
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f2e3
lea eax, [esp + 0x3f]
lea edx, [ebx + 0x7d4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f2d4
jmp 0x40e0a0
push 0xd
lea edx, [esp + 0x38]
push str.NumberCopies
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f311
lea eax, [esp + 0x41]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xae4], eax
jmp 0x40e0a0
push 0xc
lea ecx, [esp + 0x38]
push str.NumberTiles
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f33f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xae8], eax
jmp 0x40e0a0
push 0xc
lea eax, [esp + 0x38]
push str.NumberPages
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f36d
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xaec], eax
jmp 0x40e0a0
push 8
lea edx, [esp + 0x38]
push str.JobType
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f39f
lea eax, [esp + 0x3c]
lea edx, [ebx + 0x9d4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f390
jmp 0x40e0a0
push 0xe
lea edx, [esp + 0x38]
push str.JobFileFormat
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f3d1
lea eax, [esp + 0x42]
lea edx, [ebx + 0xa14]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f3c2
jmp 0x40e0a0
push 5
lea edx, [esp + 0x38]
push str.Date
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f403
lea eax, [esp + 0x39]
lea edx, [ebx + 0xa54]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f3f4
jmp 0x40e0a0
push 0xa
lea edx, [esp + 0x38]
push str.AfterDone
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f435
lea eax, [esp + 0x3e]
lea edx, [ebx + 0xa94]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f426
jmp 0x40e0a0
push 0xc
lea edx, [esp + 0x38]
push str.PrinterMark
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f463
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xaf0], eax
jmp 0x40e0a0
push 0xa
lea ecx, [esp + 0x38]
push str.PrintLabel
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f484
mov byte [ebx + 0x5d2], 1
jmp 0x40e0a0
push 0xb
lea edx, [esp + 0x38]
push str.UnitFactor
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f4b2
lea eax, [esp + 0x3f]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [ebx + 0xaf8]
add esp, 4
jmp 0x40e0a0
push 0xc
lea ecx, [esp + 0x38]
push str.UnitDisplay
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f4e4
lea eax, [esp + 0x40]
lea edx, [ebx + 0xad4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f4d5
jmp 0x40e0a0
push 8
lea edx, [esp + 0x38]
push str.OverLap
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f512
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [ebx + 0xaf4]
add esp, 4
jmp 0x40e0a0
push 5
lea ecx, [esp + 0x38]
push str.isFJB
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f530
mov byte [ebx + 6], 1
jmp 0x40e0a0
push 0xe
lea edx, [esp + 0x38]
push str.CanonOEMDither
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f551
mov byte [ebx + 0xe58], 1
jmp 0x40e0a0
push 0xf
lea eax, [esp + 0x38]
push str.LightLabelColor
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f575
mov dword [ebx + 0xe60], 1
jmp 0x40e0a0
push 0x13
lea ecx, [esp + 0x38]
push str.RipSpotColorNumber
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f5a3
lea edx, [esp + 0x47]
push edx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xe5c], eax
jmp 0x40e0a0
push 0x15
lea eax, [esp + 0x38]
push str.ColorAdjustVividness
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f5d1
lea ecx, [esp + 0x49]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xe68], eax
jmp 0x40e0a0
push 0x16
lea edx, [esp + 0x38]
push str.ColorAdjustBrightness
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f5ff
lea eax, [esp + 0x4a]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xe6c], eax
jmp 0x40e0a0
push 0x16
lea ecx, [esp + 0x38]
push str.ColorAdjustSaturation
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f62d
lea edx, [esp + 0x4a]
push edx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xe70], eax
jmp 0x40e0a0
push 0x15
lea eax, [esp + 0x38]
push str.ColorAdjustGlobalHue
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f65b
lea ecx, [esp + 0x49]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xe74], eax
jmp 0x40e0a0
push 0xe
lea edx, [esp + 0x38]
push str.JobCompression
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f67f
mov dword [ebx + 0xe78], 1
jmp 0x40e0a0
push 0xc
lea eax, [esp + 0x38]
push str.bitPerColor
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f6ad
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xafc], eax
jmp 0x40e0a0
push 0x13
lea edx, [esp + 0x38]
push str.SupportCMYKPageOnly
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f6cb
mov byte [ebx + 4], 1
jmp 0x40e0a0
push 0xb
lea eax, [esp + 0x38]
push str.BandHeight
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f6f9
lea ecx, [esp + 0x3f]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xb0c], eax
jmp 0x40e0a0
push 0xb
lea edx, [esp + 0x38]
push str.DoSuperCell
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f71a
mov byte [ebx + 0xb3a], 1
jmp 0x40e0a0
push 0xd
lea eax, [esp + 0x38]
push str.SmoothBlends
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f78d
lea ecx, [esp + 0x41]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
test eax, eax
jle 0x40f777
cmp eax, 1
mov byte [ebx + 0xb3b], 1
jne 0x40f75d
mov eax, 8
mov dword [ebx + 0xb3c], eax
jmp 0x40e0a0
xor edx, edx
cmp eax, 2
setne dl
dec edx
and edx, 3
inc edx
mov eax, edx
mov dword [ebx + 0xb3c], eax
jmp 0x40e0a0
mov byte [ebx + 0xb3b], 0
mov dword [ebx + 0xb3c], 0
jmp 0x40e0a0
push 0x11
lea eax, [esp + 0x38]
push str.ColorSplitOption
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f7bb
lea ecx, [esp + 0x45]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x5cc], eax
jmp 0x40e0a0
push 0x13
lea edx, [esp + 0x38]
push str.NoMultipleInkLimits
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f7db
mov byte [ebx + 0xc3c], al
jmp 0x40e0a0
push 8
lea eax, [esp + 0x38]
push str.MediaID
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40f809
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x94], eax
jmp 0x40e0a0
push 0x11
lea edx, [esp + 0x38]
push str.MediaDisplayName
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f83f
lea eax, [esp + 0x45]
lea edx, [ebx + 0x98]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f830
jmp 0x40e0a0
push 0x12
lea edx, [esp + 0x38]
push str.MediaInternalName
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f871
lea eax, [esp + 0x46]
lea edx, [ebx + 0x198]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f862
jmp 0x40e0a0
push 0xc
lea edx, [esp + 0x38]
push str.PrintModeID
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f89f
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x298], eax
jmp 0x40e0a0
push 0x15
lea ecx, [esp + 0x38]
push str.PrintModeDisplayName
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f8d1
lea eax, [esp + 0x49]
lea edx, [ebx + 0x29c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40f8c2
jmp 0x40e0a0
push 0x16
lea edx, [esp + 0x38]
push str.PrintModeInternalName
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f903
lea eax, [esp + 0x4a]
lea edx, [ebx + 0x39c]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40f8f4
jmp 0x40e0a0
push 0xd
lea edx, [esp + 0x38]
push str.ResolutionID
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f931
lea eax, [esp + 0x41]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0x4ac], eax
jmp 0x40e0a0
push 0x16
lea ecx, [esp + 0x38]
push str.ResolutionDisplayName
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f963
lea eax, [esp + 0x4a]
lea edx, [ebx + 0x4b0]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x40f954
jmp 0x40e0a0
push 7
lea edx, [esp + 0x38]
push str.Filter
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f997
lea eax, [ebx + 0xc40]
push eax
lea ecx, [esp + 0x3f]
push 0x66c1f8
push ecx
call dword [sym.imp.MSVCR71.dll_sscanf]
add esp, 0xc
jmp 0x40e0a0
push 0xb
lea edx, [esp + 0x38]
push str.LabelWidth
push edx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f9c5
lea eax, [esp + 0x3f]
push eax
call dword [sym.imp.MSVCR71.dll_atof]
fstp qword [ebx + 0xc44]
add esp, 4
jmp 0x40e0a0
push 0x10
lea ecx, [esp + 0x38]
push str.HasDriverOption
push ecx
call ebp
add esp, 0xc
test eax, eax
jne 0x40f9fa
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
dec eax
neg eax
sbb al, al
inc al
mov byte [ebx + 0xc4c], al
jmp 0x40e0a0
push 0x13
lea eax, [esp + 0x38]
push str.DriverOptionBinary
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40fa7a
mov al, byte [ebx + 0xc4c]
test al, al
je 0x40e0a0
mov edi, dword [sym.imp.MSVCR71.dll_sscanf]
xor esi, esi
jmp 0x40fa30
mov cl, byte [esp + esi*2 + 0x47]
mov dl, byte [esp + esi*2 + 0x48]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
push 0x66c1f8
push ecx
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0
mov dword [esp + 0x20], 0
call edi
mov dl, byte [esp + 0x20]
add esp, 0xc
mov byte [ebx + esi + 0xc4d], dl
inc esi
cmp esi, 0x100
jl 0x40fa30
jmp 0x40e0a0
push 0x1a
lea eax, [esp + 0x38]
push 0x66c1a8
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x40e0a0
lea ecx, [esp + 0x4e]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [ebx + 0xe50], eax
jmp 0x40e0a0
mov eax, dword [ebx + 0x90]
cmp eax, 5
jl 0x40facc
cmp eax, 7
jg 0x40facc
cmp dword [ebx + 0x5cc], 2
jne 0x40facc
mov byte [ebx + 0x8f], 0
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov ecx, ebx
call fcn.0040d990
add ebx, 0xb74
pop edi
pop esi
pop ebp
jne 0x40fafe
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, 1
pop ebx
add esp, 0x824
ret 4
mov ebx, dword [ebx]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, 1
pop ebx
add esp, 0x824
ret 4
xor al, al
pop ebx
add esp, 0x824
ret 4