Function at 0x41ea7d
Capabilities:
Create directory
Get session user name

Disassembly:
push 0x224
mov eax, 0x48817b
call fcn.00464e7c
mov esi, ecx
mov dword [ebp - 0x224], esi
push str.Downloading_Manifest:
lea ecx, [ebp - 0x21c]
call fcn.0040279b
xor ebx, ebx
lea edx, [ebp - 0x21c]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.___URL:
lea ecx, [ebp - 0x21c]
call fcn.0040279b
lea eax, [esi + 0x14]
xor edi, edi
push ebx
push eax
inc edi
lea edx, [ebp - 0x21c]
push 2
mov dword [ebp - 4], edi
pop ecx
mov dword [ebp - 0x220], eax
call fcn.00413900
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.___file:
lea ecx, [ebp - 0x21c]
call fcn.0040279b
push 2
pop eax
lea ebx, [esi + 4]
mov dword [ebp - 4], eax
push 0
push ebx
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.00413900
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push ebx
push str.UpdateManifestPath
call fcn.0041e894
test eax, eax
je 0x41f12c
push ebx
call fcn.0041d9a2
test eax, eax
jne 0x41ec66
push 0x202
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00466990
add esp, 0xc
mov dword [ebp - 0x22c], 0x101
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x41ed5e
lea eax, [ebp - 0x214]
push eax
call fcn.0046a019
pop ecx
push eax
lea eax, [ebp - 0x214]
add esi, 8
push eax
mov ecx, esi
call fcn.00402556
push 0
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
cmp edi, 0xa1
je 0x41ed02
cmp edi, 3
je 0x41ed02
push 0x5c
mov ecx, esi
call fcn.00423dfd
push esi
mov ecx, ebx
call fcn.00402d9f
mov esi, dword [ebp - 0x224]
mov ecx, ebx
mov eax, dword [esi + 0x18]
push dword [eax - 0xc]
push eax
call fcn.00402556
push ebx
call fcn.0041d9a2
test eax, eax
jne 0x41ec62
mov byte [ebp - 0x215], al
mov ecx, 0x4e1f90
lea eax, [ebp - 0x215]
push eax
push 5
push str.Get_Product_Manifest_Result
call fcn.004098f0
push str.Cannot_continue_manifest_download__CleanDestinationPath_failed
lea ecx, [ebp - 0x21c]
call fcn.0040279b
xor ecx, ecx
mov dword [ebp - 4], 4
push 0
lea edx, [ebp - 0x21c]
inc ecx
call fcn.00413e51
jmp 0x41ed48
mov byte [esi + 0x1c], 0
mov esi, dword [ebp - 0x220]
push dword [esi]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov edx, dword [esi]
xor edi, edi
cmp dword [0x4e2064], edi
mov ecx, 0x1d4c0
mov eax, 0x927c0
mov dword [ebp - 0x21c], 1
cmovne eax, ecx
mov ecx, ebx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0041bc50
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 0x215], 0
lea eax, [ebp - 0x215]
mov ecx, 0x4e1f90
push eax
push dword [ebp - 0x21c]
push str.BITS_Result
call fcn.004098f0
lea ecx, [ebp - 0x21c]
cmp esi, 6
jne 0x41eddf
push str.BITs_download_success:
call fcn.0040279b
push edi
push ebx
push 2
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], 7
pop ecx
call fcn.00413900
pop ecx
pop ecx
jmp 0x41ee0d
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push edi
push str.Get_Product_Manifest_Result
mov ecx, 0x4e1f90
call fcn.004098f0
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x21c]
call fcn.0040279b
xor ecx, ecx
mov dword [ebp - 4], 3
push edi
push esi
lea edx, [ebp - 0x21c]
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
xor eax, eax
jmp 0x41f12e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 0x215], 0
lea eax, [ebp - 0x215]
mov ecx, 0x4e1f90
push eax
push esi
push str.Get_Product_Manifest_Result
call fcn.004098f0
push str.GetUserName_failed
lea ecx, [ebp - 0x224]
call fcn.0040279b
push str.Cannot_continue_manifest_download_
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 5
call fcn.0040279b
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 6
push esi
push eax
lea edx, [ebp - 0x21c]
mov ecx, edi
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x224]
jmp 0x41ed4f
push str.Download_manifest_Job_is_not_in_Transferred_state
call fcn.0040279b
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x4e24cc
push eax
push 0x2240c
call fcn.004121e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebx]
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 fcn.0042d48a
mov esi, eax
pop ecx
test esi, esi
jne 0x41eea4
mov ecx, 0x4e24cc
call fcn.004121b6
xor edi, edi
lea ecx, [ebp - 0x21c]
push str.valid_after_BITs_download:
inc edi
call fcn.0040279b
push esi
push ebx
push 2
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], 9
pop ecx
call fcn.00413900
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push esi
push str.OK_BITS
mov esi, 0x4e1f90
push str.Get_Product_Manifest_Result
mov ecx, esi
call fcn.004098b0
jmp 0x41ef0a
push str.manifest_invalid_after_BITs_download
lea ecx, [ebp - 0x21c]
call fcn.0040279b
mov dword [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x4e24cc
push eax
push 0x1fc98
call fcn.004121e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push esi
mov esi, 0x4e1f90
push str.Signature_Validation_Error
mov ecx, esi
call fcn.004098f0
cmp dword [0x4e2078], 0
jne 0x41ed57
test edi, edi
jne 0x41f118
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x228]
call fcn.00402824
push str.IDS_TITLE_CHECKING
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xb
call fcn.0040279b
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.0040c9da
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.0040c24b
mov esi, dword [ebp - 0x224]
xor eax, eax
push 1
push eax
push eax
push eax
push dword [ebp - 0x220]
mov ecx, esi
push ebx
call fcn.004218ce
mov edi, eax
test edi, edi
je 0x41f0c8
mov ecx, dword [ebx]
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 fcn.0042d48a
mov dword [ebp - 0x22c], eax
pop ecx
test eax, eax
je 0x41f05c
lea ecx, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push ecx
push eax
push str.Signature_Validation_Error
mov ecx, 0x4e1f90
xor edi, edi
call fcn.004098f0
push str.invalid_after_BB_download:
lea ecx, [ebp - 0x220]
call fcn.0040279b
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x220]
push dword [ebp - 0x22c]
xor ecx, ecx
push ebx
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.manifest_invalid_after_BB_download
lea ecx, [ebp - 0x220]
call fcn.0040279b
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x220]
mov ecx, 0x4e24cc
push eax
push 0x1fc98
call fcn.004121e3
mov ecx, dword [ebp - 0x220]
jmp 0x41f0f8
mov ecx, 0x4e24cc
call fcn.004121b6
xor edi, edi
lea ecx, [ebp - 0x220]
push str.valid_after_BB_download:
inc edi
call fcn.0040279b
push 0
push ebx
push 2
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 0xf
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push 0
push str.OK_BB
push str.Get_Product_Manifest_Result
mov ecx, 0x4e1f90
call fcn.004098b0
jmp 0x41f100
push str.BB_download_failed:
lea ecx, [ebp - 0x230]
call fcn.0040279b
lea eax, [esi + 0x14]
mov byte [ebp - 4], 0x10
xor ecx, ecx
lea edx, [ebp - 0x230]
push 0
push eax
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402def
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402def
test edi, edi
je 0x41f12c
jmp 0x41f11e
mov esi, dword [ebp - 0x224]
mov ecx, esi
call fcn.0042063a
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov eax, edi
call fcn.00464e26
ret