Function at 0x4025d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42f1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x730
mov eax, dword [0x43e028]
xor eax, esp
mov dword [esp + 0x728], eax
push ebx
push esi
push edi
mov eax, dword [0x43e028]
xor eax, esp
push eax
lea eax, [esp + 0x740]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
cmp edi, ebx
je 0x402629
lea esi, [edi + 0x34]
jmp 0x40262b
xor esi, esi
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
push esi
call eax
test eax, eax
je 0x402673
push str.ScannerDriver_SetISDIScannerDriverDelegate___Failed.
mov edx, 0x40
push str.ESACreateScanSettingsCommand.cpp
push str.CESACreateScanSettingsCommand::Execute
mov ecx, 5
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
mov dword [esp + 0x24], 1
jmp 0x4036d9
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
mov dword [esp + 0x2c], ebx
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x78]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call edx
cmp eax, ebx
je 0x40269e
push str.GetISDIDeviceManager2___Failed.
mov edx, 0x45
jmp 0x40264a
lea eax, [esp + 0x1b4]
push eax
call fcn.00404f10
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
mov byte [esp + 0x30c], bl
mov dword [esp + 0x748], ebx
xor ecx, ecx
mov dword [esp + method.CSDIString.virtual_0], vtable.CSDIString.0
mov dword [esp + 0x170], 7
mov dword [esp + 0x16c], ebx
mov word [esp + 0x15c], cx
mov byte [esp + 0x748], 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x158]
push eax
call edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.00408d30
lea esi, [esp + 0xb8]
lea edx, [esp + 0x158]
mov byte [esp + 0x748], 2
call fcn.00404ed0
lea ecx, [esp + 0x8c]
mov edx, eax
mov byte [esp + 0x748], 3
call fcn.00419760
mov byte [esp + 0x748], 2
cmp dword [esp + 0xcc], 8
jb 0x40276c
mov edx, dword [esp + 0xb8]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
push 0x4d
push str.ESACreateScanSettingsCommand.cpp
lea ecx, [esp + 0x94]
call fcn.00403d30
add esp, 8
cmp eax, ebx
jne 0x4027f9
push str.parDictInstalledDevices_is_NULL
mov edx, 0x4e
push str.ESACreateScanSettingsCommand.cpp
push str.CESACreateScanSettingsCommand::Execute
lea ecx, [edx - 0x49]
mov eax, 0x441928
call fcn.0040e050
mov dword [esp + 0x30], 1
add esp, 0xc
lea ecx, [esp + 0x8c]
mov byte [esp + 0x748], 1
call fcn.00408a30
lea ecx, [esp + 0x158]
call fcn.00401050
mov dword [esp + 0x748], 0xffffffff
lea ecx, [esp + 0x1b4]
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
call fcn.00404fe0
jmp 0x4036d9
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea esi, [esp + 0x30]
call fcn.00403ee0
lea eax, [esp + 0x14]
lea esi, [esp + 0x54]
call fcn.00403f20
jmp 0x402820
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x5c]
je 0x402ad2
lea edx, [esp + 0x30]
call fcn.00403f60
lea ecx, [esp + 0x474]
push ecx
mov esi, eax
call fcn.00404f10
mov dword [esp + 0x474], 0x431db8
mov byte [esp + 0x5cc], bl
mov ebx, esi
lea ecx, [esp + 0x474]
mov byte [esp + 0x748], 4
call fcn.00405ea0
lea esi, [esp + 0x13c]
mov edx, edi
call fcn.00401fc0
mov byte [esp + 0x748], 5
mov ebx, dword [esp + 0x18]
or ebx, 1
cmp dword [eax + 0x10], 0
mov dword [esp + 0x18], ebx
je 0x402911
lea edx, [esp + 0x474]
push edx
lea esi, [esp + 0xd8]
call fcn.00404e60
mov dword [esp + 0x14], eax
mov dword [esp + 0x748], 6
or ebx, 2
lea esi, [esp + 0x198]
mov edx, edi
mov dword [esp + 0x18], ebx
call fcn.00401fc0
mov ecx, eax
mov dword [esp + 0x748], 7
mov eax, dword [esp + 0x14]
or ebx, 4
cmp byte [eax], 0
mov dword [esp + 0x18], ebx
je 0x402b84
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4028fc
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
je 0x4029b1
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0xb8]
mov edx, edi
call fcn.00409500
mov dword [esp + 0x748], 9
or ebx, 8
cmp dword [eax + 0x10], 0
mov dword [esp + 0x18], ebx
je 0x4029c0
lea ecx, [esp + 0x474]
push ecx
lea esi, [esp + 0x104]
call fcn.00404df0
mov dword [esp + 0x14], eax
mov dword [esp + 0x748], 0xa
or ebx, 0x10
lea esi, [esp + 0x120]
mov edx, edi
mov dword [esp + 0x18], ebx
call fcn.00409500
mov ecx, eax
mov dword [esp + 0x748], 0xb
mov edx, dword [esp + 0x14]
or ebx, 0x20
cmp byte [edx], 0
mov dword [esp + 0x18], ebx
je 0x402bb8
mov eax, edx
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4029a4
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
jne 0x4029bc
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x14], 1
jmp 0x4029c5
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x14], 0
test bl, 0x20
je 0x4029dd
and ebx, 0xffffffdf
lea esi, [esp + 0x120]
mov dword [esp + 0x18], ebx
call fcn.004016b0
test bl, 0x10
je 0x4029f5
and ebx, 0xffffffef
lea esi, [esp + 0x100]
mov dword [esp + 0x18], ebx
call fcn.00408f90
test bl, 8
je 0x402a0d
and ebx, 0xfffffff7
lea esi, [esp + 0xb8]
mov dword [esp + 0x18], ebx
call fcn.004016b0
test bl, 4
je 0x402a25
and ebx, 0xfffffffb
lea esi, [esp + 0x198]
mov dword [esp + 0x18], ebx
call fcn.004016b0
test bl, 2
je 0x402a3d
and ebx, 0xfffffffd
lea esi, [esp + 0xd4]
mov dword [esp + 0x18], ebx
call fcn.00408f90
mov dword [esp + 0x748], 4
test bl, 1
je 0x402a60
and ebx, 0xfffffffe
lea esi, [esp + 0x13c]
mov dword [esp + 0x18], ebx
call fcn.004016b0
cmp byte [esp + 0x14], 0
jne 0x402a91
mov byte [esp + 0x748], 2
lea ecx, [esp + 0x474]
mov dword [esp + 0x474], 0x431db8
call fcn.00404fe0
inc dword [esp + 0x38]
xor ebx, ebx
jmp 0x402820
lea ebx, [esp + 0x474]
lea edi, [esp + 0x1b4]
call fcn.00404480
mov al, byte [esp + 0x5cc]
mov byte [esp + 0x748], 2
mov ecx, ebx
mov byte [esp + 0x30c], al
mov dword [esp + 0x474], 0x431db8
call fcn.00404fe0
mov edi, dword [esp + 0x1c]
xor ebx, ebx
lea edx, [esp + 0xd4]
lea ecx, [esp + 0x1b4]
call fcn.00404630
mov eax, dword [eax + 8]
dec eax
mov eax, dword [esp + 0xe4]
sete byte [esp + 0x14]
cmp eax, ebx
je 0x402b03
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea edx, [esp + 0xd8]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0x20], edx
mov eax, edx
push eax
mov byte [esp + 0x74c], 0xd
call fcn.00408e80
mov byte [esp + 0x748], 2
mov ecx, dword [esp + 0xd8]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
cmp byte [esp + 0x14], bl
je 0x402bec
push str.cMatchedDevice_not_Found.
mov edx, 0x5b
push str.ESACreateScanSettingsCommand.cpp
push str.CESACreateScanSettingsCommand::Execute
lea ecx, [edx - 0x56]
mov eax, 0x441928
call fcn.0040e050
mov dword [esp + 0x30], 0xa
jmp 0x4027af
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x3c], vtable.boost::bad_optional_access.0
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x74c], 8
call fcn.00405e40
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x48], vtable.boost::bad_optional_access.0
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x74c], 0xc
call fcn.00405e40
lea edx, [esp + 0x314]
push edx
call fcn.00404f10
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
mov byte [esp + 0x46c], bl
xor eax, eax
mov dword [esp + method.CSDIString.virtual_0], vtable.CSDIString.0
mov dword [esp + 0x190], 7
mov dword [esp + 0x18c], ebx
mov word [esp + 0x17c], ax
mov byte [esp + 0x748], 0xf
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x178]
push eax
call edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00408d30
lea esi, [esp + 0xb8]
lea edx, [esp + 0x178]
mov byte [esp + 0x748], 0x10
call fcn.00404ed0
lea ecx, [esp + 0x60]
mov edx, eax
mov byte [esp + 0x748], 0x11
call fcn.00419760
mov byte [esp + 0x748], 0x10
cmp dword [esp + 0xcc], 8
jb 0x402cad
mov edx, dword [esp + 0xb8]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
push 0x63
push str.ESACreateScanSettingsCommand.cpp
lea ecx, [esp + 0x68]
call fcn.00403d30
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x402d76
push str.parDictDevices_is_NULL
mov edx, 0x64
push str.ESACreateScanSettingsCommand.cpp
push str.CESACreateScanSettingsCommand::Execute
lea ecx, [edx - 0x5f]
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
lea ecx, [esp + 0x60]
mov dword [esp + 0x24], 1
mov byte [esp + 0x748], 0xf
call fcn.00408a30
lea ecx, [esp + 0x178]
call fcn.00401050
mov esi, vtable.CDVMDeviceInfo.0
mov byte [esp + 0x748], 2
lea ecx, [esp + 0x314]
mov dword [esp + 0x314], esi
call fcn.00404fe0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x748], 1
call fcn.00408a30
lea ecx, [esp + 0x158]
call fcn.00401050
mov dword [esp + 0x748], 0xffffffff
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1b4], esi
call fcn.00404fe0
jmp 0x4036d9
lea eax, [esp + 0x5d4]
push eax
call fcn.00404f10
mov dword [esp + 0x5d4], 0x431db8
mov byte [esp + 0x72c], bl
mov byte [esp + 0x748], 0x12
mov dword [esp + 0x14], esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x30]
call fcn.00403ee0
lea eax, [esp + 0x14]
lea esi, [esp + 0x54]
call fcn.00403f20
jmp 0x402dc0
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x5c]
je 0x40303d
lea edx, [esp + 0x30]
call fcn.00403f60
mov ebx, eax
lea ecx, [esp + 0x5d4]
call fcn.00405ea0
lea esi, [esp + 0xb8]
mov edx, edi
call fcn.00401fc0
mov byte [esp + 0x748], 0x13
mov ebx, dword [esp + 0x18]
or ebx, 0x40
cmp dword [eax + 0x10], 0
mov dword [esp + 0x18], ebx
je 0x402e92
lea edx, [esp + 0x5d4]
push edx
lea esi, [esp + 0x104]
call fcn.00404e60
mov dword [esp + 0x14], eax
mov dword [esp + 0x748], 0x14
or ebx, 0x80
lea esi, [esp + 0x120]
mov edx, edi
mov dword [esp + 0x18], ebx
call fcn.00401fc0
mov ecx, eax
mov dword [esp + 0x748], 0x15
mov eax, dword [esp + 0x14]
or ebx, 0x100
cmp byte [eax], 0
mov dword [esp + 0x18], ebx
je 0x4030dd
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x402e7d
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
je 0x402f3b
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x198]
mov edx, edi
call fcn.00409500
mov dword [esp + 0x748], 0x17
or ebx, 0x200
cmp dword [eax + 0x10], 0
mov dword [esp + 0x18], ebx
je 0x402f4a
lea ecx, [esp + 0x5d4]
push ecx
lea esi, [esp + 0xd8]
call fcn.00404df0
mov dword [esp + 0x14], eax
mov dword [esp + 0x748], 0x18
or ebx, 0x400
lea esi, [esp + 0x13c]
mov edx, edi
mov dword [esp + 0x18], ebx
call fcn.00409500
mov ecx, eax
mov dword [esp + 0x748], 0x19
mov edx, dword [esp + 0x14]
or ebx, 0x800
cmp byte [edx], 0
mov dword [esp + 0x18], ebx
je 0x403111
mov eax, edx
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x402f2e
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
jne 0x402f46
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x14], 1
jmp 0x402f4f
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x14], 0
test ebx, 0x800
je 0x402f6d
and ebx, 0xfffff7ff
lea esi, [esp + 0x13c]
mov dword [esp + 0x18], ebx
call fcn.004016b0
test ebx, 0x400
je 0x402f8b
and ebx, 0xfffffbff
lea esi, [esp + 0xd4]
mov dword [esp + 0x18], ebx
call fcn.00408f90
test ebx, 0x200
je 0x402fa9
and ebx, 0xfffffdff
lea esi, [esp + 0x198]
mov dword [esp + 0x18], ebx
call fcn.004016b0
test ebx, 0x100
je 0x402fc7
and ebx, 0xfffffeff
lea esi, [esp + 0x120]
mov dword [esp + 0x18], ebx
call fcn.004016b0
test bl, bl
jns 0x402fe1
and ebx, 0xffffff7f
lea esi, [esp + 0x100]
mov dword [esp + 0x18], ebx
call fcn.00408f90
mov dword [esp + 0x748], 0x12
test bl, 0x40
je 0x403004
and ebx, 0xffffffbf
lea esi, [esp + 0xb8]
mov dword [esp + 0x18], ebx
call fcn.004016b0
cmp byte [esp + 0x14], 0
jne 0x403016
inc dword [esp + 0x38]
xor ebx, ebx
jmp 0x402dc0
lea ebx, [esp + 0x5d4]
lea edi, [esp + 0x314]
call fcn.00404480
mov al, byte [esp + 0x72c]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x46c], al
xor ebx, ebx
lea edx, [esp + 0xd4]
lea ecx, [esp + 0x314]
call fcn.00404630
mov eax, dword [eax + 8]
dec eax
lea ecx, [esp + 0xd4]
sete byte [esp + 0x14]
call fcn.00408a30
cmp byte [esp + 0x14], bl
je 0x403145
push str.cFoundDevice_not_Found.
mov edx, 0x71
push str.ESACreateScanSettingsCommand.cpp
push str.CESACreateScanSettingsCommand::Execute
lea ecx, [edx - 0x6c]
mov eax, 0x441928
call fcn.0040e050
mov byte [esp + 0x754], 0x10
mov esi, vtable.CDVMDeviceInfo.0
add esp, 0xc
lea ecx, [esp + 0x5d4]
mov dword [esp + 0x24], 0x1e
mov dword [esp + 0x5d4], esi
call fcn.00404fe0
lea ecx, [esp + 0x60]
mov byte [esp + 0x748], 0xf
call fcn.00408a30
lea ecx, [esp + 0x178]
call fcn.00401050
jmp 0x402d18
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x48], vtable.boost::bad_optional_access.0
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x74c], 0x16
call fcn.00405e40
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], str.Attempted_to_access_the_value_of_an_uninitialized_optional_object.
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
mov dword [esp + 0x3c], vtable.boost::bad_optional_access.0
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x74c], 0x1a
call fcn.00405e40
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x318]
push edx
mov esi, eax
call fcn.004045c0
mov byte [esp + 0x748], 0x1b
cmp dword [eax + 0x14], 8
jb 0x403175
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
lea esi, [esp + 0x13c]
call fcn.004016b0
mov byte [esp + 0x748], 0x10
mov esi, vtable.CDVMDeviceInfo.0
lea ecx, [esp + 0x5d4]
mov dword [esp + 0x5d4], esi
call fcn.00404fe0
lea ecx, [esp + 0x60]
mov byte [esp + 0x748], 0xf
call fcn.00408a30
lea ecx, [esp + 0x178]
call fcn.00401050
mov byte [esp + 0x748], 2
lea ecx, [esp + 0x314]
mov dword [esp + 0x314], esi
call fcn.00404fe0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x748], 1
call fcn.00408a30
lea ecx, [esp + 0x158]
call fcn.00401050
mov dword [esp + 0x748], 0xffffffff
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1b4], esi
call fcn.00404fe0
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
cmp eax, ebx
je 0x403268
push str.ScannerDriver_Open_Failed.
mov edx, 0x76
push str.ESACreateScanSettingsCommand.cpp
push str.CESACreateScanSettingsCommand::Execute
lea ecx, [edx - 0x71]
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
mov dword [esp + 0x24], 0x1e
jmp 0x4036d9
mov dword [esp + 0x20], vtable.CES2TextFileIO.0
mov dword [esp + 0x748], 0x1c
xor ecx, ecx
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], cx
sub esp, 0x1c
mov byte [esp + 0x764], 0x1d
mov esi, esp
mov edx, edi
mov dword [esp + 0x44], esp
call fcn.00401ff0
lea ecx, [esp + 0xd4]
call fcn.00401750
cmp eax, ebx
je 0x4033aa
cmp dword [esp + 0xc8], ebx
je 0x4033aa
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.00408d30
mov eax, str.kDrvSerializedAllValues
lea ecx, [esp + 0x120]
mov byte [esp + 0x748], 0x1e
call fcn.00401f00
lea ecx, [esp + 0xb8]
lea esi, [esp + 0x13c]
mov byte [esp + 0x748], 0x1f
call fcn.004082f0
push eax
lea ecx, [esp + 0x124]
lea esi, [esp + 0x64]
mov byte [esp + 0x74c], 0x20
call fcn.00407f70
mov edi, eax
call fcn.00408320
lea esi, [esp + 0x13c]
call fcn.004016b0
lea esi, [esp + 0x120]
mov byte [esp + 0x748], 0x1e
call fcn.004016b0
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x60]
call fcn.004195e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
cmp dword [esp + 0xcc], 8
mov ecx, dword [esp + 0xb8]
jae 0x403386
lea ecx, [esp + 0xb8]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x48]
push str.kDrvSerializedAllValues
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x748], 0x1d
call fcn.00408a30
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0xb8]
call fcn.004016b0
xor ecx, ecx
mov dword [esp + method.CSDIString.virtual_0], vtable.CSDIString.0
mov dword [esp + 0x118], 7
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], cx
mov dword [esp + 0x748], 0x21
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x100]
push ecx
push str.kDrvUIOnly
mov ecx, eax
call edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.00408d30
lea esi, [esp + 0x13c]
lea edx, [esp + 0x100]
mov byte [esp + 0x748], 0x22
call fcn.00404ed0
lea ecx, [esp + 0xd4]
mov edx, eax
mov byte [esp + 0x748], 0x23
call fcn.00419760
mov byte [esp + 0x748], 0x22
call fcn.004016b0
mov eax, str.kDrvUIOnly
lea ecx, [esp + 0x120]
mov dword [esp + 0x20], 1
call fcn.00401f00
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x124]
lea esi, [esp + 0xd8]
mov byte [esp + 0x74c], 0x24
call fcn.00403d00
mov esi, eax
call fcn.004089f0
lea esi, [esp + 0x120]
mov byte [esp + 0x748], 0x22
call fcn.004016b0
lea esi, [esp + 0xb8]
lea edx, [esp + 0x100]
call fcn.00404ed0
mov edx, esi
lea ecx, [esp + 0xd4]
mov byte [esp + 0x748], 0x25
call fcn.004195e0
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
cmp dword [esp + 0xcc], 8
mov ecx, dword [esp + 0xb8]
jae 0x4034f0
mov ecx, esi
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x48]
push str.kDrvUIOnly
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, ebx
je 0x403577
push str.ScannerDriver_ShowUI_Failed.
push str.ESACreateScanSettingsCommand.cpp
push str.CESACreateScanSettingsCommand::Execute
mov edx, 0x90
mov ecx, 5
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
lea esi, [esp + 0xb8]
call fcn.004016b0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x748], 0x21
call fcn.00408a30
lea ecx, [esp + 0x100]
mov dword [esp + 0x748], 0xffffffff
call fcn.00401050
jmp 0x4036d9
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x100]
push ecx
push str.kDrvUIOnly
mov ecx, eax
call edx
lea esi, [esp + 0x13c]
lea edx, [esp + 0x100]
call fcn.00404ed0
lea ecx, [esp + 0xd4]
mov edx, eax
mov byte [esp + 0x748], 0x26
call fcn.00419760
mov byte [esp + 0x748], 0x25
call fcn.004016b0
mov eax, str.kDrvUIOnly
lea ecx, [esp + 0x120]
mov dword [esp + 0x20], ebx
call fcn.00401f00
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
lea esi, [esp + 0xd8]
mov byte [esp + 0x74c], 0x27
call fcn.00403d00
mov esi, eax
call fcn.004089f0
lea esi, [esp + 0x120]
mov byte [esp + 0x748], 0x25
call fcn.004016b0
lea esi, [esp + 0x198]
lea edx, [esp + 0x100]
call fcn.00404ed0
mov edi, eax
lea esi, [esp + 0xb8]
mov byte [esp + 0x748], 0x28
call fcn.00408940
lea esi, [esp + 0x198]
mov byte [esp + 0x748], 0x25
call fcn.004016b0
lea edx, [esp + 0xb8]
lea ecx, [esp + 0xd4]
call fcn.004195e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
cmp dword [esp + 0xcc], 8
mov ecx, dword [esp + 0xb8]
jae 0x40368f
lea ecx, [esp + 0xb8]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x48]
push str.kDrvUIOnly
call eax
lea esi, [esp + 0xb8]
call fcn.004016b0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x748], 0x21
call fcn.00408a30
lea ecx, [esp + 0x100]
mov dword [esp + 0x748], 0xffffffff
call fcn.00401050
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x441900], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [esp + 0x740]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x728]
xor ecx, esp
call fcn.0042b0b1
mov esp, ebp
pop ebp
ret