Function at 0x41b6a3
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x46f2c5
call fcn.004529c4
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.004117b0
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.0041774e
test eax, eax
jne 0x41b888
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.004077c7
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.004117b0
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 0x4956b8
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040740d
add esp, 0xc
push ebx
mov dword [ebp - 4], esi
call main
pop ecx
push eax
call main
pop ecx
call fcn.00450bb9
mov esi, eax
call fcn.0043eec2
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 0x41b947
cmp eax, 3
je 0x41b947
push 0x5c
mov ecx, edi
call fcn.00408b0c
mov dword [ebp - 0x24], eax
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x18]
call fcn.004013a1
mov byte [ebp - 4], 5
cmp dword [ebp - 0x24], 0xffffffff
je 0x41b916
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 main
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00407768
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
push 0x479924
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040740d
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.00407768
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.00416301
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 main
xor edi, edi
cmp eax, edi
jne 0x41b992
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.004112e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov esi, 0x4b76d8
jmp 0x41b9ac
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.004112e0
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x18]
jmp 0x41b970
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.004112e0
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 0x41bb09
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 main
cmp dword [0x4b7798], edi
jne 0x41b98b
cmp dword [ebp - 0x18], edi
jne 0x41baee
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x20]
call fcn.004013a1
push 0x47a350
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.0040a7e6
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017df
mov edx, edi
call fcn.0040a0b6
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.0041a67e
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x41bab3
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.004077c7
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
or edi, 0xffffffff
call main
mov esi, eax
xor ebx, ebx
lea ecx, [ebp + 8]
cmp esi, ebx
je 0x41ba9f
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.004112e0
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 main
jmp 0x41bae1
push str.valid_after_BB_download:
call fcn.004012e2
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
jmp 0x41bac8
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.004112e0
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 0x41bb06
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.004077c7
mov eax, dword [ebp - 0x18]
call fcn.00452a9c
ret 4