Function at 0x433180
Capabilities:
Check if file exists
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov edx, dword [0x4ae214]
xor eax, eax
push ebx
xor ecx, ecx
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
mov word [ebp - 0x4c], cx
mov dword [ebp - 0x4a], eax
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
mov eax, dword [edx + 0xc]
push edi
mov ecx, 0x4ae214
call eax
mov edx, dword [0x4ae214]
lea esi, [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
mov dword [ebp - 4], esi
call eax
mov edx, dword [0x4ae214]
lea ebx, [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
mov dword [ebp - 0x10], ebx
call eax
cmp dword [ebp + 8], 0
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
je 0x433389
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x433389
push 0x14
push str.BaiduUpdater
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x433389
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Global5A083D3D_A2E8_4a48_9014_FD95EF044371
lea ecx, [ebp - 4]
push str._s_d
push ecx
call fcn.00407630
add esp, 0x10
mov edi, 0x4a5a0c
lea ebx, [ebp - 4]
lea esi, [ebp - 0x18]
call fcn.00405dd0
push eax
lea ecx, [ebp - 0x10]
call fcn.00406470
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433284
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 4]
push esi
push 0x49aa44
lea ecx, [ebp - 0x14]
push str._s__s
push ecx
call fcn.00407630
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0x10
push esi
push 0
push 1
push 0
call edi
mov ebx, dword [ebp - 0x10]
push ebx
push 0
push 1
push 0
mov dword [ebp - 0x18], eax
call edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xa
push 0x10
lea edx, [ebp - 0x4c]
push edx
push eax
call dword [sym.imp.MSVCR100.dll__itow_s]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
add esp, 0x10
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x4c]
push edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
push 4
push eax
mov dword [ebp - 0x2c], str.elevate
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x433389
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43337d
lea esi, [ebp - 4]
call fcn.00405f30
push eax
push str.WaitForSingleObject_s
push str.elevate_call_
mov esi, 0x25
call fcn.0040b830
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0xc
push 0xea60
push edx
call esi
cmp eax, 0x102
je 0x433386
mov eax, dword [ebp - 0x18]
push 0
push eax
call esi
test eax, eax
je 0x433386
lea esi, [ebp - 4]
call fcn.00405f30
push eax
push str.WaitForSingleObject_end_s
push str.elevate_call_
mov esi, 0x25
call fcn.0040b830
mov esi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], 1
jmp 0x433389
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x433397
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4333a5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4333b3
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4333c1
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4333dd
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
or ecx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4333f9
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433415
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret