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

Disassembly:
push 0x224
mov eax, 0x4ad18b
call fcn.00469d7c
mov esi, ecx
mov dword [ebp - 0x224], esi
push str.Downloading_Manifest:
lea ecx, [ebp - 0x21c]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x21c]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00414da1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___URL:
lea ecx, [ebp - 0x21c]
call fcn.00402829
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.00414670
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___file:
lea ecx, [ebp - 0x21c]
call fcn.00402829
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.00414670
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
push str.UpdateManifestPath
call fcn.0041f8ee
test eax, eax
je 0x42018e
push ebx
call fcn.0041e9fc
test eax, eax
jne 0x41fcc8
push 0x202
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.004821b0
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 0x41fdc0
lea eax, [ebp - 0x214]
push eax
call fcn.004858bd
pop ecx
push eax
lea eax, [ebp - 0x214]
add esi, 8
push eax
mov ecx, esi
call fcn.004025c6
push 0
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
cmp edi, 0xa1
je 0x41fd64
cmp edi, 3
je 0x41fd64
push 0x5c
mov ecx, esi
call fcn.00424e7f
push esi
mov ecx, ebx
call fcn.00402e14
mov esi, dword [ebp - 0x224]
mov ecx, ebx
mov eax, dword [esi + 0x18]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push ebx
call fcn.0041e9fc
test eax, eax
jne 0x41fcc4
mov byte [ebp - 0x215], al
mov ecx, 0x515e58
lea eax, [ebp - 0x215]
push eax
push 5
push str.Get_Product_Manifest_Result
call fcn.0040a2d0
push str.Cannot_continue_manifest_download__CleanDestinationPath_failed
lea ecx, [ebp - 0x21c]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], 4
push 0
lea edx, [ebp - 0x21c]
inc ecx
call fcn.00414da1
jmp 0x41fdaa
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 [0x515f2c], 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.0041cc30
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 0x215], 0
lea eax, [ebp - 0x215]
mov ecx, 0x515e58
push eax
push dword [ebp - 0x21c]
push str.BITS_Result
call fcn.0040a2d0
lea ecx, [ebp - 0x21c]
cmp esi, 6
jne 0x41fe41
push str.BITs_download_success:
call fcn.00402829
push edi
push ebx
push 2
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], 7
pop ecx
call fcn.00414670
pop ecx
pop ecx
jmp 0x41fe6f
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push edi
push str.Get_Product_Manifest_Result
mov ecx, 0x515e58
call fcn.0040a2d0
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x21c]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], 3
push edi
push esi
lea edx, [ebp - 0x21c]
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x420190
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 0x215], 0
lea eax, [ebp - 0x215]
mov ecx, 0x515e58
push eax
push esi
push str.Get_Product_Manifest_Result
call fcn.0040a2d0
push str.GetUserName_failed
lea ecx, [ebp - 0x224]
call fcn.00402829
push str.Cannot_continue_manifest_download_
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 5
call fcn.00402829
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 6
push esi
push eax
lea edx, [ebp - 0x21c]
mov ecx, edi
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x224]
jmp 0x41fdb1
push str.Download_manifest_Job_is_not_in_Transferred_state
call fcn.00402829
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x5163b4
push eax
push 0x2240c
call fcn.00412f33
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
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.0042f307
mov esi, eax
pop ecx
test esi, esi
jne 0x41ff06
mov ecx, 0x5163b4
call fcn.00412f06
xor edi, edi
lea ecx, [ebp - 0x21c]
push str.valid_after_BITs_download:
inc edi
call fcn.00402829
push esi
push ebx
push 2
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], 9
pop ecx
call fcn.00414670
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push esi
push str.OK_BITS
mov esi, 0x515e58
push str.Get_Product_Manifest_Result
mov ecx, esi
call fcn.0040a290
jmp 0x41ff6c
push str.manifest_invalid_after_BITs_download
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov dword [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x5163b4
push eax
push 0x1fc98
call fcn.00412f33
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push esi
mov esi, 0x515e58
push str.Signature_Validation_Error
mov ecx, esi
call fcn.0040a2d0
cmp dword [0x515f40], 0
jne 0x41fdb9
test edi, edi
jne 0x42017a
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x228]
call fcn.00402899
push str.IDS_TITLE_CHECKING
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xb
call fcn.00402829
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.0040d70c
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.0040ce2c
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.00422947
mov edi, eax
test edi, edi
je 0x42012a
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.0042f307
mov dword [ebp - 0x22c], eax
pop ecx
test eax, eax
je 0x4200be
lea ecx, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push ecx
push eax
push str.Signature_Validation_Error
mov ecx, 0x515e58
xor edi, edi
call fcn.0040a2d0
push str.invalid_after_BB_download:
lea ecx, [ebp - 0x220]
call fcn.00402829
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x220]
push dword [ebp - 0x22c]
xor ecx, ecx
push ebx
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.manifest_invalid_after_BB_download
lea ecx, [ebp - 0x220]
call fcn.00402829
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x220]
mov ecx, 0x5163b4
push eax
push 0x1fc98
call fcn.00412f33
mov ecx, dword [ebp - 0x220]
jmp 0x42015a
mov ecx, 0x5163b4
call fcn.00412f06
xor edi, edi
lea ecx, [ebp - 0x220]
push str.valid_after_BB_download:
inc edi
call fcn.00402829
push 0
push ebx
push 2
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 0xf
pop ecx
call fcn.00414670
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
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, 0x515e58
call fcn.0040a290
jmp 0x420162
push str.BB_download_failed:
lea ecx, [ebp - 0x230]
call fcn.00402829
lea eax, [esi + 0x14]
mov byte [ebp - 4], 0x10
xor ecx, ecx
lea edx, [ebp - 0x230]
push 0
push eax
inc ecx
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test edi, edi
je 0x42018e
jmp 0x420180
mov esi, dword [ebp - 0x224]
mov ecx, esi
call fcn.004216b3
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov eax, edi
call fcn.00469d26
ret