Function at 0x40feb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47056b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68c
cmp dword [0x49b638], 4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
ja 0x40feec
push str.Ati_Polling_Application_Client_does_not_support_9x__ME_and_NT4._EXITing
call fcn.004113d0
jmp 0x4108b2
call fcn.00427760
test eax, eax
je 0x40ff0d
call fcn.0040a840
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 [0x49b638], 6
jbe 0x40ff2b
call fcn.004232c0
cmp eax, 4
jne 0x40ff2b
push 0x888
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x49b704]
xor edi, edi
cmp eax, edi
jne 0x40ff6e
call fcn.0040e4c0
test eax, eax
je 0x4108b5
push 1
push 0x49b720
push 1
push edi
push str.PollSt
push edi
call fcn.00422fd0
add esp, 0x18
test eax, eax
jne 0x40ff86
push str.Failed_to_set_log_file
call fcn.004113d0
jmp 0x4108b2
call fcn.0040ae40
test eax, eax
jne 0x40ff43
push str.AtiLogonEvent__Ati_Hot_Key_Poller_Service_is_not_running_n
call fcn.004113d0
jmp 0x4108b2
cmp dword [0x49a0e8], edi
je 0x40ffa1
mov eax, dword [0x49b638]
push eax
push str.WinMainClient_starts_with_OS_version__d
call fcn.0040acd0
add esp, 8
mov ecx, dword [ebp + 8]
push 0x40f2a0
push str.ATI_VIDEO_BIOS_WINDOW_CLASS
push str.ATI_video_bios_poller_client
push ecx
call fcn.0040e0c0
add esp, 0x10
test eax, eax
je 0x4108b5
mov eax, dword [0x49b638]
or ebx, 0xffffffff
cmp eax, 8
mov dword [0x49a0f0], edi
mov esi, ebx
jb 0x41010a
mov ecx, 0x49c088
call fcn.004325d0
test eax, eax
jne 0x40fff6
cmp dword [0x49a0e8], edi
jmp 0x4102a7
mov esi, dword [0x4a8130]
push esi
mov ecx, 0x49c088
call fcn.0042d920
cmp dword [eax + 0x15c], edi
je 0x4100b9
push esi
mov ecx, 0x49c088
call fcn.0042d920
cmp dword [eax + 0x160], edi
jne 0x4100b9
call fcn.0040ace0
push eax
call fcn.00426ca0
add esp, 4
test eax, eax
jne 0x410054
call fcn.0040a950
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, 0x49c088
call fcn.00430440
test eax, 0x40000
mov dword [0x49b63c], eax
jne 0x410075
cmp dword [0x49a0e8], edi
jmp 0x4102ef
push edi
mov ecx, 0x49c088
mov dword [0x49b5fc], ebx
mov dword [0x49b600], ebx
mov dword [0x49b604], ebx
mov dword [0x49b608], ebx
mov dword [0x49b60c], edi
call fcn.0042f0d0
test eax, eax
jne 0x4100c3
cmp dword [0x49a0e8], edi
je 0x4100c3
push str.WinMainClient_failed_to_initialize_DPPE
call fcn.0040acd0
add esp, 4
jmp 0x4100c3
or dword [0x49b63c], 0x40120
mov ecx, 0x49c088
call fcn.0042f080
test eax, eax
jne 0x4100e8
cmp dword [0x49a0e8], edi
je 0x4100f2
push str.WinMainClient_failed_to_initialize_PowerXpress
call fcn.0040acd0
add esp, 4
jmp 0x4100f2
mov dword [0x49b618], 1
mov ecx, 0x49c088
call fcn.0042de70
mov esi, eax
cmp esi, dword [0x4a812c]
jae 0x410886
cmp dword [0x49b638], 8
sbb ebx, ebx
and ebx, 6
add ebx, 4
je 0x41026e
nop
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x698]
rep stosd dword es:[edi], eax
cmp dword [0x49b638], 7
mov eax, dword [0x49b704]
mov dword [ebp - 0x68c], eax
mov dword [ebp - 0x690], 9
ja 0x410155
mov dword [ebp - 0x688], eax
jmp 0x41019d
mov edx, dword [0x49b63c]
push esi
mov ecx, 0x49c088
mov dword [ebp - 0x680], edx
call fcn.0042d920
mov eax, dword [eax + 0x44]
push esi
mov ecx, 0x49c088
mov dword [ebp - 0x688], eax
mov dword [ebp - 0x684], esi
call fcn.00430bd0
test eax, eax
je 0x410886
push 0
mov ecx, eax
call fcn.00437a80
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.00409e90
add esp, 0x10
test eax, eax
jne 0x410206
mov eax, dword [0x49a0e8]
test eax, eax
je 0x4101e2
push str..pipeExtEventPipe_Service
push str.WinMainClient_failed_CallAtiNamedPipe._EXTEVENT_REQTYPE_SESSION_SETUP__s.
call fcn.0040acd0
add esp, 8
mov eax, dword [0x49b704]
test eax, eax
ja 0x410886
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jne 0x410120
jmp 0x410886
cmp dword [0x49b638], 8
jb 0x41027b
mov ecx, dword [ebp - 0x50]
mov eax, 1
cmp ecx, eax
jne 0x410239
mov ecx, dword [0x49a0e8]
test ecx, ecx
je 0x410232
push str.Client:_Service_is_not_complete_state
call fcn.0040acd0
add esp, 4
mov dword [0x49b708], eax
jmp 0x41024f
mov eax, dword [0x49a0e8]
test eax, eax
je 0x41024f
push str.Client:_Service_is_in_complete_state
call fcn.0040acd0
add esp, 4
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dword [0x4a7fd8], eax
mov eax, dword [ebp - 0x44]
test eax, eax
mov dword [0x4a7fdc], ecx
je 0x41026e
or dword [0x49b70c], 0x10
cmp dword [0x49b638], 8
jae 0x410307
mov eax, dword [ebp - 0x48]
test eax, eax
mov edx, dword [ebp - 0x50]
mov dword [0x49b63c], edx
je 0x410292
or dword [0x49b70c], 0x10
mov ecx, 0x49c088
call fcn.004325d0
test eax, eax
jne 0x4102d2
mov eax, dword [0x49a0e8]
test eax, eax
je 0x4108b5
push str..pipeExtEventPipe_Service
push str.WinMainClient_failed_CallAtiNamedPipe._EXTEVENT_REQTYPE_SESSION_SETUP__s.
call fcn.0040acd0
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, 0x49c088
call fcn.00430440
test eax, 0x40000
mov dword [0x49b63c], eax
jne 0x41030c
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410886
push str.Client:_SOFTWARE_BUG_ExtEvent_MultiSession_Handle_not_supported._EXIT
call fcn.0040acd0
add esp, 4
jmp 0x410886
mov eax, dword [0x49b63c]
mov ecx, dword [0x49a0e8]
test ecx, ecx
je 0x410324
push eax
push str.WinMainClient_g_ulSupportedFeatures_is_0x_x
call fcn.0040acd0
add esp, 8
mov eax, dword [0x4a8130]
push eax
mov ecx, 0x49c088
call fcn.0042d920
mov ecx, dword [eax + 0x160]
test ecx, ecx
jne 0x410343
call fcn.0040af70
push 1
push 0x49b720
push 1
push 0
push str.Pollog
push 0
call fcn.00422fd0
mov eax, dword [0x49a0e8]
add esp, 0x18
test eax, eax
je 0x410379
mov eax, dword [0x49b66c]
push eax
push str.WinMainClient_g_bAutoDisplayEnabled_is__d
call fcn.0040acd0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
mov dword [0x49b6fc], 1
call fcn.0040ba90
add esp, 4
test eax, eax
je 0x410886
push 0x2cc
mov dword [0x49a0ec], 3
mov dword [ebp - 4], 0
call fcn.00460f8e
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x4103d1
call fcn.0042cc60
mov ecx, eax
mov dword [0x49b710], ecx
jmp 0x4103f1
xor ecx, ecx
mov dword [0x49b710], ecx
jmp 0x4103f1
test ecx, ecx
mov dword [ebp - 4], 0xffffffff
jne 0x41041b
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410886
push str.ATI_poll_Client_g_pSessionPipe_memory_alloc_failed.
call fcn.0040acd0
add esp, 4
jmp 0x410886
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
jne 0x410443
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410886
push str.ATI_poll_Client_sessionPipe_creation_failed.
call fcn.0040acd0
add esp, 4
jmp 0x410886
mov ecx, 0x49b850
call fcn.00447160
test al, al
jne 0x410470
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410886
push str.ATI_poll_Client_oem_event_callback_manager_initilization_failed.
call fcn.0040acd0
add esp, 4
jmp 0x410886
mov eax, dword [0x4a9044]
test eax, eax
jne 0x4104a7
lea esp, [esp]
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410496
push str.WinMainClient_pipe_not_ready_yet.
call fcn.0040acd0
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4a9044]
test eax, eax
je 0x410480
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x698]
rep stosd dword es:[edi], eax
mov eax, dword [0x49b704]
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.00409e90
add esp, 0x10
test eax, eax
jne 0x410519
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410886
push str..pipeExtEventPipe_Service
push str.WinMainClient_failed_CallAtiNamedPipe_EXTEVENT_REQTYPE_SESSION_READY__s.
call fcn.0040acd0
add esp, 8
jmp 0x410886
call fcn.0040fa10
test eax, eax
je 0x410886
mov ecx, dword [0x49b658]
test ecx, ecx
je 0x410552
lea eax, [ebp - 0x50]
push eax
call fcn.00401c30
mov ecx, dword [0x49b650]
push 0
push 0x5dc
push 0x14d1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x49b704]
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.00409e90
add esp, 0x10
test eax, eax
jne 0x4105c7
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410886
push str.WinMainClient:_EXTEVENT_REQTYPE_CLT_GETCOMCALLBACKS___CallAtiNamedPipe_failed
call fcn.0040acd0
add esp, 4
jmp 0x410886
mov eax, dword [0x49b658]
test eax, eax
je 0x4106a8
mov dword [ebp - 0x14], 0
jmp 0x4105e0
xor eax, eax
push 1
mov ecx, 0x188
lea edi, [ebp - 0x698]
rep stosd dword es:[edi], eax
mov ecx, dword [0x49b704]
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.00409e90
add esp, 0x10
test eax, eax
je 0x4105a8
cmp dword [ebp - 0x34], 1
je 0x4106a8
mov eax, dword [0x49b658]
mov ecx, dword [eax + 0x128]
test ecx, ecx
je 0x410698
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
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], edx
push ecx
mov ecx, dword [eax + 0x128]
call fcn.00408790
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, 4
mov dword [ebp - 0x14], eax
jb 0x4105e0
cmp dword [0x49b638], 6
jbe 0x410705
mov edx, dword [0x4a7fd0]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x40ad80
mov dword [ebp - 0x14], 0
call fcn.00423be0
add esp, 0x14
test eax, eax
jne 0x4106fe
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410886
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinMainClient_failed_to_CreateThread_RegisterWTSNotificationThread_err_d.
call fcn.0040acd0
add esp, 8
jmp 0x410886
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x49b638], 8
jb 0x4107be
call fcn.0040a150
call fcn.0044bcc0
mov edx, dword [0x49a104]
mov eax, dword [0x49a108]
push 0x49b840
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x49a10c]
mov dword [ecx + 4], eax
mov eax, dword [0x49a110]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [0x49b650]
push ecx
call fcn.00450320
test eax, eax
jne 0x41076d
mov eax, dword [0x49a0e8]
test eax, eax
je 0x41076d
push str.Ati_RegisterDeviceInterface_failed_n
call fcn.0040acd0
add esp, 4
mov eax, dword [0x49a114]
mov ecx, dword [0x49a118]
push 0x49b844
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x49a11c]
mov dword [edx + 4], ecx
mov ecx, dword [0x49a120]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [0x49b650]
push edx
call fcn.00450320
test eax, eax
jne 0x4107be
mov eax, dword [0x49a0e8]
test eax, eax
je 0x4107be
push str.Ati_RegisterDeviceInterface_failed_n
call fcn.0040acd0
add esp, 4
call fcn.00429270
call fcn.0044c020
call fcn.0040b890
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 0x41080c
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
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 0x4107f0
cmp dword [0x49b638], 8
jb 0x410864
call fcn.0040a170
mov ecx, dword [0x49b840]
push ecx
call fcn.004503a0
test eax, eax
jne 0x410840
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410840
push str.Ati_UnRegisterDeviceInterface_failed_n
call fcn.0040acd0
add esp, 4
push 0x49b844
call fcn.004503a0
test eax, eax
jne 0x410864
mov eax, dword [0x49a0e8]
test eax, eax
je 0x410864
push str.Ati_RegisterDeviceInterface_failed_n
call fcn.0040acd0
add esp, 4
call fcn.0044c050
mov edx, dword [0x49b650]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410886
mov eax, dword [0x49b650]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x49a0ec], 2
mov dword [0x49b674], 0
call fcn.0040cc40
mov eax, dword [0x49a0e8]
test eax, eax
je 0x4108b5
push str.ATI_poll_Client_exits.
call fcn.0040acd0
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