Function at 0x4128e0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe84
mov eax, dword [0x48106c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x3c
lea eax, [ebp - 0xe84]
mov edi, ecx
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0x82c]
push 0x410
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0xe44]
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0xc3c]
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0xa34]
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
mov dword [ebp - 0xe48], 0
lea eax, [ebp - 0xe44]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
lea edx, [edi + 0x404]
lea ecx, [ebp - 0x214]
call fcn.0040fe30
add esp, 4
test eax, eax
je 0x412ba9
cmp word [ebp + eax*2 - 0x216], 0x5c
jne 0x4129f4
lea eax, [eax*2 - 2]
cmp eax, 0x208
jae 0x412bbd
xor ecx, ecx
mov word [ebp + eax - 0x214], cx
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x412ba9
push 0
push 0x1a
lea eax, [ebp - 0x82c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412ba9
push ecx
push dword [ebp - 0xe48]
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0xc3c]
call fcn.0041f690
add esp, 8
xor eax, eax
movzx ecx, word [ebp + eax - 0xa34]
lea eax, [eax + 2]
mov word [ebp + eax - 0x82e], cx
test cx, cx
jne 0x412a54
mov ecx, dword [edi + 0x1a4]
test ecx, ecx
jne 0x412a97
lea edx, [ebp - 0x41c]
lea ecx, [ebp - 0x82c]
call fcn.0041dc80
test eax, eax
je 0x412ba9
mov ecx, dword [edi + 0x1a4]
jmp 0x412ab2
movq xmm0, qword [str.dummy]
mov eax, dword [0x473a58]
movq qword [ebp - 0x41c], xmm0
mov dword [ebp - 0x414], eax
push dword [edi + 0x1ac]
lea eax, [ebp - 0x41c]
push dword [edi + 0x1a8]
push dword [edi + 0x1d4]
push dword [edi + 0x1b8]
push dword [edi + 0x1d0]
push dword [edi + 0x1cc]
push dword [edi + 0x1c8]
push dword [edi + 0x1c0]
push eax
lea eax, [ebp - 0xc3c]
push eax
push dword [edi + 0x1e0]
lea eax, [ebp - 0x214]
push eax
push dword [edi + 0x1f0]
lea eax, [ebp - 0x82c]
push dword [edi + 0x1ec]
push dword [edi + 0x1b4]
push dword [edi + 0x1b0]
push 1
push ecx
push dword [edi + 0x48]
push str._runas_p__d__d__d__d___s____s____s____s____s____s___d__d__d__d__d__d__d__d
push 0x208
push eax
call fcn.0041fb80
add esp, 0x58
mov dword [ebp - 0xe84], 0x3c
lea eax, [ebp - 0xe44]
mov dword [ebp - 0xe78], str.runas
mov dword [ebp - 0xe74], eax
mov ecx, edi
lea eax, [ebp - 0x82c]
mov dword [ebp - 0xe6c], 0
push 0
mov dword [ebp - 0xe68], 1
mov dword [ebp - 0xe70], eax
call fcn.00425bc0
lea eax, [ebp - 0xe84]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 1
mov ecx, edi
mov esi, eax
call fcn.00425bc0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043c755
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043c755
mov esp, ebp
pop ebp
ret 4
call fcn.0043cc7a
int3