Function at 0x46c130
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55543a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__tid:_d__CloseWnd
call fcn.00492250
add esp, 8
mov ecx, edi
push str.tray_quit
push str.Time
call fcn.004793b0
call fcn.0046f410
mov ecx, eax
call fcn.00459fd0
push 0
push dword [edi + 4]
push dword [edi + 0x3c]
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
call fcn.004457b0
mov ecx, eax
call fcn.0044bc80
mov eax, dword [edi + 0x1b0]
test eax, eax
je 0x46c1be
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [edi + 0x28c]
call fcn.00430f10
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x46c1e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x20c], 0
mov ecx, dword [edi + 0x208]
test ecx, ecx
je 0x46c1f3
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x1b8]
call fcn.004549f0
xor ebx, ebx
call fcn.00430a50
test eax, eax
je 0x46c701
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [ebx + 0x5c4760]
push str.LdsSoftMgrInstWnd__s
push eax
call fcn.0042de00
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x46c25b
push 0x168
push 0x168
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46c27a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, 4
jb 0x46c200
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x46c701
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x10]
push 0x574270
call fcn.0042d870
test al, al
jne 0x46c2c7
push 7
push 0x574270
lea ecx, [ebp - 0x10]
call fcn.00429710
mov dword [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
call fcn.00433570
add esp, 4
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c2fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__tid:_d__CPhoneClient_Uninit
call fcn.00492250
mov eax, dword [edi + 0x28]
add esp, 8
test eax, eax
je 0x46c33f
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
call fcn.004ac260
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x46c33f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x28], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x46c360
call fcn.004a7fb0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x46c360
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x158]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x46c3a5
push dword [eax + 4]
call esi
test eax, eax
je 0x46c38a
mov eax, dword [edi + 0x158]
push dword [eax + 4]
call ebx
mov ecx, dword [edi + 0x158]
test ecx, ecx
je 0x46c39b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x158], 0
mov eax, dword [edi + 0x15c]
test eax, eax
je 0x46c3de
push dword [eax + 4]
call esi
test eax, eax
je 0x46c3c3
mov eax, dword [edi + 0x15c]
push dword [eax + 4]
call ebx
mov ecx, dword [edi + 0x15c]
test ecx, ecx
je 0x46c3d4
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x15c], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x46c413
push dword [eax + 4]
call esi
test eax, eax
je 0x46c3fe
mov ecx, dword [edi + 0x30]
call fcn.004a4670
mov eax, dword [edi + 0x30]
push dword [eax + 4]
call ebx
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x46c40c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x30], 0
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x3e8
push dword [edi + 4]
call esi
push 0
push 0x576704
push 0
call fcn.0046f690
mov ecx, eax
call fcn.004931b0
push 0x3e9
push dword [edi + 4]
call esi
mov eax, dword [0x5cc5e4]
test al, 1
jne 0x46c478
or eax, 1
mov dword [0x5cc5e4], eax
mov dword [ebp - 4], 6
mov ecx, 0x5cc5b4
call fcn.00453150
push 0x568f40
call fcn.004da3a8
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x5cc5b4
call fcn.00454300
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46c4ba
push dword [edi + 4]
call sub.WTSAPI32.dll_WTSUnRegisterSessionNotification
xor ecx, ecx
test eax, eax
jne 0x46c4a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__tid:_d__UnRegisterSessionNotification_error:_d
call fcn.00492250
add esp, 0xc
call fcn.0046f690
mov ecx, eax
call fcn.004930d0
lea ecx, [edi + 0x48]
call fcn.004ad6a0
lea eax, [edi + 0x164]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x46c511
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x46c4ff
push dword [eax + 4]
call ebx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x46c4ff
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.0046b220
mov esi, dword [ebp - 0x10]
cmp esi, dword [edi]
jne 0x46c4e5
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 0x164]
call fcn.0047eac0
push dword [edi + 4]
call ebx
lea ecx, [edi + 0x298]
call fcn.00450f30
lea ecx, [edi + 0xc4]
call fcn.004870c0
lea ecx, [edi + 0x228]
call fcn.00463db0
call fcn.0042df90
mov ecx, eax
call fcn.0044ac30
cmp dword [0x5cb884], 0
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x46c59d
push 0x5c313c
call esi
mov esi, dword [0x5cb884]
test esi, esi
je 0x46c590
mov ecx, esi
call fcn.0044a240
push 0x14
push esi
call fcn.004d9fad
add esp, 8
mov dword [0x5cb884], 0
push 0x5c313c
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push str.Q360DrvMgrMain
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46c5cd
push 0x168
push 0x168
push 0x10
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, edi
call fcn.0047a8c0
mov eax, dword [0x5cd680]
test al, 1
jne 0x46c600
or eax, 1
mov dword [0x5cd680], eax
mov dword [ebp - 4], 7
push 0x569270
call fcn.004da3a8
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x5cd684]
mov dword [0x5cd684], 0
test eax, eax
je 0x46c61a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x5cc5e4]
test al, 1
jne 0x46c650
or eax, 1
mov dword [0x5cc5e4], eax
mov dword [ebp - 4], 8
mov ecx, 0x5cc5b4
call fcn.00453150
push 0x568f40
call fcn.004da3a8
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x5cc5b4
call fcn.00454c20
cmp dword [0x5cd674], 0
je 0x46c697
push 0x5c47a4
call esi
mov esi, dword [0x5cd674]
test esi, esi
je 0x46c690
mov ecx, esi
call fcn.00455770
push 1
push esi
call fcn.004d9fad
add esp, 8
mov dword [0x5cd674], 0
push 0x5c47a4
call ebx
cmp dword [0x5cd624], 0
je 0x46c6d8
push 0x5c45c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x5cd624]
test esi, esi
je 0x46c6d1
mov ecx, esi
call fcn.00488cb0
push 0x18
push esi
call fcn.004d9fad
add esp, 8
mov dword [0x5cd624], 0
push 0x5c45c4
call ebx
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004225f0
int3