Function at 0x434550
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00434980
xor ebx, ebx
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], bx
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xb4]
push 0x40
stosw word es:[edi], ax
lea eax, [esp + 0x34]
mov dword [esi + 0x90], ebx
push eax
push 0xffffffffffffffff
push ecx
push 1
push ebx
call ebp
xor edx, edx
lea eax, [esp + 0x30]
mov dword [esp + 0x24], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x14]
push edx
push 1
xor ecx, ecx
push eax
push 0x15
mov dword [esp + 0x28], ecx
push ebx
push 0x49dee8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 0x49dea8
call dword [sym.imp.ole32.dll_CoCreateInstanceEx]
test eax, eax
jne 0x434674
cmp dword [esp + 0x1c], ebx
jne 0x434674
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x434674
lea ecx, [esp + 0x10]
mov dword [esi + 0x20], eax
push ecx
call fcn.00422130
test eax, eax
jne 0x434674
push str.scanner_object
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x434627
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x434629
xor eax, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
lea edi, [esi + 0x30]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
push edi
push 0x49b760
push edx
push eax
call fcn.004347b0
test eax, eax
jne 0x434674
push str.event
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x20]
mov edx, dword [edi]
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x164]
mov dword [esi + 0x90], 1
cmp dword [esi + 0x90], ebx
je 0x434794
cmp dword [0x4f20b0], ebx
je 0x434794
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x30]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push ecx
push 1
push ebx
mov dword [esi + 0x90], ebx
call ebp
xor edx, edx
lea eax, [esp + 0x30]
mov dword [esp + 0x20], edx
xor ecx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x14]
push edx
push 1
mov dword [esp + 0x1c], ecx
push eax
push 0x15
mov dword [esp + 0x28], ecx
push ebx
push 0x49dee8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 0x49dea8
call dword [sym.imp.ole32.dll_CoCreateInstanceEx]
test eax, eax
jne 0x434794
cmp dword [esp + 0x1c], ebx
jne 0x434794
cmp dword [esp + 0x18], ebx
je 0x434794
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.scanner_2_object
call edi
push str.Second_scanner_OK
call edi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x24], ecx
call fcn.00422130
test eax, eax
jne 0x434794
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
je 0x434752
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x434754
xor eax, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
lea edi, [esi + 0x34]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
push edi
push 0x49b760
push edx
push eax
call fcn.004347b0
test eax, eax
jne 0x434794
mov eax, dword [esi + 0x24]
mov edx, dword [edi]
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x164]
mov dword [esi + 0x90], 1
mov eax, dword [esi + 0x90]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8