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, reloc.USER32.dll_PeekMessageA
mov edi, ecx
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push 0x410
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, reloc.USER32.dll_PeekMessageA
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 0
lea eax, reloc.USER32.dll_PeekMessageA
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
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, reloc.USER32.dll_PeekMessageA
push eax
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0x104
lea eax, reloc.USER32.dll_PeekMessageA
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x412ba9
push 0
push 0x1a
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412ba9
push ecx
push dword [ebp - 0xe48]
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
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 + reloc.USER32.dll_PeekMessageA]
test ecx, ecx
jne 0x412a97
lea edx, reloc.USER32.dll_PeekMessageA
lea ecx, reloc.USER32.dll_PeekMessageA
call fcn.0041dc80
test eax, eax
je 0x412ba9
mov ecx, dword [edi + reloc.USER32.dll_PeekMessageA]
jmp 0x412ab2
movq xmm0, qword [str.dummy]
mov eax, dword [0x473a58]
movq qword [ebp - 0x41c], xmm0
mov dword [ebp - reloc.USER32.dll_PeekMessageA], eax
push dword [edi + 0x1ac]
lea eax, reloc.USER32.dll_PeekMessageA
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, reloc.USER32.dll_PeekMessageA
push eax
push dword [edi + 0x1e0]
lea eax, reloc.USER32.dll_PeekMessageA
push eax
push dword [edi + 0x1f0]
lea eax, reloc.USER32.dll_PeekMessageA
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 - reloc.USER32.dll_PeekMessageA], 0x3c
lea eax, reloc.USER32.dll_PeekMessageA
mov dword [ebp - 0xe78], str.runas
mov dword [ebp - reloc.USER32.dll_PeekMessageA], eax
mov ecx, edi
lea eax, reloc.USER32.dll_PeekMessageA
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 0
push 0
mov dword [ebp - reloc.USER32.dll_PeekMessageA], 1
mov dword [ebp - reloc.USER32.dll_PeekMessageA], eax
call fcn.00425bc0
lea eax, reloc.USER32.dll_PeekMessageA
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