Function at 0x41e8b0
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Create process suspended
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5090c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa7c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ea7b5
push 0x5c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa98], ebx
call fcn.004e38eb
cmp eax, 0xffffffff
je 0x41e942
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*2 + 2]
lea ecx, [esp + 0x14]
push edx
call fcn.004ea7b5
push str.__IPGDEBUG
lea ecx, [esp + 0x18]
mov byte [esp + 0xa98], 1
call fcn.004e390d
cmp eax, 0xffffffff
je 0x41e931
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0xa94], 0
call fcn.004ea741
mov eax, dword [0x543c98]
mov dword [esp + 0x10], eax
push 1
push ebx
push ebx
mov byte [esp + 0xaa0], 2
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, ebx
je 0x41eb26
push 1
push 0x5433bc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, eax
cmp ebp, ebx
je 0x41eb1b
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x28e]
mov word [esp + 0x28c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28c]
push ecx
push 0x400
push edx
push ebp
stosw word es:[edi], ax
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x41eaa1
mov eax, dword [esp + 0x298]
lea ecx, [esp + 0x10]
push eax
call fcn.004ea8d8
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.004e381f
mov edx, dword [eax]
push 0x5433b8
push edx
mov byte [esp + 0xa9c], 3
call fcn.0043538f
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0xa94], 2
sete bl
call fcn.004ea741
test bl, bl
je 0x41ea60
push 1
push 0
lea ecx, [esp + 0x18]
call fcn.004e3336
push 0x22
lea ecx, [esp + 0x14]
call fcn.004eac7d
test eax, eax
jl 0x41eaa1
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.004e381f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa98], 4
call fcn.004ea888
mov byte [esp + 0xa94], 2
lea ecx, [esp + 0x14]
jmp 0x41ea9c
push 0x20
lea ecx, [esp + 0x14]
call fcn.004eac7d
test eax, eax
jl 0x41eaa1
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004e381f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa98], 5
call fcn.004ea888
mov byte [esp + 0xa94], 2
lea ecx, [esp + 0x14]
call fcn.004ea741
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call edi
push esi
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41eb24
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], 1
je 0x41eb26
push 0x556998
lea ecx, [esp + 0x18]
call fcn.004ea7b5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x5433a0
push ecx
mov byte [esp + 0xaa0], 6
call fcn.004e3c81
mov edx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push edx
call fcn.004f666c
lea ecx, [esp + 0x14]
mov byte [esp + 0xa94], 2
call fcn.004ea741
jmp 0x41eb26
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41eb26
xor ebx, ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.0047bce0
mov eax, dword [esp + 0x24]
mov byte [esp + 0xa94], 7
cmp eax, ebx
jne 0x41ec40
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004ea8d8
push str.OServer3_x64.exe
lea ecx, [esp + 0x14]
call fcn.004eab32
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
call esi
cmp eax, 0xffffffff
je 0x41ebc4
cmp dword [esp + 0x28], ebx
je 0x41ec40
push 0x556998
lea ecx, [esp + 0x18]
call fcn.004ea7b5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x543348
push ecx
mov byte [esp + 0xaa0], 8
call fcn.004e3c81
mov edx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push edx
call fcn.004f666c
mov byte [esp + 0xa94], 7
lea ecx, [esp + 0x14]
jmp 0x41ec3b
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.004ea8d8
push str.OServer3.exe
lea ecx, [esp + 0x14]
call fcn.004eab32
mov ecx, dword [esp + 0x10]
push ecx
call esi
cmp eax, 0xffffffff
je 0x41ecba
cmp dword [esp + 0x28], ebx
je 0x41ec40
push 0x556998
lea ecx, [esp + 0x18]
call fcn.004ea7b5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x543300
push eax
mov byte [esp + 0xaa0], 9
call fcn.004e3c81
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push ecx
call fcn.004f666c
mov byte [esp + 0xa94], 7
lea ecx, [esp + 0x14]
call fcn.004ea741
mov edx, dword [0x543c98]
mov dword [esp + 0x20], edx
mov byte [esp + 0xa94], 0xa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x24]
push str.OCULAR3__lu
push eax
call fcn.004e3c81
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push 0x1000
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x41eca9
push ebx
push ebx
push ebx
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
jne 0x41ecf7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov byte [esp + 0xa94], 7
call fcn.004ea741
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa94], 2
call fcn.00455820
lea ecx, [esp + 0x10]
mov byte [esp + 0xa94], 0
call fcn.004ea741
lea ecx, [esp + 0x18]
mov dword [esp + 0xa94], 0xffffffff
call fcn.004ea741
xor eax, eax
jmp 0x41eef4
mov ecx, 0x400
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, str.11A988EC391A445eBDE38A038F2767D7
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x81
lea edi, [esp + 0x86]
mov word [esp + 0x84], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
push eax
push str.Oserver3.exe__sn__s
push ecx
call fcn.004355aa
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], ebx
add esp, 0xc
xor edx, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edx
push ecx
push ebx
mov dword [esp + 0x44], edx
push ebx
push 0x20
mov dword [esp + 0x50], edx
push ebx
push ebx
lea edx, [esp + 0xa0]
push ebx
push edx
push eax
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41ee97
mov ecx, dword [esp + 0x30]
push 0x493e0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41ee81
cmp dword [esp + 0x24], 0x64
jne 0x41ee81
mov eax, dword [ebp]
xor ecx, ecx
mov cx, word [ebp + 0x1c]
mov dword [esp + 0x2c], eax
lea edx, [ecx + ecx + 0x22]
cmp eax, edx
jne 0x41ee81
mov esi, dword [eax + ebp + 4]
lea eax, [esi + eax + 8]
cmp eax, 0x1000
ja 0x41ee81
mov edx, dword [esp + 0xa9c]
mov ecx, dword [ebp + 4]
mov ebx, 1
mov dword [edx], ecx
mov ecx, dword [esp + 0xaa0]
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x24]
mov dword [ecx], eax
mov ecx, dword [esp + 0xaa4]
push edx
call fcn.00455b00
mov eax, dword [esp + 0xaa8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0xab0]
push 0xffffffffffffffff
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0xab0]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x18]
push esi
mov dword [ecx], eax
mov ecx, edi
call fcn.004e80a2
test esi, esi
jbe 0x41ee81
mov edx, dword [esp + 0x2c]
mov edi, dword [edi + 4]
mov ecx, esi
mov eax, ecx
lea esi, [edx + ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x34]
push edx
call esi
jmp 0x41ee9d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0xa94], 7
call fcn.004ea741
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa94], 2
call fcn.00455820
lea ecx, [esp + 0x10]
mov byte [esp + 0xa94], 0
call fcn.004ea741
lea ecx, [esp + 0x18]
mov dword [esp + 0xa94], 0xffffffff
call fcn.004ea741
mov eax, ebx
mov ecx, dword [esp + 0xa8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa88
ret