Function at 0x41dd70
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43db76
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x33c], 0
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x338], 0
movups xmmword [ebp - 0x34c], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41dde0
sub ecx, edx
lea eax, [ebp - 0x31c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x34c]
call fcn.0041f4f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34c]
mov edi, dword [ebp - 0x338]
cmp edi, 7
mov esi, dword [ebp - 0x33c]
mov edx, esi
cmova ecx, dword [ebp - 0x34c]
push 2
sub esp, 8
call fcn.0041f3a0
add esp, 0xc
mov dword [ebp - 0x354], 0
xorps xmm0, xmm0
mov dword [ebp - 0x350], 0
movups xmmword [ebp - 0x364], xmm0
lea edx, [eax + 1]
cmp esi, edx
jb 0x41e4e7
sub esi, edx
lea eax, [ebp - 0x34c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 7
push ecx
cmova eax, dword [ebp - 0x34c]
lea ecx, [ebp - 0x364]
lea eax, [eax + edx*2]
push eax
call fcn.0041f4f0
mov ecx, dword [ebp - 0x338]
cmp ecx, 7
jbe 0x41dec8
mov edx, dword [ebp - 0x34c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41debe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e4ec
push ecx
push edx
call fcn.004206fc
add esp, 8
movups xmm1, xmmword [ebp - 0x364]
lea ecx, [ebp - 0x34c]
mov edx, 0xb
movq xmm0, qword [ebp - 0x354]
movq qword [ebp - 0x33c], xmm0
cmp dword [ebp - 0x338], 7
mov eax, dword [ebp - 0x33c]
mov esi, eax
movd edi, xmm1
movups xmmword [ebp - 0x34c], xmm1
cmova ecx, edi
cmp eax, edx
cmova esi, edx
mov edx, str.svcmain.exe
test esi, esi
je 0x41df3d
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x41e488
add ecx, 2
add edx, 2
sub esi, 1
jne 0x41df20
mov eax, dword [ebp - 0x33c]
cmp eax, 0xb
jb 0x41e488
ja 0x41e488
xorps xmm0, xmm0
mov dword [ebp - 0x36c], 0
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x368], 0
movups xmmword [ebp - 0x37c], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41df73
sub ecx, edx
lea eax, [ebp - 0x31c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x37c]
call fcn.0041f4f0
push ecx
push str.RDS_SestraMind
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 1
call fcn.0041f2c0
cmp eax, 0xffffffff
jne 0x41e415
push ecx
push str.RDS_JustTurnOn
lea ecx, [ebp - 0x37c]
call fcn.0041f2c0
cmp eax, 0xffffffff
jne 0x41e415
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.C:Program_FilesRDS_SestraMind
call esi
cmp eax, 0xffffffff
jne 0x41e415
push str.C:Program_Files__x86_RDS_SestraMind
call esi
cmp eax, 0xffffffff
jne 0x41e415
push str.C:Program_FilesRDS_JustTurnOn
call esi
cmp eax, 0xffffffff
jne 0x41e415
push str.C:Program_Files__x86_RDS_JustTurnOn
call esi
cmp eax, 0xffffffff
jne 0x41e415
lea eax, [ebp - 0x388]
mov dword [ebp - 0x388], 0
push eax
push 0x20019
push 0
push str.SOFTWAREDigital_RiverJWTS
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41e415
push dword [ebp - 0x388]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov dword [ebp - 0x324], 0
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x320], 0
movups xmmword [ebp - 0x334], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e076
sub ecx, edx
lea eax, [ebp - 0x31c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x334]
call fcn.0041f4f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
cmp dword [ebp - 0x320], 7
mov esi, dword [ebp - 0x324]
mov edx, esi
cmova ecx, dword [ebp - 0x334]
push 2
sub esp, 8
call fcn.0041f3a0
mov ecx, eax
mov dword [ebp - 0x354], 0
add esp, 0xc
mov dword [ebp - 0x350], 0
cmp esi, ecx
lea eax, [ebp - 0x334]
xorps xmm0, xmm0
cmovb ecx, esi
cmp dword [ebp - 0x320], 7
push ecx
cmova eax, dword [ebp - 0x334]
lea ecx, [ebp - 0x364]
push eax
movups xmmword [ebp - 0x364], xmm0
call fcn.0041f4f0
mov ecx, dword [ebp - 0x320]
cmp ecx, 7
jbe 0x41e14b
mov edx, dword [ebp - 0x334]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e141
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e4ec
push ecx
push edx
call fcn.004206fc
add esp, 8
movups xmm0, xmmword [ebp - 0x364]
movups xmmword [ebp - 0x334], xmm0
movq xmm0, qword [ebp - 0x354]
movq qword [ebp - 0x324], xmm0
mov ecx, dword [ebp - 0x320]
mov eax, ecx
mov edi, dword [ebp - 0x324]
sub eax, edi
cmp eax, 0xa
jb 0x41e1b3
cmp ecx, 7
lea esi, [ebp - 0x334]
lea eax, [edi + 0xa]
cmova esi, dword [ebp - 0x334]
push 0x14
mov dword [ebp - 0x324], eax
push str._svcac.exe
lea eax, [esi + edi*2]
push eax
call fcn.00421f10
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x14], ax
jmp 0x41e1d4
push 0xa
push str._svcac.exe
mov byte [ebp - 0x384], 0
lea ecx, [ebp - 0x334]
push dword [ebp - 0x384]
push 0xa
call fcn.0041f5e0
cmp dword [ebp - 0x320], 7
lea eax, [ebp - 0x334]
cmova eax, dword [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e224
cmp dword [ebp - 0x320], 7
lea eax, [ebp - 0x334]
push 0
cmova eax, dword [ebp - 0x334]
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
test eax, eax
jne 0x41e262
mov ax, word [0x4460e4]
movq xmm0, qword [str.c:windows]
mov word [ebp - 0x10c], ax
mov al, byte [0x4460e6]
movq qword [ebp - 0x114], xmm0
mov byte [ebp - 0x10a], al
lea ecx, [ebp - 0x114]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x41e270
mov eax, dword [str._system32_termsrv.dll]
mov dword [ecx], eax
mov eax, dword [0x4460ec]
mov dword [ecx + 4], eax
mov eax, dword [0x4460f0]
mov dword [ecx + 8], eax
mov eax, dword [0x4460f4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4460f8]
mov dword [ecx + 0x10], eax
mov ax, word [0x4460fc]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x388], 0
push eax
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x384], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x41e36d
push edi
call fcn.0042072d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x114]
push esi
push edi
push dword [ebp - 0x388]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x41e364
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x384]
push eax
push 0x446488
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x41e364
cmp dword [ebp - 0x38c], 0
je 0x41e364
mov ecx, dword [ebp - 0x384]
cmp dword [ecx], 0xfeef04bd
jne 0x41e364
movzx eax, word [ecx + 0xa]
mov dword [0x44aee0], eax
movzx eax, word [ecx + 8]
mov dword [0x44aedc], eax
movzx eax, word [ecx + 0xe]
mov dword [0x44aed4], eax
movzx eax, word [ecx + 0xc]
mov dword [0x44aed8], eax
push esi
call fcn.004206c7
add esp, 4
lea eax, [ebp - 0x384]
mov dword [ebp - 0x384], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x41e39c
cmp dword [ebp - 0x384], 0
je 0x41e39c
mov al, 1
jmp 0x41e39e
xor al, al
mov byte [0x44ae95], al
call fcn.0041e550
mov ecx, dword [ebp - 0x320]
mov al, 1
mov byte [ebp - 0x37d], al
cmp ecx, 7
jbe 0x41e3f6
mov edx, dword [ebp - 0x334]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e3e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e4ec
push ecx
push edx
call fcn.004206fc
mov al, byte [ebp - 0x37d]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], cx
jmp 0x41e41d
xor al, al
mov byte [ebp - 0x37d], al
mov ecx, dword [ebp - 0x368]
cmp ecx, 7
jbe 0x41e463
mov edx, dword [ebp - 0x37c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e453
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e4ec
push ecx
push edx
call fcn.004206fc
mov al, byte [ebp - 0x37d]
add esp, 8
mov edi, dword [ebp - 0x34c]
xor ecx, ecx
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 7
mov word [ebp - 0x37c], cx
jmp 0x41e490
xor al, al
mov byte [ebp - 0x37d], al
mov ecx, dword [ebp - 0x338]
cmp ecx, 7
jbe 0x41e4cc
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41e4bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e4ec
push ecx
push edi
call fcn.004206fc
mov al, byte [ebp - 0x37d]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004206b9
mov esp, ebp
pop ebp
ret
call fcn.0041f390
call fcn.004289d4
int3