Function at 0x402e90
Capabilities:
Create directory
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf84
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xf80], edx
mov edi, ecx
jmp 0x402ec0
push 0x400
lea eax, [ebp - 0x720]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x720]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edx, [ebp - 0x720]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x402ef4
sub edx, ecx
mov ecx, 0x4157a4
lea edx, [ebp + edx - 0x720]
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x402f10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea eax, [ebp - 0x320]
push esi
push 0x4157b0
push eax
call fcn.00403970
add esp, 0xc
push 0x1f0003
push 0x414914
call fcn.00403a30
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0xf78]
push 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf78], 0x44
xor eax, eax
mov dword [ebp - 0xf4c], 1
mov word [ebp - 0xf48], ax
push 0x400
push eax
lea eax, [ebp - 0xf20]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf7c], 0
lea eax, [ebp - 0xf7c]
push eax
lea eax, [ebp - 0xf20]
push eax
push ecx
call fcn.00401080
add esp, 0xc
lea eax, [ebp - 0xf20]
push eax
push 0x4157ec
call fcn.00403a30
add esp, 8
cmp dword [ebp - 0xf7c], 0
je 0x4031dc
push esi
push 0x4157f0
lea eax, [ebp - 0xf20]
push eax
lea eax, [ebp - 0x218]
push 0x41580c
push eax
call fcn.00403970
add esp, 0x14
lea eax, [ebp - 0x110]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push 0x415818
push eax
call fcn.00403970
add esp, 0xc
lea eax, [ebp - 0xb20]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x720]
push edi
push eax
lea eax, [ebp - 0xb20]
push 0x41582c
push eax
call fcn.00403990
add esp, 0x10
lea eax, [ebp - 0xb20]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x320]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0xf7c], eax
test eax, eax
je 0x4031dc
lea eax, [ebp - 0x110]
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x4031dc
push 0x1000
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x4031dc
mov eax, dword [ebp - 0xf80]
lea ecx, [ebp - 0xb20]
mov dword [ebx + 0x34], eax
lea edx, [ebx + 0x38]
mov eax, ecx
mov dword [ebx], 0
mov dword [ebx + 8], edi
sub edx, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4030f0
mov eax, dword [ebp + 0xc]
lea edi, [ebx + 0x1d4]
mov esi, dword [ebp + 8]
lea edx, [ebx + 0x2d9]
mov ecx, 0x1e
movups xmm0, xmmword [eax]
mov dword [ebx + 0x1d0], 0x78
movups xmmword [ebx + 0x1c0], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 0x258]
mov ecx, 0x1c
mov dword [ebx + 0x254], 0x70
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x415834
mov byte [ebx + 0x2d8], 8
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x403152
push 0
mov byte [ebx + 0x2f9], 1
mov dword [ebx + 0x2fa], 0
mov dword [ebx + 0x2fe], 1
mov dword [ebx + 0x302], 0x1600
mov byte [ebx + 0x407], 1
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebx + 0xa0b], eax
lea eax, [ebp - 0xf30]
mov byte [ebx + 0xa13], 2
push eax
lea eax, [ebp - 0xf78]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0xf7c]
test eax, eax
jne 0x4031ef
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x403205
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xf28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret