Function at 0x42635a
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x4aec90
call fcn.0046ac08
mov ebx, ecx
mov dword [ebp - 0x28], ebx
push str.DownloadArmManifest...
lea ecx, [ebp - 0x1c]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push 0
push 2
pop esi
mov ecx, esi
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea edi, [ebx + 0x20]
push edi
call fcn.004210bc
test eax, eax
jne 0x426548
mov byte [ebp - 0xd], al
mov ecx, 0x515e58
lea eax, [ebp - 0xd]
push eax
push 0
push str.ERROR_CDP
push str.Get_ARM_Manifest
call main
push str.CleanDestinationPath_failed
lea ecx, [ebp - 0x14]
call fcn.00402829
push 0
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x4ec0b4
lea eax, [ebx + 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402459
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], esi
push ebx
call main
pop ecx
push eax
call main
pop ecx
call fcn.00489368
mov esi, eax
call fcn.00450db1
push eax
lea ecx, [ebp - 0x14]
call main
push esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push str._s_d
push eax
call main
mov esi, dword [ebp - 0x14]
add esp, 0x10
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ebx, eax
cmp ebx, 0xa1
je 0x426671
cmp ebx, 3
je 0x426671
push 0x5c
push dword [edi]
call main
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x426488
or ebx, 0xffffffff
jmp 0x42648c
sub ebx, dword [edi]
sar ebx, 1
call fcn.00450db1
push eax
lea ecx, [ebp - 0x18]
call main
mov byte [ebp - 4], 5
cmp ebx, 0xffffffff
je 0x426638
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x24]
push eax
call main
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call main
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x4cead0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402459
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004024b8
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call main
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, dword [ebp - 0x28]
push dword [edi]
call dword [sym.imp.wininet.dll_DeleteUrlCacheEntryW]
lea eax, [ebx + 0x24]
mov dword [ebp - 0x20], 1
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push 0xea60
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], eax
xor esi, esi
call fcn.0041f2f0
pop ecx
pop ecx
cmp eax, 6
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
mov ecx, 0x515e58
push eax
jne 0x426712
push esi
push str.BITS_ARM_Manifest
call main
push str.BITs_download_success:
lea ecx, [ebp - 0x20]
call fcn.00402829
push esi
push edi
push 2
lea edx, [ebp - 0x20]
mov dword [ebp - 4], 0xa
pop ecx
call fcn.00416dc0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [edi]
or edx, 0xffffffff
push str.2_16_17_18_19_52_53_54_63_68_81_82_83_84_85_86_87_88_89_90_91_92_93_97
call main
mov dword [ebp - 0x28], eax
pop ecx
lea ecx, [ebp - 0x20]
test eax, eax
jne 0x4266bc
push str.valid_after_BITs_download:
inc esi
call fcn.00402829
push 0
push edi
push 2
lea edx, [ebp - 0x20]
mov dword [ebp - 4], 0xc
pop ecx
call fcn.00416dc0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push 0
push str.SUCCESS_BITS
push str.Get_ARM_Manifest
mov ecx, 0x515e58
call main
jmp 0x42675c
push str.failed_to_get_arm_manifest_name_from
lea ecx, [ebp - 0x20]
call fcn.00402829
push 0
push edi
push 2
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 7
pop ecx
call fcn.00416dc0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4266a2
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp - 0x20]
call fcn.00402829
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
push 2
lea edx, [ebp - 0x20]
pop ecx
call fcn.00416dc0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x14]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x4268ec
push str.ARM_manifest_invalid_after_BITs_download
call fcn.00402829
mov dword [ebp - 4], 0xd
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
mov ecx, 0x5163b0
push eax
push 0x1fc98
call fcn.00415683
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push dword [ebp - 0x28]
mov ecx, 0x515e58
push str.Signature_Validation_Error
call main
jmp 0x42675c
push dword [ebp - 0x20]
push str.BITS_ARM_Manifest
call main
push str.BITs_failed__download_manifest_Job_is_not_in_Transferred_state
lea ecx, [ebp - 0x20]
call fcn.00402829
mov dword [ebp - 4], 0xb
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
mov ecx, 0x5163b0
push eax
push 0x2240c
call fcn.00415683
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [0x515f40], 0
jne 0x4266b5
test esi, esi
jne 0x4268ea
call fcn.00450db1
push eax
lea ecx, [ebp - 0x18]
call main
push str.IDS_TITLE_CHECKING
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xe
call fcn.00402829
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x20]
mov esi, 0x515e58
push eax
mov ecx, esi
call fcn.0040d2ec
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call main
push str.WinINet_ARM_Manifest
lea ecx, [ebp - 0x20]
call fcn.00402829
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x10
push eax
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
lea eax, [ebx + 0x24]
push eax
push edi
call fcn.004250e7
mov byte [ebp - 4], 0xe
mov esi, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402e64
test esi, esi
je 0x4268b1
mov ecx, dword [edi]
or edx, 0xffffffff
push str.2_16_17_18_19_52_53_54_63_68_81_82_83_84_85_86_87_88_89_90_91_92_93_97
call main
mov ebx, eax
pop ecx
lea ecx, [ebp - 0x20]
test ebx, ebx
je 0x426865
push str.invalid_after_BB_download:
xor esi, esi
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 0x11
push ebx
push edi
lea edx, [ebp - 0x20]
inc ecx
call fcn.00416dc0
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push ebx
push str.Signature_Validation_Error
mov ecx, 0x515e58
call main
jmp 0x4268df
push str.valid_after_BB_download:
call fcn.00402829
xor ebx, ebx
mov byte [ebp - 4], 0x12
xor ecx, ecx
lea edx, [ebp - 0x20]
push ebx
push edi
inc ecx
call fcn.00416dc0
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push eax
push ebx
push str.SUCCESS_WININET
push str.Get_ARM_Manifest
mov ecx, 0x515e58
call main
jmp 0x4268df
push str.BB_download_failed:
lea ecx, [ebp - 0x24]
call fcn.00402829
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x24]
push 0
push dword [ebp - 0x1c]
xor ecx, ecx
inc ecx
call fcn.00416dc0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
call fcn.0046abd1
ret