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

Disassembly:
push 0x224
mov eax, 0x4acadb
call fcn.004696cc
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.00414cf1
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.004145c0
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.004145c0
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.0041f7e3
test eax, eax
je 0x42007b
push ebx
call fcn.0041e8f1
test eax, eax
jne 0x41fbb5
push 0x202
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00481b00
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 0x41fcad
lea eax, [ebp - 0x214]
push eax
call fcn.0048520d
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 0x41fc51
cmp edi, 3
je 0x41fc51
push 0x5c
mov ecx, esi
call fcn.00424d56
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.0041e8f1
test eax, eax
jne 0x41fbb1
mov byte [ebp - 0x215], al
mov ecx, 0x515e58
lea eax, [ebp - 0x215]
push eax
push 5
push str.Get_Product_Manifest_Result
call fcn.0040a240
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.00414cf1
jmp 0x41fc97
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.0041cb70
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.0040a240
lea ecx, [ebp - 0x21c]
cmp esi, 6
jne 0x41fd2e
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.004145c0
pop ecx
pop ecx
jmp 0x41fd5c
lea eax, [ebp - 0x215]
mov byte [ebp - 0x215], 0
push eax
push edi
push str.Get_Product_Manifest_Result
mov ecx, 0x515e58
call fcn.0040a240
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.004145c0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x42007d
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.0040a240
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.004145c0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x224]
jmp 0x41fc9e
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.00412ea3
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.0042f189
mov esi, eax
pop ecx
test esi, esi
jne 0x41fdf3
mov ecx, 0x5163b4
call fcn.00412e76
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.004145c0
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.0040a200
jmp 0x41fe59
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.00412ea3
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.0040a240
cmp dword [0x515f40], 0
jne 0x41fca6
test edi, edi
jne 0x420067
call fcn.0044f841
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.0040d67c
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.0040cd9c
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.00422827
mov edi, eax
test edi, edi
je 0x420017
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.0042f189
mov dword [ebp - 0x22c], eax
pop ecx
test eax, eax
je 0x41ffab
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.0040a240
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.004145c0
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.00412ea3
mov ecx, dword [ebp - 0x220]
jmp 0x420047
mov ecx, 0x5163b4
call fcn.00412e76
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.004145c0
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.0040a200
jmp 0x42004f
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.004145c0
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 0x42007b
jmp 0x42006d
mov esi, dword [ebp - 0x224]
mov ecx, esi
call fcn.00421593
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov eax, edi
call fcn.00469676
ret