Function at 0x412820
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509f70
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41289e
lea ecx, [ebp - 0x84]
push ecx
call eax
mov ax, word [ebp - 0x84]
cmp ax, 9
je 0x41289a
cmp ax, 6
jne 0x41289e
mov al, 1
jmp 0x4128a0
xor al, al
mov ecx, str.GeeksShell.dll
mov dword [ebp - 0x34], 0
test al, al
mov dword [ebp - 0x30], 0
mov edx, str.GeeksShell64.dll
xorps xmm0, xmm0
cmove edx, ecx
mov ecx, edx
movups xmmword [ebp - 0x44], xmm0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4128d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00405590
push str.deps_shell
lea edx, [esi + 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00414420
add esp, 4
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.004140d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x41298e
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x41295c
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412952
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b66
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x4129c8
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4129be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b66
push ecx
push edx
call fcn.004bd6ef
add esp, 8
cmp dword [ebp - 0x1c], 0
je 0x412ac1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412ac1
push ecx
lea ecx, [ebp - 0x138]
call fcn.0040a940
mov edx, str.__s__i
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.0040cc70
mov edx, 0x53465c
lea ecx, [ebp - 0x128]
call fcn.0040cc70
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x128]
call fcn.00414f70
add esp, 4
lea ecx, [ebp - 0x128]
mov edx, 0x53465c
call fcn.0040cc70
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x138]
call fcn.0040a850
cmp dword [eax + 0x14], 8
jb 0x412a5f
mov eax, dword [eax]
push 0
push 0
push eax
push 0x534660
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x412ab0
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412aa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b6b
push ecx
push edx
call fcn.004bd6ef
add esp, 8
lea ecx, [ebp - 0x138]
mov byte [ebp - 0x5d], 1
call fcn.00409da0
jmp 0x412ac5
mov byte [ebp - 0x5d], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x412afb
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412af1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b70
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 8
jb 0x412b45
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412b3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412b70
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
int3