Function at 0x407390
Capabilities:
Create process on windows
Self delete

Disassembly:
push 0xffffffffffffffff
push 0x40ca9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
mov esi, ecx
push str.DelayLoadProfiler.exe
lea ecx, [esp + 0x10]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
lea eax, [esp + 0x14]
push esi
push eax
mov dword [esp + 0x7c], 0
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::GetDrivePath_class_FObj::CUnicodeString_const__]
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x88], 1
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::Merge_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const__]
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x74], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea eax, [esp + 8]
push 0xff00ff00
push eax
call dword [sym.imp.FineObj.dll_bool___cdecl_FObj::FileSystem::AccessFile_class_FObj::CUnicodeString_const___unsigned_int_]
add esp, 8
test al, al
je 0x407535
push 0x44
lea ecx, [esp + 0x2c]
push 0
push ecx
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x88]
mov ecx, dword [edx]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi]
add eax, 0xc
push eax
add ecx, 0xc
push ecx
add edx, 0xc
push edx
lea eax, [esp + 0x28]
push str.__s___NoLogo___s___Create:__s___IfRoot
push eax
mov dword [esp + 0x48], 0x44
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::Format_wchar_t_const__]
add esp, 0x20
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 8]
mov byte [esp + 0x78], 5
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_class_FObj::CUnicodeString_const__]
mov byte [esp + 0x74], 6
mov edx, dword [esp + 4]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.FineObj.dll_public:_wchar_t____thiscall_FObj::CUnicodeString::GetBuffer_int_]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
test al, al
jne 0x4074ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 8
jne 0x4074e2
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::ThrowMemoryException_void_]
push esi
call dword [sym.imp.FineObj.dll_void___cdecl_FObj::GenerateCheckLastError_unsigned_long_int_]
add esp, 4
lea ecx, [esp + 4]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::ReleaseBuffer_void_]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x18]
push edx
call esi
lea ecx, [esp + 4]
mov byte [esp + 0x74], 5
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 8]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [esp + 0x6c]
pop esi
mov dword fs:[0], ecx
add esp, 0x74
ret