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

Disassembly:
mov eax, 0x4673b8
call fcn.00451324
sub esp, 0x298
push ebx
push esi
push edi
mov edi, str.App::CheckForNewerInstallerAndRunIt_2029
mov dword [ebp - 0x10], esp
push edi
mov esi, ecx
call fcn.0044f750
mov dword [ebp - 0x1c], eax
push edi
xor ebx, ebx
push 0x473e74
push ebx
mov dword [ebp - 4], ebx
call fcn.0043fb8a
add esp, 0x10
push 0x470e4a
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00441bc0
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.00444bb0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00443790
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 6
call fcn.00444140
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call fcn.00444140
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.0043fb8a
add esp, 0x1c
cmp dword [ebp - 0x74], ebx
je 0x40e3c9
mov eax, dword [esi + 0x210]
cmp eax, edi
jl 0x40e3c9
mov byte [ebp - 0x11], 1
jne 0x40e3d0
cmp dword [esi + 0x214], 0x12
jg 0x40e3d3
push ebx
push edi
jmp 0x40e7e0
mov byte [ebp - 0x11], bl
push str.APPCOMPANY
lea eax, [ebp - 0xe0]
push eax
push dword [0x48e684]
call fcn.0041cf8d
push ebx
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 7
call fcn.00421622
add esp, 0xc
push str._LatestVersion.exe
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 8
call fcn.00417e9b
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0xc4]
call fcn.0041a87c
push ebx
push edi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call fcn.0041a87c
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.00420049
cmp al, bl
jne 0x40e48c
push str.__couldt_download_new_version
push ebx
call fcn.0043fb8a
pop ecx
pop ecx
lea esi, [ebp - 0x2a4]
call fcn.00405532
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.0041a87c
jmp 0x40e3c9
push 0x44
pop edi
push edi
lea eax, [ebp - 0x170]
push ebx
push eax
call fcn.0044eba0
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.0044eba0
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 0x40e4d6
mov eax, dword [edi + 4]
jmp 0x40e4d9
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
cmp dword [esi + 0x1ec], ebx
jne 0x40e596
lea eax, [ebp - 0xa8]
push eax
call fcn.00420b63
pop ecx
mov dword [ebp - 0x18], eax
push str.APPCOMPANY
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0xd
push dword [0x48e684]
call fcn.0041cf8d
push str._ExitEvent_
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0xe
call fcn.00417e9b
add esp, 0xc
mov byte [ebp - 4], 0xf
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0041801e
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1d8]
mov byte [ebp - 4], 0x10
call fcn.0041a38e
push ebx
push 1
lea ecx, [ebp - 0xe0]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
call fcn.0041a87c
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.0041801e
add esp, 0xc
cmp byte [ebp - 0x11], bl
mov byte [ebp - 4], 0x11
je 0x40e6fa
lea eax, [ebp - 0x118]
push eax
mov eax, dword [0x48e68c]
call fcn.004023c2
mov dword [ebp - 0x18], eax
push 0x4724fc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1a8]
push eax
mov byte [ebp - 4], 0x12
call fcn.00417e9b
add esp, 0xc
push str.__TP
push eax
lea eax, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 0x13
call fcn.00417e9b
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0x14
call fcn.0041801e
add esp, 0xc
push str.__E
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x15
call fcn.00417e9b
add esp, 0xc
lea ecx, [esi + 0x1d8]
push ecx
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x16
call fcn.0041801e
add esp, 0xc
push str.__U
push eax
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x17
call fcn.00417e9b
add esp, 0xc
mov byte [ebp - 4], 0x18
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0041801e
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x19
call fcn.0041a38e
push ebx
push 1
lea ecx, [ebp - 0xe0]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0x1c4]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0x18c]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0x1a8]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x11
call fcn.0041a87c
cmp byte [esi + 0x1d5], bl
je 0x40e738
push 0x4724f8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00417e9b
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call fcn.0041a38e
push ebx
push 1
lea ecx, [ebp - 0x118]
call fcn.0041a87c
lea eax, [esi + 0x1d8]
cmp dword [eax + 0x18], 0x10
jb 0x40e749
mov eax, dword [eax + 4]
jmp 0x40e74c
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 0x40e769
mov edi, dword [edi + 4]
jmp 0x40e76c
add edi, 4
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x40e778
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 0x40e808
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.__ERROR:_cant_run_new_one__err_d_
push ebx
call fcn.0043fb8a
add esp, 0xc
cmp dword [ebp - 0x18], ebx
je 0x40e7bc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0041a87c
lea esi, [ebp - 0x2a4]
call fcn.00405532
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0041a87c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x1c]
call fcn.0041b202
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 0x40e812
call fcn.00434fa2
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.0043fb8a
pop ecx
pop ecx
call fcn.00434fa2
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push str.__new_one_finish_life
push ebx
call fcn.0043fb8a
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.004122bc
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 0x40e88e
push dword [ebp - 0x18]
call edi
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0041a87c
lea esi, [ebp - 0x2a4]
call fcn.00405532
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0041a87c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x1c]
call fcn.0041b202
xor al, al
jmp 0x40e7f9