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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88c
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x401a88
cmp byte [esi], bl
je 0x401a88
push 8
push str._delete
push esi
call fcn.00402220
add esp, 0xc
test eax, eax
jne 0x401d2c
add esi, 8
mov edi, 0xfa
mov dword [ebp + 0x10], esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push str.OmniPortApp
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
push edi
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], ebx
jne 0x401a4d
push 1
pop ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401d2c
push edi
call esi
mov eax, ebx
inc ebx
cmp eax, 0xa
jl 0x401a67
jmp 0x401d2c
mov edi, 0x104
lea eax, [ebp - 0x36c]
push edi
push eax
push dword [ebp + 8]
mov dword [ebp + 0x10], ebx
mov byte [ebp - 0x164], bl
mov byte [ebp - 0x268], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x36c]
push 0x407034
push eax
call fcn.00402081
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x401ace
or esi, 0xffffffff
jmp 0x401cf9
push 2
push 0xfffffffffffffffc
push esi
call fcn.00401fd5
add esp, 0xc
test eax, eax
jne 0x401b14
push esi
push 4
lea eax, [ebp + 0x10]
push 1
push eax
call fcn.00401eed
add esp, 0x10
cmp eax, 4
jne 0x401b3c
cmp dword [ebp + 0x10], 0x400
ja 0x401b3c
push 2
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp + 0x10]
push eax
push esi
call fcn.00401fd5
add esp, 0xc
test eax, eax
je 0x401b1b
push 0xfffffffffffffffd
jmp 0x401cf8
push dword [ebp + 0x10]
call fcn.004021a8
push esi
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push 1
push eax
call fcn.00401eed
mov ecx, dword [ebp + 0x10]
add esp, 0x14
cmp eax, ecx
je 0x401b43
push 0xfffffffffffffffe
jmp 0x401cf8
mov eax, dword [ebp - 4]
push esi
mov byte [eax + ecx - 1], bl
call fcn.00401d8d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.004011a6
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x401cf9
lea eax, [ebp - 0x88c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x164]
push eax
push ebx
lea eax, [ebp - 0x88c]
push 0x40703c
push eax
call esi
lea eax, [ebp - 0x268]
push eax
push ebx
lea eax, [ebp - 0x88c]
push 0x407038
push eax
call esi
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x36c]
push eax
push dword [ebp - 8]
call section..text
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x401cf9
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x36c]
push eax
push dword [ebp - 0xc]
call section..text
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x401cf9
mov cl, byte [ebp - 0x164]
push 1
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x1e], bx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x788], 0x22
pop eax
cmp cl, bl
je 0x401c36
mov byte [ebp + eax - 0x788], cl
mov cl, byte [ebp + eax - 0x164]
inc eax
jmp 0x401c21
mov byte [ebp + eax - 0x788], 0x22
inc eax
mov cl, byte [ebp - 0x268]
lea esi, [ebp - 0x268]
mov byte [ebp + eax - 0x788], 0x20
inc eax
mov byte [ebp + eax - 0x788], 0x22
inc eax
cmp cl, bl
je 0x401c6f
mov byte [ebp + eax - 0x788], cl
mov cl, byte [esi + 1]
inc eax
inc esi
jmp 0x401c5d
mov byte [ebp + eax - 0x788], 0x22
inc eax
mov cl, byte [ebp - 0x36c]
lea esi, [ebp - 0x36c]
mov byte [ebp + eax - 0x788], 0x20
inc eax
mov byte [ebp + eax - 0x788], 0x22
inc eax
cmp cl, bl
je 0x401ca8
mov byte [ebp + eax - 0x788], cl
mov cl, byte [esi + 1]
inc eax
inc esi
jmp 0x401c96
mov edx, dword [ebp - 4]
mov byte [ebp + eax - 0x788], 0x22
inc eax
mov byte [ebp + eax - 0x788], 0x20
inc eax
mov cl, byte [edx]
cmp cl, bl
je 0x401cce
mov byte [ebp + eax - 0x788], cl
inc eax
inc edx
jmp 0x401cbd
mov byte [ebp + eax - 0x788], bl
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x788]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401d2c
push 0xfffffffffffffff8
pop esi
cmp byte [ebp - 0x164], bl
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x401d10
lea eax, [ebp - 0x164]
push eax
call edi
cmp byte [ebp - 0x268], bl
je 0x401d21
lea eax, [ebp - 0x268]
push eax
call edi
push esi
push dword [ebp + 8]
call fcn.00401d35
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10