Function at 0x40a208
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4ce1d7
call fcn.004bc0f4
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x6d1758
push ebx
push ebx
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.0040a0f2
push fcn.00401090
push fcn.00401067
push 2
push 4
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
mov dword [esi], vtable.ChooseActionPage.0
mov dword [esi + 0x170], ebx
call fcn.004bd9a8
push str.Install_Re_Install_PunkBuster_Service
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0048b9e0
push str.Un_Install_Remove_PunkBuster_Service
lea ecx, [ebp - 0x28]
call fcn.0048b9e0
push 0x184
call fcn.004bb98c
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 2
mov edi, 0x6c5e90
je 0x40a2f4
push str.radioBox
lea ecx, [ebp - 0x14]
call fcn.00401072
push 0x4e34b4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 1
call fcn.00401072
push 4
pop ecx
push 5
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0x6d1f48
push ecx
push 1
lea eax, [ebp - 0x2c]
push eax
push 2
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
push eax
push 0xffffffffffffffff
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
push esi
mov dword [ebp - 0x10], 3
call fcn.0040953e
jmp 0x40a2f6
xor eax, eax
test byte [ebp - 0x10], 2
mov dword [esi + 0x160], eax
mov dword [ebp - 4], 5
je 0x40a315
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp + 8]
call fcn.00401028
test byte [ebp - 0x10], 1
mov dword [ebp - 4], 1
je 0x40a32e
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x14]
call fcn.00401028
mov eax, dword [esi + 0x160]
lea ecx, [eax + 0x150]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x40a3c2
mov eax, dword [0x6cfe50]
cmp byte [eax + 0x1a1], bl
jne 0x40a3b2
push 0x4f1b58
lea ecx, [ebp - 0x14]
call fcn.00401072
push str.__ERROR:__Cannot_open_a_handle_to_the_service_control_manager.__Please_make_sure_you_are_the_administrator_for_this_computer.
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00401072
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push 5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 8
call fcn.0042a430
add esp, 0x18
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00401028
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401028
push 1
mov ecx, esi
call fcn.0041f830
push 3
call fcn.004bc330
push 0x150
call fcn.004bb98c
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x40a433
push str.button
lea ecx, [ebp - 0x14]
call fcn.00401072
or dword [ebp - 0x10], 4
push str.Test_Services
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00401072
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 0x10], 8
lea eax, [ebp - 0x14]
push eax
push 0x6d1f48
push ebx
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
push 4
push esi
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x34], 0xd2
mov dword [ebp - 0x30], 0x15e
call fcn.004015d3
jmp 0x40a435
xor eax, eax
test byte [ebp - 0x10], 8
mov dword [esi + 0x16c], eax
mov dword [ebp - 4], 0xc
je 0x40a454
and dword [ebp - 0x10], 0xfffffff7
lea ecx, [ebp + 8]
call fcn.00401028
test byte [ebp - 0x10], 4
mov dword [ebp - 4], 1
je 0x40a46d
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x14]
call fcn.00401028
push 0xf01ff
push str.PnkBstrA
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x40a4aa
mov eax, dword [esi + 0x160]
lea ecx, [eax + 0x150]
mov eax, dword [ecx]
push ebx
push 1
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x16c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x9c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x150
call fcn.004bb98c
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 0xe
je 0x40a528
push str.staticText
lea ecx, [ebp - 0x18]
call fcn.00401072
or dword [ebp - 0x10], 0x10
push str._n_nThis_program_will_help_you_install_or_un_install_the_PunkBuster_Anti_cheat_service._n_nPlease_make_your_selection_and_then_click__Next__to_continue._n
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.00401072
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 0x10], 0x20
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 0xf
call fcn.0040941d
jmp 0x40a52a
xor eax, eax
test byte [ebp - 0x10], 0x20
mov dword [esi + 0x168], eax
mov dword [ebp - 4], 0x11
je 0x40a549
and dword [ebp - 0x10], 0xffffffdf
lea ecx, [ebp + 8]
call fcn.00401028
test byte [ebp - 0x10], 0x10
mov dword [ebp - 4], 1
je 0x40a55e
lea ecx, [ebp - 0x18]
call fcn.00401028
push 0x64
call fcn.004bb98c
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x40a57c
push 8
mov ecx, eax
call fcn.00429570
jmp 0x40a57e
xor eax, eax
push ebx
push 5
mov edi, 0xf0
push edi
push ebx
push dword [esi + 0x168]
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x164], eax
call fcn.0040183a
mov ecx, dword [esi + 0x164]
push ebx
push 0x19
push edi
push ebx
push dword [esi + 0x160]
call fcn.0040183a
mov ecx, dword [esi + 0x164]
push ebx
push 1
push 0x900
push ebx
push dword [esi + 0x16c]
call fcn.0040183a
push 1
push dword [esi + 0x164]
mov ecx, esi
call fcn.00420440
mov ecx, dword [esi + 0x164]
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.00429c10
push fcn.00401090
push 2
push 4
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
call fcn.004bbbb5
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4