Function at 0x40fb20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46847b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68c
cmp dword [0x491098], 4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
ja 0x40fb5c
push str.Ati_Polling_Application_Client_does_not_support_9x__ME_and_NT4._EXITing
call fcn.00411060
jmp 0x410522
call fcn.00427dc0
test eax, eax
je 0x40fb7d
call fcn.0040a640
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x491098], 6
jbe 0x40fb9b
call fcn.00422ad0
cmp eax, 4
jne 0x40fb9b
push 0x888
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x491164]
xor edi, edi
cmp eax, edi
jne 0x40fbde
call fcn.0040e100
test eax, eax
je 0x410525
push 1
push 0x491180
push 1
push edi
push str.PollSt
push edi
call fcn.004227c0
add esp, 0x18
test eax, eax
jne 0x40fbf6
push str.Failed_to_set_log_file
call fcn.00411060
jmp 0x410522
call fcn.0040ac30
test eax, eax
jne 0x40fbb3
push str.AtiLogonEvent__Ati_Hot_Key_Poller_Service_is_not_running_n
call fcn.00411060
jmp 0x410522
cmp dword [0x4900e8], edi
je 0x40fc11
mov eax, dword [0x491098]
push eax
push str.WinMainClient_starts_with_OS_version__d
call fcn.0040aac0
add esp, 8
mov ecx, dword [ebp + 8]
push 0x40ef10
push str.ATI_VIDEO_BIOS_WINDOW_CLASS
push str.ATI_video_bios_poller_client
push ecx
call fcn.0040dce0
add esp, 0x10
test eax, eax
je 0x410525
mov eax, dword [0x491098]
or ebx, 0xffffffff
cmp eax, 8
mov dword [0x4900f0], edi
mov esi, ebx
jb 0x40fd7a
mov ecx, 0x491a60
call fcn.00431e40
test eax, eax
jne 0x40fc66
cmp dword [0x4900e8], edi
jmp 0x40ff17
mov esi, dword [0x492b40]
push esi
mov ecx, 0x491a60
call fcn.0042d280
cmp dword [eax + 0x15c], edi
je 0x40fd29
push esi
mov ecx, 0x491a60
call fcn.0042d280
cmp dword [eax + 0x160], edi
jne 0x40fd29
call fcn.0040aad0
push eax
call fcn.00427440
add esp, 4
test eax, eax
jne 0x40fcc4
call fcn.0040a740
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x491a60
call fcn.0042fcd0
test eax, 0x40000
mov dword [0x49109c], eax
jne 0x40fce5
cmp dword [0x4900e8], edi
jmp 0x40ff5f
push edi
mov ecx, 0x491a60
mov dword [0x49105c], ebx
mov dword [0x491060], ebx
mov dword [0x491064], ebx
mov dword [0x491068], ebx
mov dword [0x49106c], edi
call fcn.0042e950
test eax, eax
jne 0x40fd33
cmp dword [0x4900e8], edi
je 0x40fd33
push str.WinMainClient_failed_to_initialize_DPPE
call fcn.0040aac0
add esp, 4
jmp 0x40fd33
or dword [0x49109c], 0x40120
mov ecx, 0x491a60
call fcn.0042e900
test eax, eax
jne 0x40fd58
cmp dword [0x4900e8], edi
je 0x40fd62
push str.WinMainClient_failed_to_initialize_PowerXpress
call fcn.0040aac0
add esp, 4
jmp 0x40fd62
mov dword [0x491078], 1
mov ecx, 0x491a60
call fcn.0042d710
mov esi, eax
cmp esi, dword [0x492b3c]
jae 0x4104f6
cmp dword [0x491098], 8
sbb ebx, ebx
and ebx, 6
add ebx, 4
je 0x40fede
nop
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x698]
rep stosd dword es:[edi], eax
cmp dword [0x491098], 7
mov eax, dword [0x491164]
mov dword [ebp - 0x68c], eax
mov dword [ebp - 0x690], 9
ja 0x40fdc5
mov dword [ebp - 0x688], eax
jmp 0x40fe0d
mov edx, dword [0x49109c]
push esi
mov ecx, 0x491a60
mov dword [ebp - 0x680], edx
call fcn.0042d280
mov eax, dword [eax + 0x44]
push esi
mov ecx, 0x491a60
mov dword [ebp - 0x688], eax
mov dword [ebp - 0x684], esi
call fcn.00430450
test eax, eax
je 0x4104f6
push 0
mov ecx, eax
call fcn.00437340
mov dword [ebp - 0x67c], eax
xor eax, eax
mov ecx, 0xb
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
push 1
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x698]
push edx
push str..pipeExtEventPipe_Service
call fcn.00409c00
add esp, 0x10
test eax, eax
jne 0x40fe76
mov eax, dword [0x4900e8]
test eax, eax
je 0x40fe52
push str..pipeExtEventPipe_Service
push str.WinMainClient_failed_CallAtiNamedPipe._EXTEVENT_REQTYPE_SESSION_SETUP__s.
call fcn.0040aac0
add esp, 8
mov eax, dword [0x491164]
test eax, eax
ja 0x4104f6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jne 0x40fd90
jmp 0x4104f6
cmp dword [0x491098], 8
jb 0x40feeb
mov ecx, dword [ebp - 0x50]
mov eax, 1
cmp ecx, eax
jne 0x40fea9
mov ecx, dword [0x4900e8]
test ecx, ecx
je 0x40fea2
push str.Client:_Service_is_not_complete_state
call fcn.0040aac0
add esp, 4
mov dword [0x491168], eax
jmp 0x40febf
mov eax, dword [0x4900e8]
test eax, eax
je 0x40febf
push str.Client:_Service_is_in_complete_state
call fcn.0040aac0
add esp, 4
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dword [0x4929e8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
mov dword [0x4929ec], ecx
je 0x40fede
or dword [0x49116c], 0x10
cmp dword [0x491098], 8
jae 0x40ff77
mov eax, dword [ebp - 0x48]
test eax, eax
mov edx, dword [ebp - 0x50]
mov dword [0x49109c], edx
je 0x40ff02
or dword [0x49116c], 0x10
mov ecx, 0x491a60
call fcn.00431e40
test eax, eax
jne 0x40ff42
mov eax, dword [0x4900e8]
test eax, eax
je 0x410525
push str..pipeExtEventPipe_Service
push str.WinMainClient_failed_CallAtiNamedPipe._EXTEVENT_REQTYPE_SESSION_SETUP__s.
call fcn.0040aac0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x491a60
call fcn.0042fcd0
test eax, 0x40000
mov dword [0x49109c], eax
jne 0x40ff7c
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104f6
push str.Client:_SOFTWARE_BUG_ExtEvent_MultiSession_Handle_not_supported._EXIT
call fcn.0040aac0
add esp, 4
jmp 0x4104f6
mov eax, dword [0x49109c]
mov ecx, dword [0x4900e8]
test ecx, ecx
je 0x40ff94
push eax
push str.WinMainClient_g_ulSupportedFeatures_is_0x_x
call fcn.0040aac0
add esp, 8
mov eax, dword [0x492b40]
push eax
mov ecx, 0x491a60
call fcn.0042d280
mov ecx, dword [eax + 0x160]
test ecx, ecx
jne 0x40ffb3
call fcn.0040ad60
push 1
push 0x491180
push 1
push 0
push str.Pollog
push 0
call fcn.004227c0
mov eax, dword [0x4900e8]
add esp, 0x18
test eax, eax
je 0x40ffe9
mov eax, dword [0x4910cc]
push eax
push str.WinMainClient_g_bAutoDisplayEnabled_is__d
call fcn.0040aac0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
mov dword [0x49115c], 1
call fcn.0040b680
add esp, 4
test eax, eax
je 0x4104f6
push 0x2cc
mov dword [0x4900ec], 3
mov dword [ebp - 4], 0
call fcn.0045e556
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x410041
call fcn.0042c490
mov ecx, eax
mov dword [0x491170], ecx
jmp 0x410061
xor ecx, ecx
mov dword [0x491170], ecx
jmp 0x410061
test ecx, ecx
mov dword [ebp - 4], 0xffffffff
jne 0x41008b
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104f6
push str.ATI_poll_Client_g_pSessionPipe_memory_alloc_failed.
call fcn.0040aac0
add esp, 4
jmp 0x4104f6
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
jne 0x4100b3
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104f6
push str.ATI_poll_Client_sessionPipe_creation_failed.
call fcn.0040aac0
add esp, 4
jmp 0x4104f6
mov ecx, 0x4912b0
call fcn.004458c0
test al, al
jne 0x4100e0
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104f6
push str.ATI_poll_Client_oem_event_callback_manager_initilization_failed.
call fcn.0040aac0
add esp, 4
jmp 0x4104f6
mov eax, dword [0x493bec]
test eax, eax
jne 0x410117
lea esp, [esp]
mov eax, dword [0x4900e8]
test eax, eax
je 0x410106
push str.WinMainClient_pipe_not_ready_yet.
call fcn.0040aac0
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x493bec]
test eax, eax
je 0x4100f0
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x698]
rep stosd dword es:[edi], eax
mov eax, dword [0x491164]
mov dword [ebp - 0x688], eax
xor eax, eax
mov ecx, 0xb
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
push 1
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x698]
push edx
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x690], 0x1e
call fcn.00409c00
add esp, 0x10
test eax, eax
jne 0x410189
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104f6
push str..pipeExtEventPipe_Service
push str.WinMainClient_failed_CallAtiNamedPipe_EXTEVENT_REQTYPE_SESSION_READY__s.
call fcn.0040aac0
add esp, 8
jmp 0x4104f6
call fcn.0040f680
test eax, eax
je 0x4104f6
mov ecx, dword [0x4910b8]
test ecx, ecx
je 0x4101c2
lea eax, [ebp - 0x50]
push eax
call fcn.00402070
mov ecx, dword [0x4910b0]
push 0
push 0x5dc
push 0x14d1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x491164]
xor eax, eax
push 1
push eax
mov ecx, 0x188
lea edi, [ebp - 0x698]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x698]
push eax
mov ebx, 0x8001
mov esi, 0x620
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x698], ebx
mov dword [ebp - 0x694], esi
mov dword [ebp - 0x690], 0x30
mov dword [ebp - 0x688], edx
call fcn.00409c00
add esp, 0x10
test eax, eax
jne 0x410237
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104f6
push str.WinMainClient:_EXTEVENT_REQTYPE_CLT_GETCOMCALLBACKS___CallAtiNamedPipe_failed
call fcn.0040aac0
add esp, 4
jmp 0x4104f6
mov eax, dword [0x4910b8]
test eax, eax
je 0x41031a
mov dword [ebp - 0x14], 0
jmp 0x410250
xor eax, eax
push 1
mov ecx, 0x188
lea edi, [ebp - 0x698]
rep stosd dword es:[edi], eax
mov ecx, dword [0x491164]
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x698]
push eax
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x698], ebx
mov dword [ebp - 0x694], esi
mov dword [ebp - 0x690], 0x32
mov dword [ebp - 0x688], ecx
call fcn.00409c00
add esp, 0x10
test eax, eax
je 0x410218
cmp dword [ebp - 0x34], 1
je 0x41031a
mov eax, dword [0x4910b8]
mov ecx, dword [eax + 0x128]
test ecx, ecx
je 0x41030a
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], edx
push ecx
mov ecx, dword [eax + 0x128]
call fcn.00408460
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, 4
mov dword [ebp - 0x14], eax
jb 0x410250
cmp dword [0x491098], 6
jbe 0x410377
mov edx, dword [0x4929e0]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x40ab70
mov dword [ebp - 0x14], 0
call fcn.00423c00
add esp, 0x14
test eax, eax
jne 0x410370
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinMainClient_failed_to_CreateThread_RegisterWTSNotificationThread_err_d.
call fcn.0040aac0
add esp, 8
jmp 0x4104f6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x491098], 8
jb 0x410430
call fcn.00409f90
call fcn.0044a510
mov edx, dword [0x490104]
mov eax, dword [0x490108]
push 0x4912a0
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x49010c]
mov dword [ecx + 4], eax
mov eax, dword [0x490110]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [0x4910b0]
push ecx
call fcn.0044eb10
test eax, eax
jne 0x4103df
mov eax, dword [0x4900e8]
test eax, eax
je 0x4103df
push str.Ati_RegisterDeviceInterface_failed_n
call fcn.0040aac0
add esp, 4
mov eax, dword [0x490114]
mov ecx, dword [0x490118]
push 0x4912a4
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x49011c]
mov dword [edx + 4], ecx
mov ecx, dword [0x490120]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [0x4910b0]
push edx
call fcn.0044eb10
test eax, eax
jne 0x410430
mov eax, dword [0x4900e8]
test eax, eax
je 0x410430
push str.Ati_RegisterDeviceInterface_failed_n
call fcn.0040aac0
add esp, 4
call fcn.00428c40
call fcn.0044a880
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call esi
test eax, eax
je 0x41047c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea ecx, [ebp - 0x78]
push ecx
call edi
lea edx, [ebp - 0x78]
push edx
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call esi
test eax, eax
jne 0x410460
cmp dword [0x491098], 8
jb 0x4104d4
call fcn.00409fb0
mov ecx, dword [0x4912a0]
push ecx
call fcn.0044eb90
test eax, eax
jne 0x4104b0
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104b0
push str.Ati_UnRegisterDeviceInterface_failed_n
call fcn.0040aac0
add esp, 4
push 0x4912a4
call fcn.0044eb90
test eax, eax
jne 0x4104d4
mov eax, dword [0x4900e8]
test eax, eax
je 0x4104d4
push str.Ati_RegisterDeviceInterface_failed_n
call fcn.0040aac0
add esp, 4
call fcn.0044a8b0
mov edx, dword [0x4910b0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4104f6
mov eax, dword [0x4910b0]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x4900ec], 2
mov dword [0x4910d4], 0
call fcn.0040c870
mov eax, dword [0x4900e8]
test eax, eax
je 0x410525
push str.ATI_poll_Client_exits.
call fcn.0040aac0
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret