Function at 0x42f7f0
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5d5777
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa74
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00488cb0
mov ecx, dword [0x63d178]
mov dword [esp + 0xa8c], ebx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0xa90], 1
call fcn.005b7e9a
push str.OServer3.exe
lea ecx, [esp + 0x14]
call fcn.005b80f4
mov eax, dword [esp + 0x10]
xor ebp, ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42fa39
push 1
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x24], edi
jne 0x42f8aa
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8c], 0
call fcn.005b7d03
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046cca0
mov eax, 1
jmp 0x42fdba
push 1
push 0x6382a8
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
je 0x42f9e2
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x286]
mov word [esp + 0x284], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x284]
push ecx
push 0x400
push edx
push esi
stosw word es:[edi], ax
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x42f9e9
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x10]
push eax
call fcn.005b7e9a
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.005b4509
mov edx, dword [eax]
push 0x6382a4
push edx
call fcn.0045417e
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x14]
sete bl
call fcn.005b7d03
test bl, bl
je 0x42f98f
push 1
push 0
lea ecx, [esp + 0x18]
call fcn.005b4020
push 0x22
lea ecx, [esp + 0x14]
call fcn.005b823f
test eax, eax
jl 0x42f9d0
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.005b4509
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa90], 2
call fcn.005b7e4a
mov byte [esp + 0xa8c], 1
lea ecx, [esp + 0x14]
jmp 0x42f9cb
push 0x20
lea ecx, [esp + 0x14]
call fcn.005b823f
test eax, eax
jl 0x42f9d0
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005b4509
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa90], 3
call fcn.005b7e4a
mov byte [esp + 0xa8c], 1
lea ecx, [esp + 0x14]
call fcn.005b7d03
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f9f0
jmp 0x42f9f5
mov ebp, 2
jmp 0x42fa02
mov ebp, 3
jmp 0x42f9f7
mov ebp, 4
xor ebx, ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp ebp, ebx
je 0x42fa39
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8c], 0
call fcn.005b7d03
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046cca0
mov eax, ebp
jmp 0x42fdba
mov eax, dword [0x63d178]
mov dword [esp + 0x18], eax
mov byte [esp + 0xa8c], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x1c]
push str.OCULAR3__lu
push ecx
call fcn.005b496b
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push 0x1000
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x42fac1
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8c], 1
call fcn.005b7d03
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8c], 0
call fcn.005b7d03
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046cca0
mov eax, 0x11
jmp 0x42fdba
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
cmp ebp, ebx
je 0x42fd64
mov ecx, 0x400
xor eax, eax
mov edi, ebp
lea edx, [esp + 0x7c]
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 eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x81
lea edi, [esp + 0x7e]
mov word [esp + 0x7c], bx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ecx
push str.Oserver3.exe__sn__s
push edx
stosw word es:[edi], ax
call fcn.004544a9
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x44], ebx
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
mov dword [esp + 0x2c], eax
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
mov dword [esp + 0x3c], eax
push ebx
push 0x20
mov dword [esp + 0x48], eax
push ebx
push ebx
lea eax, [esp + 0x98]
push ebx
push eax
push ecx
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x42fd6b
mov edx, dword [esp + 0x28]
push 0xea60
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42fd03
mov ebx, dword [esp + 0x20]
cmp ebx, 0x64
jne 0x42fd0a
mov esi, dword [ebp]
xor edx, edx
mov dx, word [ebp + 0x1c]
mov dword [esp + 0x24], esi
lea eax, [edx + edx + 0x22]
cmp esi, eax
jne 0x42fd18
mov edx, dword [esp + 0xa94]
mov ecx, dword [ebp + 4]
mov dword [edx], ecx
mov ecx, dword [esp + 0xa98]
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x24]
mov dword [ecx], eax
mov ecx, dword [esp + 0xa9c]
push edx
call fcn.0046cf80
mov eax, dword [esp + 0xaa0]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0xaa4]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x18]
mov dword [ecx], eax
mov ebx, dword [esi + ebp + 4]
lea edx, [ebx + esi + 8]
cmp edx, 0x1000
ja 0x42fd28
mov edi, dword [esp + 0xaa8]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.005b66fa
test ebx, ebx
jbe 0x42fc59
mov edi, dword [edi + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esi + 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 esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xaac]
lea eax, [ebx + esi]
lea edi, [eax + ebp]
mov dword [ecx], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x42fcff
lea edx, [eax + ebx]
lea edx, [edx + esi + 0xc]
cmp edx, 0x1000
ja 0x42fd36
mov edx, dword [edi + 0x24]
mov esi, dword [edi + 0x28]
lea edx, [esi + edx*2 + 0x23]
cmp eax, edx
jne 0x42fd42
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [ecx], eax
je 0x42fcff
mov ecx, dword [esp + 0xabc]
mov eax, dword [edi + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0xab0]
mov edx, dword [edi + 0x14]
mov dword [eax], edx
mov eax, dword [esp + 0xab8]
mov ecx, dword [edi + 0x1c]
mov dword [eax], ecx
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + 0xab4]
mov dword [eax + 4], edx
lea eax, [edi + 0x2c]
push eax
call fcn.0046cf80
mov edx, dword [esp + 0xac0]
mov ecx, dword [edi + 0x18]
mov dword [edx], ecx
mov eax, dword [edi + 0x24]
lea ecx, [edi + eax*2 + 0x2e]
push ecx
mov ecx, dword [esp + 0xac8]
call fcn.004677d0
xor ebx, ebx
jmp 0x42fd4e
mov ebx, 0x14
jmp 0x42fd4e
and ebx, 0xffff
shl ebx, 0x10
or ebx, 0x15
jmp 0x42fd4e
and esi, 0xffff
shl esi, 0x10
or esi, 0x16
mov ebx, esi
jmp 0x42fd4e
and ebx, 0xffff
shl ebx, 0x10
or ebx, 0x17
jmp 0x42fd4e
and eax, 0xffff
shl eax, 0x10
or al, 0x18
jmp 0x42fd4c
and eax, 0xffff
shl eax, 0x10
or al, 0x19
mov ebx, eax
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
jmp 0x42fd70
mov ebx, 0x12
jmp 0x42fd77
mov ebx, 0x13
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8c], 1
call fcn.005b7d03
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8c], 0
call fcn.005b7d03
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046cca0
mov eax, ebx
mov ecx, dword [esp + 0xa84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa80
ret