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

Disassembly:
push 0xffffffffffffffff
push 0x509159
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc88
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x24]
call fcn.004ea7b5
push 0x5c
lea ecx, [esp + 0x24]
mov dword [esp + 0xca4], ebp
call fcn.004e38eb
cmp eax, 0xffffffff
je 0x41efa8
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax*2 + 2]
lea ecx, [esp + 0x28]
push edx
call fcn.004ea7b5
push str.__IPGDEBUG
lea ecx, [esp + 0x2c]
mov byte [esp + 0xca4], 1
call fcn.004e390d
cmp eax, 0xffffffff
je 0x41ef97
mov dword [esp + 0x14], 1
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
mov byte [esp + 0xca0], 0
call fcn.004ea741
mov eax, dword [0x543c98]
mov dword [esp + 0x10], eax
push 1
push ebp
push ebp
mov byte [esp + 0xcac], 2
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, ebp
je 0x41f1a8
push 1
push 0x5433bc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x41f123
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x49a]
mov word [esp + 0x498], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x498]
push ecx
push 0x400
push edx
push ebx
stosw word es:[edi], ax
mov dword [esp + 0x40], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x41f12a
mov eax, dword [esp + 0x4a4]
lea ecx, [esp + 0x10]
push eax
call fcn.004ea8d8
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.004e381f
mov edx, dword [eax]
push 0x5433b8
push edx
mov byte [esp + 0xca8], 3
call fcn.0043538f
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
mov byte [esp + 0xca0], 2
call fcn.004ea741
test bl, bl
je 0x41f0d0
push 1
push 0
lea ecx, [esp + 0x18]
call fcn.004e3336
push 0x22
lea ecx, [esp + 0x14]
call fcn.004eac7d
test eax, eax
jl 0x41f111
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004e381f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xca4], 4
call fcn.004ea888
mov byte [esp + 0xca0], 2
lea ecx, [esp + 0x1c]
jmp 0x41f10c
push 0x20
lea ecx, [esp + 0x14]
call fcn.004eac7d
test eax, eax
jl 0x41f111
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004e381f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xca4], 5
call fcn.004ea888
mov byte [esp + 0xca0], 2
lea ecx, [esp + 0x1c]
call fcn.004ea741
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f131
jmp 0x41f136
mov ebp, 2
jmp 0x41f145
mov ebp, 3
jmp 0x41f13a
mov ebp, 4
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [esp + 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebp, ebp
jne 0x41f1ad
test edi, edi
mov dword [esp + 0x2c], 1
je 0x41f1ad
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 + 0xcac], 6
call fcn.004e3c81
mov edx, dword [esp + 0x20]
add esp, 0xc
push ebp
push ebp
push edx
call fcn.004f666c
lea ecx, [esp + 0x14]
mov byte [esp + 0xca0], 2
call fcn.004ea741
jmp 0x41f1ad
mov ebp, 1
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0047bce0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xca0], 7
test eax, eax
jne 0x41f24f
mov ecx, dword [esp + 0x24]
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 0x41f2f3
test edi, edi
je 0x41f24f
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 + 0xcac], 8
call fcn.004e3c81
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push 0
push edx
call fcn.004f666c
mov byte [esp + 0xca0], 7
lea ecx, [esp + 0x14]
call fcn.004ea741
mov edx, dword [0x543c98]
mov dword [esp + 0x18], edx
mov byte [esp + 0xca0], 0xa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x1c]
push str.OCULAR3__lu
push eax
call fcn.004e3c81
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ecx
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call ebx
mov esi, eax
test esi, esi
mov dword [esp + 0x30], esi
jne 0x41f3ac
lea ecx, [esp + 0x18]
mov byte [esp + 0xca0], 7
call fcn.004ea741
lea ecx, [esp + 0x24]
mov byte [esp + 0xca0], 2
call fcn.00455820
lea ecx, [esp + 0x10]
mov byte [esp + 0xca0], 0
call fcn.004ea741
lea ecx, [esp + 0x20]
mov dword [esp + 0xca0], 0xffffffff
call fcn.004ea741
mov eax, 0x11
jmp 0x41f7ea
mov eax, dword [esp + 0x24]
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 0x41f36f
test edi, edi
je 0x41f24f
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 + 0xcac], 9
call fcn.004e3c81
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push 0
push ecx
call fcn.004f666c
mov byte [esp + 0xca0], 7
lea ecx, [esp + 0x14]
jmp 0x41f24a
lea ecx, [esp + 0x24]
mov byte [esp + 0xca0], 2
call fcn.00455820
lea ecx, [esp + 0x10]
mov byte [esp + 0xca0], 0
call fcn.004ea741
lea ecx, [esp + 0x20]
mov dword [esp + 0xca0], 0xffffffff
call fcn.004ea741
mov eax, ebp
jmp 0x41f7ea
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x292]
mov edx, dword [esp + 0x18]
mov word [esp + 0x290], 0
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x294]
push str._s_MEM
push eax
call fcn.004355aa
add esp, 0xc
lea ecx, [esp + 0x290]
push ecx
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call ebx
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
jne 0x41f45a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov byte [esp + 0xca0], 7
call fcn.004ea741
lea ecx, [esp + 0x24]
mov byte [esp + 0xca0], 2
call fcn.00455820
lea ecx, [esp + 0x10]
mov byte [esp + 0xca0], bl
call fcn.004ea741
lea ecx, [esp + 0x20]
mov dword [esp + 0xca0], 0xffffffff
call fcn.004ea741
mov eax, 0x101
jmp 0x41f7ea
push 0
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x41f774
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 + 0x8a]
mov word [esp + 0x88], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x88]
push eax
push str.Oserver3.exe__sn__s
push ecx
call fcn.004355aa
xor esi, esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x50], esi
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
xor edx, edx
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
push ecx
push esi
mov dword [esp + 0x48], edx
push esi
push 0x20
mov dword [esp + 0x54], edx
push esi
push esi
lea edx, [esp + 0xa4]
push esi
push edx
push eax
mov dword [esp + 0x5c], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
je 0x41f781
mov ecx, dword [esp + 0x34]
push 0xea60
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41f70e
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x41f580
push esi
push esi
push esi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
je 0x41f715
mov ecx, dword [eax]
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
cmp eax, 0x64
jne 0x41f71c
mov edi, dword [ebp]
xor edx, edx
mov dx, word [ebp + 0x1c]
mov dword [esp + 0x1c], edi
lea eax, [edx + edx + 0x22]
cmp edi, eax
jne 0x41f728
mov edx, dword [esp + 0xca8]
mov ecx, dword [ebp + 4]
mov dword [edx], ecx
mov ecx, dword [esp + 0xcac]
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x24]
mov dword [ecx], eax
mov ecx, dword [esp + 0xcb0]
push edx
call fcn.00455b00
mov eax, dword [esp + 0xcb4]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0xcb8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x18]
mov dword [ecx], eax
mov ebx, dword [edi + ebp + 4]
lea edx, [ebx + edi + 8]
cmp edx, 0x1000
ja 0x41f738
mov esi, dword [esp + 0xcbc]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.004e80a2
test ebx, ebx
jbe 0x41f62e
mov eax, dword [esi + 4]
mov ecx, ebx
lea esi, [edi + ebp + 8]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xcc0]
lea esi, [ebx + edi]
add esi, ebp
mov dword [ecx], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x41f70a
lea edx, [eax + ebx]
lea edx, [edx + edi + 0xc]
cmp edx, 0x1000
ja 0x41f746
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
lea edx, [edi + edx*2 + 0x23]
cmp eax, edx
jne 0x41f752
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0xcc4]
mov dword [ecx], eax
mov ecx, dword [esi + 0x14]
mov dword [ebx], ecx
mov eax, dword [esi + 0x24]
cmp eax, 0x10
mov edi, 1
jne 0x41f6a7
push 0x10
lea edx, [esi + 0x2c]
push str.0000000000000000
push edx
call fcn.00435d8e
add esp, 0xc
test eax, eax
jne 0x41f6a7
xor edi, edi
mov eax, dword [esp + 0xcc0]
cmp dword [eax], 0
jne 0x41f6bc
cmp dword [ebx], 0
je 0x41f70a
test edi, edi
je 0x41f70a
mov edx, dword [esp + 0xcd0]
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0xccc]
mov dword [edx], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0xcc8]
mov dword [eax + 4], edx
lea eax, [esi + 0x2c]
push eax
call fcn.00455b00
mov edx, dword [esp + 0xcd4]
mov ecx, dword [esi + 0x18]
mov dword [edx], ecx
mov eax, dword [esi + 0x24]
lea ecx, [esi + eax*2 + 0x2e]
push ecx
mov ecx, dword [esp + 0xcdc]
call fcn.00450350
xor ebx, ebx
jmp 0x41f75e
mov ebx, 0x14
jmp 0x41f75e
mov ebx, 0x112
jmp 0x41f75e
and eax, 0xffff
shl eax, 0x10
or al, 0x15
jmp 0x41f75c
and edi, 0xffff
shl edi, 0x10
or edi, 0x16
mov ebx, edi
jmp 0x41f75e
and ebx, 0xffff
shl ebx, 0x10
or ebx, 0x17
jmp 0x41f75e
and eax, 0xffff
shl eax, 0x10
or al, 0x18
jmp 0x41f75c
and eax, 0xffff
shl eax, 0x10
or al, 0x19
mov ebx, eax
mov edx, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x38]
push eax
call esi
jmp 0x41f78c
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x12
jmp 0x41f793
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x13
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0xca0], 7
call fcn.004ea741
lea ecx, [esp + 0x24]
mov byte [esp + 0xca0], 2
call fcn.00455820
lea ecx, [esp + 0x10]
mov byte [esp + 0xca0], 0
call fcn.004ea741
lea ecx, [esp + 0x20]
mov dword [esp + 0xca0], 0xffffffff
call fcn.004ea741
mov eax, ebx
mov ecx, dword [esp + 0xc98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc94
ret