Function at 0x401a0b
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 0x401a6a
cmp byte [eax], bl
je 0x401a6a
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 0x401a2f
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401c4a
push edi
call esi
mov eax, ebx
inc ebx
cmp eax, 0xa
jl 0x401a49
jmp 0x401c4a
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.004011a6
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x401c17
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 0x40703c
push eax
call esi
lea eax, [ebp - 0x260]
push eax
push ebx
lea eax, [ebp - 0x780]
push 0x407038
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 0x401c17
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 0x401c17
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 0x401b72
mov byte [ebp + eax - 0x67c], cl
mov cl, byte [ebp + eax - 0x15c]
inc eax
jmp 0x401b5d
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 0x401bab
mov byte [ebp + eax - 0x67c], cl
mov cl, byte [esi + 1]
inc eax
inc esi
jmp 0x401b99
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 0x401be4
mov byte [ebp + eax - 0x67c], cl
mov cl, byte [esi + 1]
inc eax
inc esi
jmp 0x401bd2
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 0x401c4a
push 0xfffffffffffffff8
pop edi
cmp byte [ebp - 0x15c], bl
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x401c2e
lea eax, [ebp - 0x15c]
push eax
call esi
cmp byte [ebp - 0x260], bl
je 0x401c3f
lea eax, [ebp - 0x260]
push eax
call esi
push edi
push dword [ebp + 8]
call fcn.00401c53
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10