Function at 0x401a19
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x780
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x401a78
cmp byte [eax], bl
je 0x401a78
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0xfa
push str.OmniBootApp
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
push edi
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], ebx
jne 0x401a3d
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401c5c
push edi
call esi
mov eax, ebx
inc ebx
cmp eax, 0xa
jl 0x401a57
jmp 0x401c5c
mov esi, 0x104
lea eax, [ebp - 0x364]
push esi
push eax
push dword [ebp + 8]
mov byte [ebp - 0x15c], bl
mov byte [ebp - 0x260], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.004011b5
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x401c29
lea eax, [ebp - 0x780]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x15c]
push eax
push ebx
lea eax, [ebp - 0x780]
push 0x40803c
push eax
call esi
lea eax, [ebp - 0x260]
push eax
push ebx
lea eax, [ebp - 0x780]
push 0x408038
push eax
call esi
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x364]
push eax
push dword [ebp + 0x10]
call section..text
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x401c29
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x364]
push eax
push dword [ebp - 4]
call section..text
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x401c29
mov cl, byte [ebp - 0x15c]
push 1
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x16], bx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x67c], 0x22
pop eax
cmp cl, bl
je 0x401b80
mov byte [ebp + eax - 0x67c], cl
mov cl, byte [ebp + eax - 0x15c]
inc eax
jmp 0x401b6b
mov byte [ebp + eax - 0x67c], 0x22
inc eax
mov cl, byte [ebp - 0x260]
lea esi, [ebp - 0x260]
mov byte [ebp + eax - 0x67c], 0x20
inc eax
mov byte [ebp + eax - 0x67c], 0x22
inc eax
cmp cl, bl
je 0x401bb9
mov byte [ebp + eax - 0x67c], cl
mov cl, byte [esi + 1]
inc eax
inc esi
jmp 0x401ba7
mov byte [ebp + eax - 0x67c], 0x22
inc eax
mov cl, byte [ebp - 0x364]
lea esi, [ebp - 0x364]
mov byte [ebp + eax - 0x67c], 0x20
inc eax
mov byte [ebp + eax - 0x67c], 0x22
inc eax
cmp cl, bl
je 0x401bf2
mov byte [ebp + eax - 0x67c], cl
mov cl, byte [esi + 1]
inc eax
inc esi
jmp 0x401be0
mov byte [ebp + eax - 0x67c], 0x22
mov byte [ebp + eax - 0x67b], bl
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x67c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401c25
push 0xfffffffffffffff8
pop edi
cmp edi, ebx
je 0x401c5c
cmp byte [ebp - 0x15c], bl
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x401c40
lea eax, [ebp - 0x15c]
push eax
call esi
cmp byte [ebp - 0x260], bl
je 0x401c51
lea eax, [ebp - 0x260]
push eax
call esi
push edi
push dword [ebp + 8]
call fcn.00401c65
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10