Function at 0x40ebd1
Capabilities:
Create process on windows
Set current directory

Disassembly:
mov eax, 0x468d73
call fcn.00452ab4
sub esp, 0x298
push ebx
push esi
push edi
mov edi, str.App::CheckForNewerInstallerAndRunIt_2088
mov dword [ebp - 0x10], esp
push edi
mov esi, ecx
call fcn.00450e4d
mov dword [ebp - 0x1c], eax
push edi
xor ebx, ebx
push 0x475f78
push ebx
mov dword [ebp - 4], ebx
call fcn.004418d2
add esp, 0x10
push 0x472e5a
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00443910
lea eax, [ebp - 0x9c]
push eax
push str.latest_version_url
lea eax, [ebp - 0xf0]
push eax
lea ecx, [esi + 0x228]
mov byte [ebp - 4], 2
call fcn.00446900
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004454e0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 6
call fcn.00445e90
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call fcn.00445e90
push dword [esi + 0x214]
movzx eax, byte [esi + 0x1d4]
push dword [esi + 0x210]
xor edi, edi
push 0x12
inc edi
push edi
push eax
push str.splash_d__curver_d._d__lstver_d._d
push ebx
call fcn.004418d2
add esp, 0x1c
cmp dword [ebp - 0x74], ebx
je 0x40ecb7
mov eax, dword [esi + 0x210]
cmp eax, edi
jl 0x40ecb7
mov byte [ebp - 0x11], 1
jne 0x40ecbe
cmp dword [esi + 0x214], 0x12
jg 0x40ecc1
push ebx
push edi
jmp 0x40f0ce
mov byte [ebp - 0x11], bl
push str.APPCOMPANY
lea eax, [ebp - 0xe0]
push eax
push dword [0x490704]
call fcn.0041db8b
push ebx
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 7
call fcn.004223d3
add esp, 0xc
push str._LatestVersion.exe
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 8
call fcn.00418a32
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0xc4]
call fcn.0041b413
push ebx
push edi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call fcn.0041b413
push ebx
push edi
lea eax, [ebp - 0x6c]
push eax
push edi
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00401589
lea eax, [ebp - 0x2a4]
push eax
lea eax, [esi + 0x78]
push eax
mov byte [ebp - 4], 0xc
call fcn.00420c47
cmp al, bl
jne 0x40ed7a
push str.__couldt_download_new_version
push ebx
call fcn.004418d2
pop ecx
pop ecx
lea esi, [ebp - 0x2a4]
call fcn.00405a96
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.0041b413
jmp 0x40ecb7
push 0x44
pop edi
push edi
lea eax, [ebp - 0x170]
push ebx
push eax
call fcn.00450330
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00450330
mov dword [ebp - 0x170], edi
lea edi, [esi + 0xa0]
add esp, 0x18
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 0x144], 1
mov word [ebp - 0x140], 5
jb 0x40edc4
mov eax, dword [edi + 4]
jmp 0x40edc7
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
cmp dword [esi + 0x1ec], ebx
jne 0x40ee84
lea eax, [ebp - 0xa8]
push eax
call fcn.00421914
pop ecx
mov dword [ebp - 0x18], eax
push str.APPCOMPANY
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0xd
push dword [0x490704]
call fcn.0041db8b
push str._ExitEvent_
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0xe
call fcn.00418a32
add esp, 0xc
mov byte [ebp - 4], 0xf
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00418bb5
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1d8]
mov byte [ebp - 4], 0x10
call fcn.0041af25
push ebx
push 1
lea ecx, [ebp - 0xe0]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
call fcn.0041b413
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.00418bb5
add esp, 0xc
cmp byte [ebp - 0x11], bl
mov byte [ebp - 4], 0x11
je 0x40efe8
lea eax, [ebp - 0x118]
push eax
mov eax, dword [0x49070c]
call fcn.004023c2
mov dword [ebp - 0x18], eax
push 0x474528
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1a8]
push eax
mov byte [ebp - 4], 0x12
call fcn.00418a32
add esp, 0xc
push str.__TP
push eax
lea eax, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 0x13
call fcn.00418a32
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x14
call fcn.00418bb5
add esp, 0xc
push str.__E
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x15
call fcn.00418a32
add esp, 0xc
lea ecx, [esi + 0x1d8]
push ecx
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x16
call fcn.00418bb5
add esp, 0xc
push str.__U
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x17
call fcn.00418a32
add esp, 0xc
mov byte [ebp - 4], 0x18
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00418bb5
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x19
call fcn.0041af25
push ebx
push 1
lea ecx, [ebp - 0xe0]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0x1c4]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0x18c]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0x1a8]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x11
call fcn.0041b413
cmp byte [esi + 0x1d5], bl
je 0x40f026
push 0x474524
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00418a32
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call fcn.0041af25
push ebx
push 1
lea ecx, [ebp - 0x118]
call fcn.0041b413
lea eax, [esi + 0x1d8]
cmp dword [eax + 0x18], 0x10
jb 0x40f037
mov eax, dword [eax + 4]
jmp 0x40f03a
add eax, 4
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1b
cmp dword [edi + 0x18], 0x10
jb 0x40f057
mov edi, dword [edi + 4]
jmp 0x40f05a
add edi, 4
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x40f066
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x170]
push ecx
push edi
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x40f0f6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.__ERROR:_cant_run_new_one__err_d_
push ebx
call fcn.004418d2
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x40f0aa
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0041b413
lea esi, [ebp - 0x2a4]
call fcn.00405a96
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0041b413
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x1c]
call fcn.0041bdf9
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
cmp byte [ebp - 0x11], bl
jne 0x40f100
call fcn.004369c0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
push 0xffffffffffffffff
mov dword [ebp - 0x20], eax
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push str.__new_one_finish_init
push ebx
call fcn.004418d2
pop ecx
pop ecx
call fcn.004369c0
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push str.__new_one_finish_life
push ebx
call fcn.004418d2
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ecx
pop ecx
push dword [ebp - 0x30]
call edi
push dword [ebp - 0x34]
call edi
push 6
pop eax
mov ecx, esi
call fcn.00412ca8
mov al, byte [ebp - 0x11]
neg al
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x20
or dword [esi + 0x1b8], eax
cmp dword [ebp - 0x18], ebx
je 0x40f17c
push dword [ebp - 0x18]
call edi
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0041b413
lea esi, [ebp - 0x2a4]
call fcn.00405a96
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0041b413
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x1c]
call fcn.0041bdf9
xor al, al
jmp 0x40f0e7