Function at 0x41b713
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x46f88d
call fcn.00452eb4
push str.DownloadArmManifest...
lea ecx, [ebp - 0x20]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov edi, dword [ebp + 8]
add edi, 0x1c
mov esi, edi
mov dword [ebp - 0x14], edi
call fcn.004177b7
test eax, eax
jne 0x41b8f8
lea eax, [ebp - 0xd]
push eax
push ebx
push str.ERROR_CDP
push str.Get_ARM_Manifest_Result
mov esi, 0x4b76d8
mov byte [ebp - 0xd], bl
call fcn.00407812
push str.CleanDestinationPath_failed
lea ecx, [ebp - 0x1c]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
pop esi
push esi
mov dword [ebp - 4], 1
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp + 8]
add eax, 0x24
push 0x4956c0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407458
add esp, 0xc
push ebx
mov dword [ebp - 4], esi
call fcn.004510cb
pop ecx
push eax
call fcn.00451097
pop ecx
call fcn.004510a9
mov esi, eax
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013a1
push esi
mov byte [ebp - 4], 3
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push str._s_d
push eax
call fcn.004012c2
mov esi, dword [ebp - 0x1c]
add esp, 0x10
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x28], eax
cmp eax, 0xa1
je 0x41b9b7
cmp eax, 3
je 0x41b9b7
push 0x5c
mov ecx, edi
call fcn.00408b57
mov dword [ebp - 0x24], eax
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x18]
call fcn.004013a1
mov byte [ebp - 4], 5
cmp dword [ebp - 0x24], 0xffffffff
je 0x41b986
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x24]
mov ecx, edi
dec eax
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408b9f
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004077b3
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
push 0x479944
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407458
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 8
call fcn.00401025
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004077b3
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
push dword [edi]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [ebp + 8]
add eax, 0x20
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
push 0xea60
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 1
call fcn.00416361
mov esi, dword [edi]
add esp, 0xc
mov ebx, 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
or edi, 0xffffffff
call fcn.00421f01
xor edi, edi
cmp eax, edi
jne 0x41ba02
push str.download_success_with_BITs:
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 1
call fcn.004012e2
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push 2
mov dword [ebp - 4], 0xa
call fcn.00411336
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov esi, 0x4b76d8
jmp 0x41ba1c
push str.failed_to_get_arm_manifest_name_from
lea ecx, [ebp + 8]
call fcn.004012e2
push ebx
push edi
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 7
call fcn.00411336
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x18]
jmp 0x41b9e0
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp + 8]
call fcn.004012e2
mov byte [ebp - 4], 4
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
push 2
call fcn.00411336
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
jmp 0x41bb7c
lea ecx, [ebp - 0xd]
push ecx
push eax
mov esi, 0x4b76d8
push str.Signature_Validation_Error
mov ecx, esi
mov byte [ebp - 0xd], 0
call fcn.0040787d
cmp dword [0x4b7798], edi
jne 0x41b9fb
cmp dword [ebp - 0x18], edi
jne 0x41bb61
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x20]
call fcn.004013a1
push 0x47a370
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xb
call fcn.004012e2
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0040a83c
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, edi
push eax
mov eax, esi
call fcn.0040a101
push 1
xor edi, edi
push edi
push edi
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041a6eb
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x41bb26
lea eax, [ebp + 0xb]
push eax
push edi
push str.OK_BB
push str.Get_ARM_Manifest_Result
mov byte [ebp + 0xb], 0
call fcn.00407812
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
or edi, 0xffffffff
call fcn.00421f01
mov esi, eax
xor ebx, ebx
lea ecx, [ebp + 8]
cmp esi, ebx
je 0x41bb12
push str.invalid_after_BB_download:
mov dword [ebp - 0x18], ebx
call fcn.004012e2
push esi
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 0xd
call fcn.00411336
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [ebp + 0xb]
push eax
push esi
push str.Signature_Validation_Error
mov ecx, 0x4b76d8
mov byte [ebp + 0xb], bl
call fcn.0040787d
jmp 0x41bb54
push str.valid_after_BB_download:
call fcn.004012e2
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
jmp 0x41bb3b
push str.BB_download_failed:
lea ecx, [ebp + 8]
call fcn.004012e2
push edi
mov byte [ebp - 4], 0xf
push dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
push 1
call fcn.00411336
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x41bb79
lea eax, [ebp + 0xb]
push eax
push edi
push str.OK_BITS
push str.Get_ARM_Manifest_Result
mov byte [ebp + 0xb], 0
call fcn.00407812
mov eax, dword [ebp - 0x18]
call fcn.00452f8c
ret 4