Function at 0x40768b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44fded
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x47bd50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.SetupArmUpdate...
lea ecx, [esp + 0x18]
call fcn.00402148
and dword [esp + 0x30], 0
push 0
lea eax, [esp + 0x18]
push eax
push 2
call fcn.0040e1e3
or dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov ebx, dword [edi + 0x4a8]
test ebx, ebx
jne 0x4076fd
xor eax, eax
inc eax
jmp 0x407a4e
cmp dword [0x480a5c], 0x22344
je 0x4079d9
lea esi, [edi + 0x564]
push esi
call fcn.00411b8f
test eax, eax
je 0x4079d9
cmp dword [edi + 0xc0], 0
je 0x407731
xor eax, eax
jmp 0x407a4e
push 0
call fcn.00434e6e
pop ecx
push eax
call fcn.00434e3a
pop ecx
call fcn.00434e4c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
mov eax, esi
call fcn.00401000
mov dword [esp + 0x30], 3
push dword [esp + 0x14]
mov eax, dword [eax]
push eax
lea esi, [edi + 0xd4]
push str._s_d
push esi
call fcn.004020dd
or dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
push 0x480400
add ebx, 8
push ebx
call fcn.00401660
pop ecx
pop ecx
test eax, eax
je 0x4079cc
push 0x480400
mov ecx, esi
call fcn.00401ac3
pop ecx
test eax, eax
je 0x4079cc
push 0x4576a8
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004085d4
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push dword [eax]
call ebx
mov ecx, dword [esp + 0x20]
cmp eax, 0xffffffff
sete byte [esp + 0x13]
add ecx, 0xfffffff0
call fcn.004025ca
cmp byte [esp + 0x13], 0
je 0x4079c2
push str.AdobeARM.exe_not_found_in_folder:
lea ecx, [esp + 0x18]
call fcn.00402148
push 0
push esi
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x40], 4
call fcn.0040dd5d
or dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
push str.msi_stage
mov ecx, esi
call fcn.004086b5
push str.ARM_update_folder:
lea ecx, [esp + 0x18]
call fcn.00402148
push 0
push esi
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x40], 5
call fcn.0040dd5d
or dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
push 0x4576a8
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004085d4
add esp, 0xc
push dword [eax]
call ebx
mov ecx, dword [esp + 0x20]
cmp eax, 0xffffffff
sete bl
add ecx, 0xfffffff0
call fcn.004025ca
test bl, bl
je 0x4079c2
push str.AdobeARM.exe_not_found_in_folder:
lea ecx, [esp + 0x18]
call fcn.00402148
push 0
push esi
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x40], 6
call fcn.0040dd5d
or dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
lea esi, [edi + 0x4a4]
call fcn.0041d476
lea ecx, [esp + 0x14]
test eax, eax
jne 0x40798e
push str.Extract_ARM_update_failed
call fcn.00402148
mov dword [esp + 0x30], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
push ecx
push 0x22344
lea edx, [edi + 0x61c]
mov ecx, eax
call fcn.0040c5be
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, 0x457788
push eax
lea ecx, [esp + 0x20]
call fcn.00402148
push 0x45778c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 9
call fcn.00402148
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 2
mov byte [esp + 0x40], 0xa
call fcn.0040dd5d
mov ecx, dword [esp + 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004025ca
jmp 0x4076f5
push str.Continue_without_dismissed_ARM_update
call fcn.00402148
push 0
lea eax, [esp + 0x18]
push eax
push 2
mov dword [esp + 0x3c], 8
call fcn.0040e1e3
or dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, 0x457784
jmp 0x407936
lea esi, [edi + 0x4a4]
call fcn.0041d476
jmp 0x407a4e
lea esi, [edi + 0x4a4]
call fcn.0041d476
mov esi, eax
lea ecx, [esp + 0x14]
test esi, esi
jne 0x407a1f
push str.DownloadArmUpdate_failed
call fcn.00402148
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
push ecx
push 0x22344
lea edx, [edi + 0x61c]
mov ecx, eax
call fcn.0040c5be
jmp 0x407a40
push str.Continue_without_dismissed_ARM_update
call fcn.00402148
push 2
pop eax
push 0
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x3c], eax
call fcn.0040e1e3
add esp, 0xc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret