Function at 0x413fd0
Capabilities:
Create process on windows
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c87f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x50b0cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.00413ef0
push 0x44
push 0
cmp eax, 1
jne 0x414073
lea eax, [ebp - 0x64]
push eax
call fcn.004a2b40
mov eax, 1
mov dword [ebp - 0x64], 0x44
mov word [ebp - 0x34], ax
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], 1
cmp dword [eax - 4], 1
jle 0x41404c
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.0040a130
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 1
jmp 0x4141a5
lea eax, [ebp - 0xb8]
xor edi, edi
push eax
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
call fcn.004a2b40
add esp, 0xc
mov dword [ebp - 0x8c], 1
xorps xmm0, xmm0
mov eax, 1
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x88], ax
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0xc4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0xc4]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0xc0]
push eax
push 1
push 2
push edi
push 0xf01ff
push dword [ebp - 0xbc]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push str.CreateProcessWithTokenW
push 0x4f4874
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x414178
mov esi, dword [ebp + 0xc]
cmp dword [esi - 4], 1
jle 0x41413e
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040a130
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x414155
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.0040a130
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
push esi
push 0
push 0x20
push eax
push 0
push 0
push dword [ebp - 0xc0]
call dword [ebp - 0xc8]
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41418b
push eax
call esi
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x414198
push eax
call esi
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x4141a5
push eax
call esi
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4141c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4141e5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00488d6f
mov esp, ebp
pop ebp
ret