Function at 0x10011a70
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e7ad
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x10081708]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x10011f17
cmp eax, 1
je 0x10011f17
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10011f17
cmp eax, dword [edi + 0x2c]
jne 0x10011f17
push 3
push dword [esi + 0x70]
lea eax, [ebp - 0x318]
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x31c], eax
call fcn.100119a0
push dword [ebp - 0x31c]
lea ecx, [ebp - 0x32c]
mov dword [ebp - 4], 0
call fcn.10002e60
mov eax, dword [ebp - 0x31c]
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x10011b1d
push eax
call fcn.1003cb4a
add esp, 4
cmp dword [esi + 4], 2
mov ecx, str.failed.
mov eax, str.success
cmovne eax, ecx
push eax
push dword [ebp - 0x32c]
push str.download_url__s__s
call fcn.100133d0
add esp, 0xc
lea ebx, [edi + 0x3c]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011ee0
cmp dword [esi + 4], 3
je 0x10011ee0
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x328]
call fcn.10002e60
mov eax, dword [edi + 0x30]
mov byte [ebp - 4], 3
cmp dword [eax + 0xc8], 0
je 0x10011cb8
push 0x1006409c
push dword [ebp - 0x328]
call fcn.10044517
add esp, 8
test eax, eax
jne 0x10011cb8
push ebx
lea ecx, [ebp - 0x320]
call fcn.10011550
mov eax, dword [ebp - 0x320]
mov byte [ebp - 4], 4
cmp dword [eax - 4], 1
jle 0x10011bd2
push dword [eax - 0xc]
lea ecx, [ebp - 0x320]
call fcn.100033a0
mov eax, dword [ebp - 0x320]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x320]
call fcn.10012180
push ebx
lea ecx, [ebp - 0x324]
call fcn.10011550
push str..exe
push 0x104
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 5
call fcn.10011950
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x324]
call fcn.10012180
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10037300
mov esi, dword [ebp - 0x320]
add esp, 0xc
push dword [ebp - 0x324]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x320]
push eax
push ebx
call fcn.10005ee0
lea ecx, [ebp - 0x218]
add esp, 8
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011c80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10003730
lea ecx, [ebp - 0x324]
call fcn.10003010
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 3
call fcn.10003010
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x320]
add eax, 0x10
push eax
call fcn.10011550
mov eax, dword [ebp - 0x320]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], 0
jne 0x10011ce6
push dword [ebx]
call fcn.10026340
add esp, 4
jmp 0x10011cf1
push eax
push dword [ebx]
call fcn.10026080
add esp, 8
test eax, eax
jne 0x10011d2e
push eax
push 1
push 0x948
push dword [edi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.check_sign_failed.
call fcn.100133d0
add esp, 4
lea ecx, [ebp - 0x320]
call fcn.10003010
lea ecx, [ebp - 0x328]
call fcn.10003010
jmp 0x10011ef2
lea ecx, [ebp - 0x324]
call fcn.10011580
mov eax, dword [edi + 0x4c]
mov byte [ebp - 4], 7
test eax, eax
je 0x10011d5b
lea ecx, [eax + 0x20]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x10011d5b
push ecx
lea ecx, [ebp - 0x324]
call fcn.10003980
mov eax, dword [ebx]
xorps xmm0, xmm0
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x370]
push eax
movlpd qword [ebp - 0x368], xmm0
mov dword [ebp - 0x358], 0
movlpd qword [ebp - 0x350], xmm0
movlpd qword [ebp - 0x348], xmm0
movlpd qword [ebp - 0x340], xmm0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x370], 0x3c
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x36c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
push esi
push str.run_exe__d
call fcn.100133d0
add esp, 8
test esi, esi
je 0x10011e8b
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x10011e11
push dword [eax + 8]
mov ecx, dword [edi + 0x30]
call fcn.10010b50
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x30]
add eax, 0xc
push eax
call fcn.1000a960
mov ecx, eax
call fcn.1001a980
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x338]
push 0xffffffffffffffff
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x334]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x338]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x10011e6a
push str.stop_event__quit
call fcn.100133d0
add esp, 4
push esi
push esi
push 0x948
push dword [edi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10011eaa
push str.process_quit__start_next
call fcn.100133d0
add esp, 4
push 0
push 1
push 0x948
push dword [edi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10011eaa
push 0
push 1
push 0x948
push dword [edi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.run_process_failed__start_next
call fcn.100133d0
add esp, 4
push ebx
mov ecx, edi
call fcn.10011730
lea ecx, [ebp - 0x324]
call fcn.10003010
lea ecx, [ebp - 0x320]
call fcn.10003010
lea ecx, [ebp - 0x328]
call fcn.10003010
lea ecx, [ebp - 0x32c]
call fcn.10003010
jmp 0x10011f17
push 0
push 1
push 0x948
push dword [edi + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x32c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011f17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0xc