Function at 0x401ec0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x403a29
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x40603c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov eax, dword [0x40603c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0
call fcn.00401280
mov eax, dword [esp + 0x28]
mov esi, 8
cmp dword [esp + 0x3c], esi
jae 0x401f1f
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401f22
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x24]
jne 0x401f4c
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x4020e5
push str.__StiDevice:_1__StiEvent:_2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x3c], esi
mov edi, dword [esp + 0x28]
jae 0x401f65
lea edi, [esp + 0x28]
lea eax, [esp + 0x10]
push eax
call section..text
lea ecx, [esp + 0x18]
push ecx
mov edi, str.Adobe_Bridge_CS4
mov byte [esp + 0x60], 1
call section..text
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x60], 2
call section..text
lea eax, [esp + 0x14]
push eax
mov edi, str.sti.dll_0
mov byte [esp + 0x60], 3
call section..text
mov byte [esp + 0x5c], 4
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x20]
push ecx
push 0x4041d0
push 4
push 0
push 0x4041c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402063
mov eax, dword [0x4041e4]
mov edx, dword [0x4041e0]
mov ecx, dword [0x4041e8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x40], edx
mov edx, dword [0x4041ec]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
je 0x40200f
mov edi, dword [eax]
jmp 0x402011
xor edi, edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40201d
mov esi, dword [eax]
jmp 0x40201f
xor esi, esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40202b
mov edx, dword [eax]
jmp 0x40202d
xor edx, edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402039
mov ecx, dword [eax]
jmp 0x40203b
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov ebp, dword [eax]
push edi
push esi
push edx
mov edx, dword [ebp + 0x20]
push ecx
lea ecx, [esp + 0x50]
push ecx
push 0
push 2
push eax
call edx
test eax, eax
jge 0x40209d
push str.Failed_to_register_for_WIA_sti_proxy_event
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edi, [esp + 0x14]
call fcn.00401150
lea edi, [esp + 0x1c]
call fcn.00401150
lea edi, [esp + 0x18]
call fcn.00401150
lea edi, [esp + 0x10]
call fcn.00401150
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x4020e5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4020ad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea edi, [esp + 0x14]
call fcn.00401150
lea edi, [esp + 0x1c]
call fcn.00401150
lea edi, [esp + 0x18]
call fcn.00401150
lea edi, [esp + 0x10]
call fcn.00401150
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00402f2c
add esp, 0x50
ret