Function at 0x402b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b365
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5ce180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
call fcn.00408e40
test al, al
jne 0x402bcf
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
call fcn.0040e280
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0040e280
mov byte [ebp - 4], 1
test esi, esi
je 0x402d48
lea eax, [ebp - 0x28]
push eax
call fcn.00405eb0
push str.FileMenuToolsAppPkg.exe
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.00403950
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00403bf0
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x402c80
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x402c6e
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x402c6e
push edx
call fcn.00403af0
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x402c66
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402c7a
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.004033b0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 3
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402c9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402cb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402cd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x402e57
push 0x5b09ac
lea ecx, [ebp - 0x18]
call fcn.0040e1d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x402e3c
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x402e2d
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x402e2d
push edx
call fcn.00403af0
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x402d3d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x402e39
push str.PowerShell.exe
lea ecx, [ebp - 0x18]
call fcn.0040e1d0
mov byte [ebp - 4], 6
or esi, 0xffffffff
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x402db4
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x402da5
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x402da5
push edx
call fcn.00403af0
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x402d9d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402db1
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.004033b0
mov eax, dword [ebp - 0x18]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402dcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._Command___Get_AppxPackage_FileMenuTools__Remove_AppxPackage_
lea ecx, [ebp - 0x18]
call fcn.0040e1d0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x402e3c
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x402e2d
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x402e2d
push edx
call fcn.00403af0
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x402d3d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x402e39
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.004033b0
mov eax, dword [ebp - 0x18]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402e57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x58], str.runas
mov dword [ebp - 0x50], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x5c], eax
xor edi, edi
lea eax, [ebp - 0x64]
mov dword [ebp - 0x4c], 0
push eax
mov dword [ebp - 0x48], 2
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x402ed1
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402eef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x402f0e
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
pop ebx
mov esp, ebp
pop ebp
ret