Function at 0x40a82c
Capabilities:
Copy file
Create directory

Disassembly:
push 0x28
mov eax, 0x461deb
call fcn.0044806b
push str.SetupArmUpdate...
lea ecx, [ebp - 0x1c]
call fcn.00402060
xor esi, esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411fb7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor ebx, ebx
inc ebx
cmp byte [0x49d3a9], 0
mov dword [ebp - 0x1c], ebx
jne 0x40ae37
mov edi, dword [ebp + 8]
cmp dword [edi + 0x554], esi
jne 0x40ae37
lea eax, [edi + 0x86c]
mov byte [0x49d3a9], bl
call fcn.00405282
test eax, eax
je 0x40a8bd
push str.back_from_arm_update__skipping
lea ecx, [ebp + 8]
call fcn.00402060
push 2
pop eax
push esi
lea ecx, [ebp + 8]
push ecx
mov dword [ebp - 4], eax
push eax
jmp 0x40ae4e
lea ecx, [edi + 0x5c4]
call fcn.00415881
test eax, eax
je 0x40ae61
lea eax, [edi + 0x5c4]
push eax
call fcn.00418833
test eax, eax
jne 0x40a904
push dword [0x49d440]
lea ecx, [edi + 0x524]
call fcn.00409001
test eax, eax
jne 0x40ae61
push esi
call fcn.0040928f
jmp 0x40ae61
mov dword [ebp - 0x34], vtable.CManifest.0
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], 3
call fcn.00420598
test eax, eax
je 0x40a92f
lea ecx, [ebp - 0x34]
call fcn.0041fdde
jmp 0x40ae61
push str.Continue_without_dismissed_ARM_update
lea ecx, [ebp - 0x18]
call fcn.00402060
mov byte [ebp - 4], 4
mov ebx, dword [edi + 0x4b0]
cmp ebx, esi
jne 0x40a967
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [ebp - 0x34]
call fcn.0041fdde
mov eax, esi
jmp 0x40ae63
push dword [0x49d440]
lea ecx, [edi + 0x524]
call fcn.00409001
test eax, eax
jne 0x40a982
push esi
call fcn.0040928f
cmp dword [0x49dcc8], 0x22344
je 0x40ade9
lea ecx, [edi + 0x5c4]
call fcn.00416937
test eax, eax
je 0x40ade9
cmp dword [edi + 0xc0], esi
jne 0x40a94d
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x5c4]
call fcn.004051c7
push esi
mov byte [ebp - 4], 6
call fcn.004466dc
pop ecx
push eax
call fcn.004466a8
pop ecx
call fcn.004466ba
push eax
push dword [ebp - 0x10]
lea esi, [edi + 0xd8]
push str._s_d
push esi
call fcn.0040202c
mov eax, dword [ebx + 0x1c]
add esp, 0x10
cmp eax, 3
jne 0x40ac3a
lea eax, [ebp - 0x10]
push eax
push 0x49d438
add ebx, 8
push ebx
call fcn.00401658
add esp, 0xc
test eax, eax
jne 0x40aa2d
lea esi, [edi + 0x4ac]
call fcn.0042b523
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x40a94d
push 0x49d438
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401d7a
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00401aba
mov ebx, eax
pop ecx
neg ebx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040253e
test bl, bl
jne 0x40aa10
push 0x46addc
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00408f8a
add esp, 0xc
call fcn.00401000
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040253e
test bl, bl
je 0x40addf
mov edi, str.AdobeARM.exe_not_found_in_folder:
push edi
lea ecx, [ebp - 0x14]
call fcn.00402060
push 0
push esi
lea eax, [ebp - 0x14]
push eax
push 2
mov byte [ebp - 4], 8
call fcn.00411b31
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
push str.msi_stage
mov ecx, esi
call fcn.00409023
push str.ARM_update_folder:
lea ecx, [ebp - 0x14]
call fcn.00402060
push 0
push esi
lea eax, [ebp - 0x14]
push eax
push 2
mov byte [ebp - 4], 9
call fcn.00411b31
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
push 0x46addc
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00408f8a
add esp, 0xc
call fcn.00401000
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040253e
test bl, bl
je 0x40addf
push edi
lea ecx, [ebp - 0x1c]
call fcn.00402060
xor edi, edi
push edi
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
mov byte [ebp - 4], 0xa
call fcn.00411b31
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov esi, dword [ebp + 8]
add esi, 0x4ac
call fcn.0042b523
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x40ac26
push str.Extract_ARM_update_failed
lea ecx, [ebp + 8]
call fcn.00402060
push edi
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 0xb
call fcn.00411fb7
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, 0x46a354
push eax
lea ecx, [ebp - 0x14]
call fcn.00402060
push str.SetupArmUpdate_returns
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.00402060
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 0x11
call fcn.00411b31
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [ebp - 0x34]
call fcn.0041fdde
mov eax, dword [ebp - 0x1c]
jmp 0x40ae63
push edi
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.00411fb7
add esp, 0xc
jmp 0x40add5
cmp eax, 1
jne 0x40addf
call fcn.00434892
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040210b
mov byte [ebp - 4], 0xc
mov eax, dword [esi]
and dword [ebp - 0x14], 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40ac78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_self_update_folder_failed
mov ebx, edi
jmp 0x40ace4
push 0x46aefc
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00408f8a
add esp, 0xc
push 0x49d43c
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401d7a
mov eax, dword [eax]
mov ebx, dword [ebx + 8]
add esp, 0xc
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040253e
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040253e
test bl, bl
je 0x40acf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp + 8]
push eax
push 0x46af00
call fcn.00409db1
mov dword [ebp - 0x14], eax
jmp 0x40ad9b
call fcn.00434892
push eax
lea ecx, [ebp - 0x20]
call fcn.0040210b
push 0
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.0042f38e
mov edi, dword [ebp - 0x20]
pop ecx
test eax, eax
jne 0x40ad1e
push 2
push str.Get_launcher_path_failed
jmp 0x40ad84
push 0x46aefc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00408f8a
add esp, 0xc
push 0x49d434
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xf
call fcn.00401d7a
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x24]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040253e
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040253e
test bl, bl
je 0x40ad8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Copy_launcher_failed
mov ebx, dword [ebp + 8]
call fcn.00409db1
mov dword [ebp - 0x14], eax
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0xc
call fcn.0040253e
cmp dword [ebp - 0x14], 0
je 0x40adc6
mov esi, dword [ebp + 8]
add esi, 0x4ac
call fcn.0042b523
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40adc6
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.00411fb7
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x1c], 0
je 0x40abb3
mov eax, 0x468f88
jmp 0x40abb8
lea esi, [edi + 0x4ac]
call fcn.0042b523
mov esi, eax
test esi, esi
jne 0x40ae22
push str.DownloadArmUpdate_failed
lea ecx, [ebp + 8]
call fcn.00402060
push esi
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00411fb7
mov ecx, dword [ebp + 8]
add esp, 0xc
jmp 0x40aa20
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.00411fb7
add esp, 0xc
jmp 0x40a94d
push str.skipping__already_executed
lea ecx, [ebp + 8]
call fcn.00402060
push esi
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
push 2
call fcn.00411fb7
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, ebx
call fcn.00448143
ret 4