Function at 0x40d2f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x394], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x2c]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp + 0x24]
push 0x44
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x3fc]
push 0
push eax
movups xmmword [ebp - 0x3b8], xmm0
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e69c0
push esi
call fcn.004a73a0
add esp, 0x28
test eax, eax
je 0x40d39c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x40d3c3
xor eax, eax
mov dword [ebp - 0x3fc], 0x44
mov dword [ebp - 0x3d0], 1
lea ebx, [ebp - 0x3fc]
mov word [ebp - 0x3cc], ax
test edi, edi
lea eax, [ebp - 0x3b8]
push 0x104
cmovne eax, edi
mov dword [ebp - 0x39c], eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a9a20
lea ecx, [ebp - 0x108]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d3f2
sub ecx, edx
mov eax, 0x50a668
mov edx, 0x510efc
push 0x104
cmp byte [ebp + ecx - 0x109], 0x2e
cmove eax, edx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004a98f0
lea eax, [ebp - 0x108]
push eax
call fcn.004289f0
add esp, 0x10
test eax, eax
je 0x40d52a
push 0x80
lea eax, [ebp - 0x28c]
push 0
push eax
call fcn.004e69c0
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx - 0x108]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x20d], al
test al, al
jne 0x40d451
lea eax, [ebp - 0x20c]
push eax
call fcn.004a85d0
add esp, 4
lea eax, [ebp - 0x28c]
push 0xa
push eax
call fcn.004eeaba
mov ecx, 0x8ae
cdq
idiv ecx
add edx, ecx
push edx
call fcn.004eed33
push 0
lea eax, [ebp - 0x28c]
mov byte [ebp - 0x287], 0
push eax
push 0x50a668
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a89e0
push 1
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042b120
add esp, 0x2c
test eax, eax
jne 0x40d52a
push 0x4b0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042b120
add esp, 0xc
test eax, eax
jne 0x40d52a
push str._GetLastError_
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x394]
push esi
push str.:8:CreateProcessExe___s_____s___will_FAIL:_An_alternate_version_of_the_EXE_will_be_run:_The_file___s__could_not_be_renamed_to___s_:__s
call fcn.00424a90
add esp, 0x18
mov byte [ebp - 0x20c], 0
mov edi, dword [ebp - 0x39c]
push edi
push ebx
push dword [ebp - 0x3a0]
push dword [ebp - 0x3a4]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x3a8]
push dword [ebp - 0x398]
push dword [ebp - 0x394]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x398], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x40d656
push 0x104
push eax
lea eax, [ebp - 0x390]
push eax
call fcn.004e69c0
add esp, 0xc
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x108]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x391], al
test al, al
jne 0x40d5a0
lea eax, [ebp - 0x390]
push eax
call fcn.004a8490
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
lea eax, [ebp - 0x20c]
push eax
call fcn.004a85d0
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004a7ad0
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b120
add esp, 0x20
test eax, eax
jne 0x40d656
push 0x2ee
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b120
add esp, 0xc
test eax, eax
jne 0x40d656
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x394]
push esi
push str.:8:CreateProcessExe___s_____s___encountered_a_problem:_The_file___s__could_not_be_reverse_renamed_back_to___s_:__s
call fcn.00424a90
add esp, 0x18
push dword [ebp - 0x398]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x3b8]
cmp edi, eax
jne 0x40d6a0
push 0x1a62
push str.C:UsersOfficeDocumentsVisual_StudioPAULAConsole.c
push str.CreateProcessExe
push dword [ebp - 0x3b4]
call fcn.00426230
push 0x1a63
push str.C:UsersOfficeDocumentsVisual_StudioPAULAConsole.c
push str.CreateProcessExe
push dword [ebp - 0x3b8]
call fcn.00426230
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret