Function at 0x4048d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x4b4
mov eax, dword [0x40b424]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebp
mov ebp, dword [esp + 0x4c4]
push esi
push edi
push 0x59c
push str..loginService.cpp
lea ecx, [esp + 0x50]
call fcn.00405530
push ebp
add eax, 4
push str.CommandLine_
push eax
call fcn.004014d0
add esp, 8
push eax
call fcn.004014d0
add esp, 8
lea ecx, [esp + 0x48]
call fcn.00405740
test ebp, ebp
je 0x40493f
mov ecx, 0x104
mov eax, ebp
cmp byte [eax], 0
je 0x4049e3
inc eax
sub ecx, 1
jne 0x404930
xor esi, esi
push 0x1f4
lea eax, [esp + 0xd4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
mov word [esp + eax*2 + 0xd0], cx
cmp eax, 4
jbe 0x404b45
cmp word [esp + eax*2 + 0xc8], 0x2e
lea edi, [esp + eax*2 + 0xc8]
jne 0x404b45
lea edx, [esp + 0xd0]
push edx
push 0x1f4
push 0x40b478
call fcn.00401260
xor eax, eax
add esp, 0xc
mov word [edi], ax
cmp esi, 2
jne 0x404aeb
mov esi, dword [sym.imp.MSVCR90.dll__stricmp]
push ebp
push 0x4083ac
call esi
add esp, 8
test eax, eax
jne 0x4049f7
push str.wbxSCLoginService
call fcn.00401890
push str.wbxSCLoginService
call fcn.00404310
add esp, 8
push 0x40b440
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x404b83
test ecx, ecx
je 0x40493f
mov esi, 0x104
sub esi, ecx
jmp 0x404941
push ebp
push 0x4083a8
call esi
add esp, 8
test eax, eax
jne 0x404a36
push str.wbxSCLoginService
push 0x40b478
call fcn.004044f0
push 0
push 0
push str.wbxSCLoginService
call fcn.00401b60
add esp, 0x14
push 0x40b440
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x404b83
push ebp
push 0x4083a4
call esi
add esp, 8
test eax, eax
jne 0x404aeb
push 0x3c
push eax
lea ecx, [esp + 0x14]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x300
mov dword [esp + 0x20], 0x40b478
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x40839c
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x5ca
push str..loginService.cpp
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.00405530
add eax, 4
push str.install_service_runas__m
push eax
call fcn.004014d0
add esp, 8
lea ecx, [esp + 0x48]
call fcn.00405740
neg esi
sbb esi, esi
add esi, 2
push esi
call fcn.00404780
add esp, 4
push 0x40b440
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x404b83
push 0x40b400
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x404b38
push 0x5d5
push str..loginService.cpp
lea ecx, [esp + 0x50]
call fcn.00405530
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartServiceCtrlDispatcher_failed__error_code_
add esi, 4
push esi
call fcn.004014d0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [esp + 0x48]
call fcn.00405740
push 0x40b440
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x404b83
push 0x5aa
push str..loginService.cpp
lea ecx, [esp + 0x50]
call fcn.00405530
lea ecx, [esp + 0xd0]
push ecx
add eax, 4
push str.Invalid_module_file_name:
push eax
call fcn.004014d0
add esp, 8
push eax
call fcn.004054d0
add esp, 8
lea ecx, [esp + 0x48]
call fcn.00405740
mov ecx, dword [esp + 0x4bc]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00405af7
add esp, 0x4b4
ret 0x10