Function at 0x41020ab0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41148d91
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x411bade8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
call fcn.41040000
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41020b00
push 0x80004005
call fcn.410011f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp - 4], edi
je 0x41020e9a
dec eax
jne 0x41020f5a
push str.DLL_PROCESS_ATTACH
push 0x1000002
push 0x14b
push str.TPAutoConnDll.cpp
call fcn.41002c10
push edi
lea ecx, [ebp - 0x224]
push ecx
push esi
mov dword [0x411bc380], esi
mov dword [ebp - 0x224], esi
call fcn.41022cc0
mov edx, dword [ebp - 0x224]
add esp, 0x1c
mov dword [0x411bc370], edx
call fcn.41015070
test al, al
jne 0x41020bb8
mov dword [str.GlobalTPC_Req1], 0x411638f8
mov dword [str.GlobalTPC_Req2], 0x411638e4
mov dword [str.GlobalTPC_Req3], 0x411638d0
mov dword [str.GlobalTPC_Ack1], 0x411638bc
mov dword [str.GlobalTPC_Ack2__.8x], 0x411638a0
mov dword [str.GlobalTPC_SHM], 0x41163890
mov dword [str.GlobalTPC_ENUMSHM], 0x41163874
push 0x4115f338
push esi
push 0x411b6440
mov ecx, 0x411bc384
call fcn.41015fb0
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov esi, dword [ebp - 0x224]
call fcn.4104280e
mov dword [eax + 0xc], esi
lea eax, [ebp - 0x228]
push eax
call fcn.41020510
mov ecx, dword [eax]
push ecx
push 0x41157f9c
push 0x1000001
push 0x164
push str.TPAutoConnDll.cpp
mov byte [ebp - 4], 1
call fcn.41002c10
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41020c37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push edi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41020dd6
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x220]
call fcn.41002090
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.410192a0
mov ecx, dword [ebp - 0x220]
cmp dword [ecx - 0xc], edi
jl 0x41020cef
push str.tpautoconnect.exe
push ecx
call fcn.4112f2f9
mov ecx, dword [ebp - 0x220]
add esp, 8
cmp eax, edi
je 0x41020cb5
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x41020cb5
push ecx
push str.TPSvc.dll_is_called_by_the_Client_module___s_.
push 0x1000001
xor bl, bl
push 0x184
jmp 0x41020cff
cmp dword [ecx - 0xc], edi
jl 0x41020cef
push str.tpautoconnsvc.exe
push ecx
call fcn.4112f2f9
mov ecx, dword [ebp - 0x220]
add esp, 8
cmp eax, edi
je 0x41020cef
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x41020cef
push ecx
push str.TPSvc.dll_is_called_by_the_Service_module___s_.
push 0x1000001
mov bl, 1
push 0x18f
jmp 0x41020cff
push ecx
push str.TPSvc.dll_is_called_by_the_module___s_.
push 0x1000001
push 0x194
push str.TPAutoConnDll.cpp
call fcn.41002c10
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41020d32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41020e46
push str.Initialization_of_the_WMI_needed._Starting_now.
push 0x1000001
push 0x1a1
push str.TPAutoConnDll.cpp
mov byte [ebp - 4], 3
call fcn.41002c10
add esp, 0x10
call fcn.41030d50
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp eax, edi
jne 0x41020d70
push str.Creating_WMI_provider_instance_CTPACWMI::GetInstance___failed_
call esi
call fcn.410312f0
cmp eax, edi
jne 0x41020d80
push str.Creating_WMI_provider_instance_CTPACWMITList::GetInstance__failed_
call esi
call fcn.41031880
cmp eax, edi
jne 0x41020d90
push str.Creating_WMI_provider_instance_CTPACWMITCreateList::GetInstance___failed_
call esi
call fcn.41031be0
cmp eax, edi
jne 0x41020da0
push str.Creating_WMI_provider_instance_CTPACWMIPrinters::GetInstance___failed_
call esi
push str.TPAutoConnDLL
call dword [sym.imp.framedyn.dll_public:_static_int___stdcall_CWbemProviderGlue::FrameworkLoginDLL_unsigned_short_int_const__]
cmp eax, edi
jne 0x41020df7
push str.Initialization_of_the_WMI_failed__1_.
push 0x2000001
push 0x1b3
push str.TPAutoConnDll.cpp
mov dword [0x411b643c], edi
call fcn.41002c10
mov dword [ebp - 4], edi
jmp 0x41020e65
push str.Cant_retrieve_the_module_name_that_is_calling_this_TPSvc.dll.
push 0x2000001
push 0x199
push str.TPAutoConnDll.cpp
call fcn.41002c10
add esp, 0x10
jmp 0x41020d3a
push str.Initialization_of_the_WMI_succeeded.
push 0x1000001
push 0x1b7
push str.TPAutoConnDll.cpp
call fcn.41002c10
mov dword [ebp - 4], edi
jmp 0x41020e65
push str.Initialization_of_the_WMI_not_needed._Skipping_it.
push 0x1000001
push 0x1c5
push str.TPAutoConnDll.cpp
mov dword [0x411b643c], edi
call fcn.41002c10
add esp, 0x10
push str.Creating_SHM...
push 0x1000001
push 0x1cc
push str.TPAutoConnDll.cpp
call fcn.41002c10
add esp, 0x10
call fcn.4101a260
mov dword [0x411bc374], edi
mov dword [0x411bc32c], edi
jmp 0x41020f5a
mov ecx, 0x411bc384
call fcn.41016700
push str.closing_SHM_...
push 0x1000002
push 0x1e2
push str.TPAutoConnDll.cpp
call fcn.41002c10
add esp, 0x10
call fcn.41014e60
call fcn.41030dd0
call fcn.41031370
call fcn.41031900
call fcn.41031c60
cmp dword [0x411bc374], edi
je 0x41020f02
mov ecx, dword [0x411bc32c]
cmp ecx, edi
jne 0x41020f0c
push 0x1ea
push str.TPAutoConnDll.cpp
push str._g_fIsService__pthePrinterList___NULL
call fcn.41002b10
add esp, 0xc
mov ecx, dword [0x411bc32c]
cmp ecx, edi
je 0x41020f19
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
mov dword [0x411bc32c], edi
call fcn.41037250
cmp dword [0x411bc3d8], edi
je 0x41020f5a
push str.old_translation_list_will_be_deleted
push 0x1000001
push 0x1f9
push str.TPAutoConnDll.cpp
call fcn.41002c10
mov ecx, dword [0x411bc3d8]
add esp, 0x10
cmp ecx, edi
je 0x41020f54
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0x411bc3d8], edi
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41020f83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.4112e1a6
mov esp, ebp
pop ebp
ret 0xc