Function at 0x403080
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [0x4233cc], eax
push 0x2f
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx]
push eax
call fcn.00404750
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4030f8
push 0x5c
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx]
push ecx
call fcn.00404750
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40311c
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
push 0x4233f0
call fcn.004050d0
add esp, 8
jmp 0x403130
mov eax, dword [ebp - 8]
add eax, 1
push eax
push 0x4233f0
call fcn.004050d0
add esp, 8
mov dword [ebp - 4], 1
jmp 0x403142
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
jge 0x4031cf
push str.__install
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00408050
add esp, 8
test eax, eax
je 0x403184
push str._install
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00408050
add esp, 8
test eax, eax
jne 0x40318d
mov dword [ebp - 0x10], 1
jmp 0x4031ca
push str.__remove
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00408050
add esp, 8
test eax, eax
je 0x4031c3
push str._remove
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00408050
add esp, 8
test eax, eax
jne 0x4031ca
mov dword [ebp - 0x14], 1
jmp 0x403139
cmp dword [ebp - 0x10], 0
je 0x4031e7
call fcn.004028f0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x403329
cmp dword [ebp - 0x14], 0
je 0x4031fd
call fcn.00402a90
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x403329
mov dword [ebp - 4], 1
jmp 0x40320f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jge 0x4032aa
push 0x420774
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00408050
add esp, 8
test eax, eax
jne 0x403261
call fcn.004033d0
push eax
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
push str._s_version__s_n
call fcn.00403390
add esp, 0xc
push 0
call fcn.00408397
jmp 0x4032a5
push 0x420788
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00408050
add esp, 8
test eax, eax
jne 0x4032a5
call fcn.004033d0
push eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx]
push eax
push str._s_version__s_n____install_____install_the_LCU_service_n____remove______remove_the_LCU_service_n___h____________print_program_usage_n___v____________print_program_version_n
call fcn.00403390
add esp, 0xc
push 0
call fcn.00408397
jmp 0x403206
mov ecx, dword [ebp - 0x1c]
mov dword [0x4243f0], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x4243f4], edx
mov eax, dword [ebp + 0x10]
mov dword [0x4243f8], eax
mov dword [0x4233c8], 1
push 0x420738
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x403327
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x78
je 0x4032f7
cmp dword [ebp - 0x18], 0x427
je 0x4032f7
jmp 0x403327
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call section..text
add esp, 0xc
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx]
push ecx
push str.Running__s_as_service..
call fcn.00402fc0
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret