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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42f4cd
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x43e028]
xor eax, esp
mov dword [esp + 0x5e0], eax
push ebx
push esi
push edi
mov eax, dword [0x43e028]
xor eax, esp
push eax
lea eax, [esp + 0x5f8]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
cmp edi, ebx
je 0x409b39
lea esi, [edi + 0x34]
jmp 0x409b3b
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 0x409b83
push str.ScannerDriver_SetISDIScannerDriverDelegate___Failed.
mov edx, 0x40
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
mov ecx, 5
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
mov dword [esp + 0x1c], 1
jmp 0x40a9af
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
mov dword [esp + 0x28], ebx
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x78]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call edx
cmp eax, ebx
je 0x409bae
push str.ScannerDriver_GetISDIDeviceManager2___Failed.
mov edx, 0x45
jmp 0x409b5a
lea eax, [esp + 0x32c]
push eax
call fcn.00404f10
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
mov byte [esp + 0x484], bl
mov dword [esp + 0x600], ebx
xor ecx, ecx
mov dword [esp + 0xfc], vtable.CSDIString.0
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], cx
mov byte [esp + 0x600], 1
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0xfc]
push eax
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00408d30
lea esi, [esp + 0xb4]
lea edx, [esp + 0xfc]
mov byte [esp + 0x600], 2
call fcn.00404ed0
lea ecx, [esp + 0x5c]
mov edx, eax
mov byte [esp + 0x600], 3
call fcn.00419760
mov byte [esp + 0x600], 2
cmp dword [esp + 0xc8], 8
jb 0x409c76
mov edx, dword [esp + 0xb4]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
push 0x4d
push str.ESAStartScanningCommand.cpp
lea ecx, [esp + 0x64]
call fcn.00403d30
add esp, 8
cmp eax, ebx
jne 0x409cfd
push str.parDictDevices_is_NULL
mov edx, 0x4e
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
lea ecx, [edx - 0x49]
mov eax, 0x441928
call fcn.0040e050
mov dword [esp + 0x28], 1
add esp, 0xc
lea ecx, [esp + 0x5c]
mov byte [esp + 0x600], 1
call fcn.00408a30
lea ecx, [esp + 0xfc]
call fcn.00401050
mov dword [esp + 0x600], 0xffffffff
lea ecx, [esp + 0x32c]
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
call fcn.00404fe0
jmp 0x40a9af
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea esi, [esp + 0x2c]
call fcn.00403ee0
lea eax, [esp + 0x10]
lea esi, [esp + 0x50]
call fcn.00403f20
jmp 0x409d20
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x58]
je 0x409fd2
lea edx, [esp + 0x2c]
call fcn.00403f60
lea ecx, [esp + 0x1cc]
push ecx
mov esi, eax
call fcn.00404f10
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
mov byte [esp + 0x324], bl
mov ebx, esi
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x600], 4
call fcn.00405ea0
lea esi, [esp + 0x190]
mov edx, edi
call fcn.00401fc0
mov byte [esp + 0x600], 5
mov ebx, dword [esp + 0x14]
or ebx, 1
cmp dword [eax + 0x10], 0
mov dword [esp + 0x14], ebx
je 0x409e11
lea edx, [esp + 0x1cc]
push edx
lea esi, [esp + 0xd4]
call fcn.00404e60
mov dword [esp + 0x10], eax
mov dword [esp + 0x600], 6
or ebx, 2
lea esi, [esp + 0x174]
mov edx, edi
mov dword [esp + 0x14], ebx
call fcn.00401fc0
mov ecx, eax
mov dword [esp + 0x600], 7
mov eax, dword [esp + 0x10]
or ebx, 4
cmp byte [eax], 0
mov dword [esp + 0x14], ebx
je 0x40a084
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x409dfc
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
je 0x409eb1
mov edi, dword [esp + 0x18]
lea esi, [esp + 0xb4]
mov edx, edi
call fcn.00409500
mov dword [esp + 0x600], 9
or ebx, 8
cmp dword [eax + 0x10], 0
mov dword [esp + 0x14], ebx
je 0x409ec0
lea ecx, [esp + 0x1cc]
push ecx
lea esi, [esp + 0x1b0]
call fcn.00404df0
mov dword [esp + 0x10], eax
mov dword [esp + 0x600], 0xa
or ebx, 0x10
lea esi, [esp + 0x13c]
mov edx, edi
mov dword [esp + 0x14], ebx
call fcn.00409500
mov ecx, eax
mov dword [esp + 0x600], 0xb
mov edx, dword [esp + 0x10]
or ebx, 0x20
cmp byte [edx], 0
mov dword [esp + 0x14], ebx
je 0x40a0b8
mov eax, edx
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x409ea4
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
jne 0x409ebc
mov edi, dword [esp + 0x18]
mov byte [esp + 0x10], 1
jmp 0x409ec5
mov edi, dword [esp + 0x18]
mov byte [esp + 0x10], 0
test bl, 0x20
je 0x409edd
and ebx, 0xffffffdf
lea esi, [esp + 0x13c]
mov dword [esp + 0x14], ebx
call fcn.004016b0
test bl, 0x10
je 0x409ef5
and ebx, 0xffffffef
lea esi, [esp + 0x1ac]
mov dword [esp + 0x14], ebx
call fcn.00408f90
test bl, 8
je 0x409f0d
and ebx, 0xfffffff7
lea esi, [esp + 0xb4]
mov dword [esp + 0x14], ebx
call fcn.004016b0
test bl, 4
je 0x409f25
and ebx, 0xfffffffb
lea esi, [esp + 0x174]
mov dword [esp + 0x14], ebx
call fcn.004016b0
test bl, 2
je 0x409f3d
and ebx, 0xfffffffd
lea esi, [esp + 0xd0]
mov dword [esp + 0x14], ebx
call fcn.00408f90
mov dword [esp + 0x600], 4
test bl, 1
je 0x409f60
and ebx, 0xfffffffe
lea esi, [esp + 0x190]
mov dword [esp + 0x14], ebx
call fcn.004016b0
cmp byte [esp + 0x10], 0
jne 0x409f91
mov byte [esp + 0x600], 2
lea ecx, [esp + 0x1cc]
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
call fcn.00404fe0
inc dword [esp + 0x34]
xor ebx, ebx
jmp 0x409d20
lea ebx, [esp + 0x1cc]
lea edi, [esp + 0x32c]
call fcn.00404480
mov al, byte [esp + 0x324]
mov byte [esp + 0x600], 2
mov ecx, ebx
mov byte [esp + 0x484], al
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
call fcn.00404fe0
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x32c]
call fcn.00404630
mov eax, dword [eax + 8]
dec eax
mov eax, dword [esp + 0xe0]
sete byte [esp + 0x10]
cmp eax, ebx
je 0x40a003
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
lea edx, [esp + 0xd4]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x20], edx
mov eax, edx
push eax
mov byte [esp + 0x604], 0xd
call fcn.00408e80
mov byte [esp + 0x600], 2
mov ecx, dword [esp + 0xd4]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
cmp byte [esp + 0x10], bl
je 0x40a0ec
push str.cMatchedDevice_not_Found.
mov edx, 0x5b
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
lea ecx, [edx - 0x56]
mov eax, 0x441928
call fcn.0040e050
mov dword [esp + 0x28], 0xa
jmp 0x409cb6
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], 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 + 0x38], vtable.boost::bad_optional_access.0
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x604], 8
call fcn.00405e40
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
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 + 0x44], vtable.boost::bad_optional_access.0
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x604], 0xc
call fcn.00405e40
lea edx, [esp + 0x48c]
push edx
call fcn.00404f10
mov dword [esp + 0x48c], 0x431db8
mov byte [esp + 0x5e4], bl
xor eax, eax
mov dword [esp + method.CSDIString.virtual_0], vtable.CSDIString.0
mov dword [esp + 0x134], 7
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], ax
mov byte [esp + 0x600], 0xf
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x11c]
push eax
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.00408d30
lea esi, [esp + 0xb4]
lea edx, [esp + 0x11c]
mov byte [esp + 0x600], 0x10
call fcn.00404ed0
lea ecx, [esp + 0x88]
mov edx, eax
mov byte [esp + 0x600], 0x11
call fcn.00419760
mov byte [esp + 0x600], 0x10
cmp dword [esp + 0xc8], 8
jb 0x40a1b3
mov edx, dword [esp + 0xb4]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
push 0x63
push str.ESAStartScanningCommand.cpp
lea ecx, [esp + 0x90]
call fcn.00403d30
add esp, 8
cmp eax, ebx
jne 0x40a27d
push str.parDictDevices_is_NULL
mov edx, 0x64
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
lea ecx, [edx - 0x5f]
mov eax, 0x441928
call fcn.0040e050
mov dword [esp + 0x28], 1
add esp, 0xc
lea ecx, [esp + 0x88]
mov byte [esp + 0x600], 0xf
call fcn.00408a30
lea ecx, [esp + 0x11c]
call fcn.00401050
mov byte [esp + 0x600], 2
mov esi, vtable.CDVMDeviceInfo.0
lea ecx, [esp + 0x48c]
mov dword [esp + 0x48c], esi
call fcn.00404fe0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x600], 1
call fcn.00408a30
lea ecx, [esp + 0xfc]
call fcn.00401050
mov dword [esp + 0x600], 0xffffffff
lea ecx, [esp + 0x32c]
mov dword [esp + 0x32c], esi
call fcn.00404fe0
jmp 0x40a9af
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea esi, [esp + 0x2c]
call fcn.00403ee0
lea eax, [esp + 0x10]
lea esi, [esp + 0x50]
call fcn.00403f20
jmp 0x40a2a0
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x58]
je 0x40a57f
lea edx, [esp + 0x2c]
call fcn.00403f60
lea ecx, [esp + 0x1cc]
push ecx
mov esi, eax
call fcn.00404f10
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
mov byte [esp + 0x324], bl
mov ebx, esi
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x600], 0x12
call fcn.00405ea0
lea esi, [esp + 0xb4]
mov edx, edi
call fcn.00401fc0
mov byte [esp + 0x600], 0x13
mov ebx, dword [esp + 0x14]
or ebx, 0x40
cmp dword [eax + 0x10], 0
mov dword [esp + 0x14], ebx
je 0x40a39b
lea edx, [esp + 0x1cc]
push edx
lea esi, [esp + 0x1b0]
call fcn.00404e60
mov dword [esp + 0x10], eax
mov dword [esp + 0x600], 0x14
or ebx, 0x80
lea esi, [esp + 0x13c]
mov edx, edi
mov dword [esp + 0x14], ebx
call fcn.00401fc0
mov ecx, eax
mov dword [esp + 0x600], 0x15
mov eax, dword [esp + 0x10]
or ebx, 0x100
cmp byte [eax], 0
mov dword [esp + 0x14], ebx
je 0x40a5df
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x40a386
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
je 0x40a444
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x174]
mov edx, edi
call fcn.00409500
mov dword [esp + 0x600], 0x17
or ebx, 0x200
cmp dword [eax + 0x10], 0
mov dword [esp + 0x14], ebx
je 0x40a453
lea ecx, [esp + 0x1cc]
push ecx
lea esi, [esp + 0xd4]
call fcn.00404df0
mov dword [esp + 0x10], eax
mov dword [esp + 0x600], 0x18
or ebx, 0x400
lea esi, [esp + 0x190]
mov edx, edi
mov dword [esp + 0x14], ebx
call fcn.00409500
mov ecx, eax
mov dword [esp + 0x600], 0x19
mov edx, dword [esp + 0x10]
or ebx, 0x800
cmp byte [edx], 0
mov dword [esp + 0x14], ebx
je 0x40a613
mov eax, edx
mov edi, dword [eax + 0x14]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x40a437
mov eax, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call fcn.004010f0
test eax, eax
jne 0x40a44f
mov edi, dword [esp + 0x18]
mov byte [esp + 0x10], 1
jmp 0x40a458
mov edi, dword [esp + 0x18]
mov byte [esp + 0x10], 0
test ebx, 0x800
je 0x40a476
and ebx, 0xfffff7ff
lea esi, [esp + 0x190]
mov dword [esp + 0x14], ebx
call fcn.004016b0
test ebx, 0x400
je 0x40a494
and ebx, 0xfffffbff
lea esi, [esp + 0xd0]
mov dword [esp + 0x14], ebx
call fcn.00408f90
test ebx, 0x200
je 0x40a4b2
and ebx, 0xfffffdff
lea esi, [esp + 0x174]
mov dword [esp + 0x14], ebx
call fcn.004016b0
test ebx, 0x100
je 0x40a4d0
and ebx, 0xfffffeff
lea esi, [esp + 0x13c]
mov dword [esp + 0x14], ebx
call fcn.004016b0
test bl, bl
jns 0x40a4ea
and ebx, 0xffffff7f
lea esi, [esp + 0x1ac]
mov dword [esp + 0x14], ebx
call fcn.00408f90
mov dword [esp + 0x600], 0x12
test bl, 0x40
je 0x40a50d
and ebx, 0xffffffbf
lea esi, [esp + 0xb4]
mov dword [esp + 0x14], ebx
call fcn.004016b0
cmp byte [esp + 0x10], 0
jne 0x40a53e
mov byte [esp + 0x600], 0x10
lea ecx, [esp + 0x1cc]
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
call fcn.00404fe0
inc dword [esp + 0x34]
xor ebx, ebx
jmp 0x40a2a0
lea ebx, [esp + 0x1cc]
lea edi, [esp + 0x48c]
call fcn.00404480
mov al, byte [esp + 0x324]
mov byte [esp + 0x600], 0x10
mov ecx, ebx
mov byte [esp + 0x5e4], al
mov dword [esp + method.CDVMDeviceInfo.virtual_0], vtable.CDVMDeviceInfo.0
call fcn.00404fe0
mov edi, dword [esp + 0x18]
xor ebx, ebx
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x48c]
call fcn.00404630
mov eax, dword [eax + 8]
dec eax
lea ecx, [esp + 0xd0]
sete byte [esp + 0x10]
call fcn.00408a30
cmp byte [esp + 0x10], bl
je 0x40a647
push str.cFoundDevice_not_Found.
mov edx, 0x71
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
lea ecx, [edx - 0x6c]
mov eax, 0x441928
call fcn.0040e050
mov dword [esp + 0x28], 0x1e
jmp 0x40a1fa
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
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 + 0x44], vtable.boost::bad_optional_access.0
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x604], 0x16
call fcn.00405e40
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], 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 + 0x38], vtable.boost::bad_optional_access.0
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x604], 0x1a
call fcn.00405e40
lea edx, [esp + 0x158]
push edx
lea eax, [esp + 0x490]
push eax
call fcn.004045c0
mov byte [esp + 0x600], 0x1b
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
cmp dword [esp + 0x16c], 8
mov ecx, dword [esp + 0x158]
jae 0x40a685
lea ecx, [esp + 0x158]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
lea esi, [esp + 0x158]
call fcn.004016b0
lea ecx, [esp + 0x88]
mov byte [esp + 0x600], 0xf
call fcn.00408a30
lea ecx, [esp + 0x11c]
call fcn.00401050
mov byte [esp + 0x600], 2
mov esi, vtable.CDVMDeviceInfo.0
lea ecx, [esp + 0x48c]
mov dword [esp + 0x48c], esi
call fcn.00404fe0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x600], 1
call fcn.00408a30
lea ecx, [esp + 0xfc]
call fcn.00401050
mov dword [esp + 0x600], 0xffffffff
lea ecx, [esp + 0x32c]
mov dword [esp + 0x32c], 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 0x40a75d
push str.ScannerDriver_Open_Failed.
mov edx, 0x78
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
lea ecx, [edx - 0x73]
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
mov dword [esp + 0x1c], 0x1e
jmp 0x40a9af
mov dword [esp + 0x20], vtable.CES2TextFileIO.0
mov dword [esp + 0x600], 0x1c
xor ecx, ecx
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], cx
sub esp, 0x1c
mov byte [esp + 0x61c], 0x1d
mov esi, esp
mov edx, edi
mov dword [esp + 0x40], esp
call fcn.00401ff0
lea ecx, [esp + 0xd0]
call fcn.00401750
cmp eax, ebx
je 0x40a96c
cmp dword [esp + 0xc4], ebx
je 0x40a96c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.00408d30
mov eax, str.kDrvSerializedAllValues
lea ecx, [esp + 0x13c]
mov byte [esp + 0x600], 0x1e
call fcn.00401f00
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x140]
lea esi, [esp + 0xd4]
mov byte [esp + 0x604], 0x1f
call fcn.00407f70
mov edi, eax
call fcn.00408320
lea esi, [esp + 0x13c]
mov byte [esp + 0x600], 0x1e
call fcn.004016b0
lea edx, [esp + 0xb4]
lea ecx, [esp + 0xd0]
call fcn.004195e0
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
cmp dword [esp + 0xc8], 8
mov ecx, dword [esp + 0xb4]
jae 0x40a866
lea ecx, [esp + 0xb4]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x48]
push str.kDrvSerializedAllValues
call eax
cmp eax, ebx
je 0x40a8be
push str.ScannerSettingFile_SetValueForKey_Failed.
mov edx, 0x83
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
lea ecx, [edx - 0x7e]
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
lea ecx, [esp + 0xd0]
mov dword [esp + 0x1c], 0x14
mov byte [esp + 0x600], 0x1d
call fcn.00408a30
jmp 0x40a998
lea ecx, [esp + 0xd0]
mov byte [esp + 0x600], 0x1d
call fcn.00408a30
lea esi, [esp + 0xb4]
call fcn.004016b0
mov dword [esp + 0x600], 0xffffffff
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 + 0x30]
call eax
test eax, eax
je 0x40a932
push str.ScannerDriver_Scan_Failed.
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
mov edx, 0x87
mov ecx, 5
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
mov dword [esp + 0x1c], 0x28
jmp 0x40a9af
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 + 0x1c]
call eax
test al, al
je 0x40a9af
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 1
call esi
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x40a950
jmp 0x40a9af
push str.ScannerSettingFile_ReadFileToString___Failed.
mov edx, 0x7e
push str.ESAStartScanningCommand.cpp
push str.CESAStartScanningCommand::Execute
lea ecx, [edx - 0x79]
mov eax, 0x441928
call fcn.0040e050
add esp, 0xc
mov dword [esp + 0x1c], 0x14
lea esi, [esp + 0xb4]
call fcn.004016b0
mov dword [esp + 0x600], 0xffffffff
mov ecx, dword [esp + 0x1c]
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 + 0x5f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5e0]
xor ecx, esp
call fcn.0042b0b1
mov esp, ebp
pop ebp
ret