Function at 0x40b9c0
Capabilities:
Copy file
Create directory
Delete file
Get common file path

Disassembly:
push 0x244
mov eax, 0x4ade3c
call fcn.0046c44c
mov esi, ecx
mov dword [ebp - 0x240], esi
push str.SetupArmUpdate...
lea ecx, [ebp - 0x228]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x228]
push ebx
push 2
pop edi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp byte [0x51b2f5], bl
jne 0x40c0bf
cmp byte [0x51ac94], bl
jne 0x40c0bf
lea ecx, [esi + 0x580]
mov byte [0x51b2f5], 1
call fcn.0040329e
test eax, eax
je 0x40ba76
push str.back_from_arm_update__skipping
lea ecx, [ebp - 0x228]
call fcn.00402829
push ebx
lea edx, [ebp - 0x228]
mov dword [ebp - 4], edi
mov ecx, edi
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402e64
xor eax, eax
inc eax
jmp 0x40c0f5
lea ebx, [esi + 0x2bc]
mov ecx, ebx
call fcn.0041e07d
test eax, eax
je 0x40ba6e
mov ecx, ebx
call fcn.00423953
push dword [0x51acf4]
lea ecx, [esi + 0x19c]
mov ebx, eax
call fcn.0040ac4f
test eax, eax
jne 0x40baad
push ecx
mov ecx, esi
call fcn.0040af70
test ebx, ebx
jne 0x40bab8
xor eax, eax
jmp 0x40c0f5
and dword [ebp - 0x24c], 0
mov dword [ebp - method.CManifest.virtual_0], vtable.CManifest.0
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 3
call fcn.0042d0f0
mov ecx, dword [esi + 0x2dc]
mov edi, eax
sub ecx, 0x10
push ecx
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.00446984
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e64
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x2e4]
sub eax, 0x10
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
mov eax, esp
mov byte [ebp - 4], 5
push 0x4d25d0
lea ecx, [ebp - 0x22c]
push ecx
push eax
call fcn.00402459
add esp, 0xc
xor ecx, ecx
call fcn.004467b2
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e64
test edi, edi
jne 0x40c0b0
push str.Continue_without_dismissed_ARM_update
lea ecx, [ebp - 0x238]
call fcn.00402829
mov esi, dword [ebp - 0x240]
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x130]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x40c0a2
push dword [0x51acf4]
lea ecx, [esi + 0x19c]
call fcn.0040ac4f
test eax, eax
jne 0x40bbb1
push ecx
mov ecx, esi
call fcn.0040af70
mov eax, dword [ebp - 0x230]
xor edi, edi
inc edi
cmp dword [eax + 0x1c], edi
je 0x40bc0c
push str.not_supported_self_update_type_
lea ecx, [ebp - 0x228]
call fcn.00402829
push 0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 7
push eax
push 2
lea edx, [ebp - 0x228]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi + 0x12c]
call fcn.0043d90d
mov ebx, eax
jmp 0x40c0a2
call fcn.00452601
push eax
lea ecx, [ebp - 0x248]
call fcn.00402899
push str.WinARM
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 8
call fcn.00402829
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x228]
call fcn.00414f05
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [0x51b28c], 0x22344
je 0x40c043
lea ecx, [esi + 0x2bc]
call fcn.004200de
test eax, eax
je 0x40c043
cmp dword [esi + 0xe8], 0
je 0x40bc8b
xor ebx, ebx
jmp 0x40c094
push 0x105
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00484bc0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
xor eax, eax
push eax
push eax
push 0x8023
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x22c], eax
test eax, eax
jns 0x40bcfa
push str.SHGetFolderPath_AllUsers_failed:
lea ecx, [ebp - 0x228]
call fcn.00402829
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x228]
push dword [ebp - 0x22c]
mov ecx, edi
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x228]
mov ebx, eax
lea ecx, [ecx - 0x10]
jmp 0x40c03c
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402829
push str.AdobeARMS_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xc
call fcn.0040259d
push 0
push dword [ebp - 0x234]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x244], eax
cmp eax, 0xa1
je 0x40bfe1
cmp eax, 3
je 0x40bfe1
push 0
call fcn.0048af3e
pop ecx
push eax
call fcn.0048aea9
pop ecx
call fcn.0048ae88
push eax
push dword [ebp - 0x234]
lea ecx, [esi + 0x110]
push str._s_d
push ecx
mov dword [ebp - 0x228], ecx
call fcn.004027d2
and dword [ebp - 0x244], 0
add esp, 0x10
push 0
push dword [esi + 0x110]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40bdb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_self_update_folder_failed
call fcn.0040b563
mov edi, eax
jmp 0x40bf51
push 0x4d1898
push dword [ebp - 0x228]
lea eax, [ebp - 0x23c]
push eax
call fcn.00402459
add esp, 0xc
push 0x51acf0
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xe
push eax
call fcn.004024b8
mov ecx, dword [ebp - 0x230]
add esp, 0xc
add ecx, 8
mov dword [ebp - 0x230], ecx
push 0
push dword [eax]
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x22c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff0
call fcn.00402e64
test esi, esi
jne 0x40be3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Copy_self_update_file_failed
call fcn.0040b563
mov edi, eax
jmp 0x40bf4b
mov esi, dword [ebp - 0x230]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40be8b
push str.failed_to_cleanup_file:
lea ecx, [ebp - 0x230]
call fcn.00402829
mov byte [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea edx, [ebp - 0x230]
mov ecx, edi
call fcn.00414600
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.00452601
push eax
lea ecx, [ebp - 0x230]
call fcn.00402899
xor edx, edx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x230]
call fcn.00442c50
mov esi, dword [ebp - 0x230]
test eax, eax
jne 0x40bec7
push 2
push str.Get_launcher_path_failed
call fcn.0040b563
mov edi, eax
jmp 0x40bf3f
push 0x4d1898
push dword [ebp - 0x228]
lea eax, [ebp - 0x22c]
push eax
call fcn.00402459
add esp, 0xc
push 0x51acec
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x11
push eax
call fcn.004024b8
add esp, 0xc
push 0
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x23c]
mov edi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00402e64
test edi, edi
jne 0x40bf39
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Copy_launcher_failed
jmp 0x40bebe
mov edi, dword [ebp - 0x244]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0xc
call fcn.00402e64
mov esi, dword [ebp - 0x240]
test edi, edi
je 0x40bf77
lea ecx, [esi + 0x12c]
call fcn.0043d90d
mov ebx, eax
test ebx, ebx
je 0x40bf77
push 0
push 2
lea edx, [ebp - 0x238]
pop ecx
call fcn.00414d4f
pop ecx
mov ecx, 0x4d2324
test ebx, ebx
mov eax, str.1324
cmove eax, ecx
lea ecx, [ebp - 0x22c]
push eax
call fcn.00402829
push 0x4d2328
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x12
call fcn.00402829
push 0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x13
push eax
push 2
lea edx, [ebp - 0x230]
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x40c033
push str.__SHCreateDirectoryEx_failed:
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00402459
add esp, 0xc
push dword [ebp - 0x244]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xd
push ecx
mov edx, eax
mov ecx, edi
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi + 0x12c]
call fcn.0043d90d
mov ebx, eax
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402e64
jmp 0x40c094
lea ecx, [esi + 0x12c]
call fcn.0043d90d
mov ebx, eax
test ebx, ebx
jne 0x40c083
push str.DownloadArmUpdate_failed
lea ecx, [ebp - 0x22c]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
pop ecx
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x22c]
jmp 0x40bcf2
push 0
push 2
lea edx, [ebp - 0x238]
pop ecx
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x238]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x250]
call fcn.0042ca62
mov eax, ebx
jmp 0x40c0f5
push str.skipping__already_executed
lea ecx, [ebp - 0x228]
call fcn.00402829
push ebx
xor edi, edi
lea edx, [ebp - 0x228]
push 2
inc edi
pop ecx
mov dword [ebp - 4], edi
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046c3f6
ret