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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456c44
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x486d50]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x486d50]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, ecx
push str.Downloading_Manifest:
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.0040215a
xor edi, edi
push edi
lea eax, [esp + 0x14]
push eax
push 2
pop esi
push esi
mov dword [esp + 0x24c], edi
call fcn.0040e50d
or dword [esp + 0x24c], 0xffffffff
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
push str.___URL:
lea ecx, [esp + 0x14]
call fcn.0040215a
push edi
lea eax, [ebx + 0x14]
push eax
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x250], 1
call fcn.0040e087
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
push str.___file:
lea ecx, [esp + 0x14]
call fcn.0040215a
push 0
lea edi, [ebx + 8]
push edi
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x250], esi
call fcn.0040e087
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
mov esi, edi
call fcn.004117e8
test eax, eax
jne 0x411d67
push 0x200
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call fcn.0043b400
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x1c], 0x101
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x411d67
lea eax, [esp + 0x24]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.004089c0
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [esp + 0x1c], eax
cmp eax, 0xa1
je 0x411daf
cmp eax, 3
je 0x411daf
push 0x5c
mov ecx, esi
call fcn.00410061
push esi
mov ecx, edi
call fcn.00408b86
mov eax, dword [ebx + 0x18]
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00401f90
mov esi, edi
call fcn.004117e8
lea esi, [ebx + 0x14]
push dword [esi]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
mov dword [0x48ba2c], eax
mov eax, dword [0x48b504]
test eax, eax
je 0x411dfe
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00411f46
cmp dword [0x48b518], 0
mov dword [esp + 0x14], eax
je 0x411df1
xor eax, eax
jmp 0x411f22
push str.SHCreateDirectoryEx___failed:
lea ecx, [esp + 0x14]
call fcn.0040215a
mov dword [esp + 0x240], 3
push dword [esp + 0x1c]
lea eax, [esp + 0x14]
push esi
push eax
push 1
call fcn.0040e087
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025e7
mov eax, esi
jmp 0x411f22
test eax, eax
jne 0x411eeb
mov eax, dword [0x48b504]
mov esi, dword [esi]
neg eax
sbb eax, eax
and eax, 0xfff8ad00
add eax, 0x927c0
push eax
lea eax, [esp + 0x14]
push eax
push esi
push edi
mov dword [esp + 0x20], 1
call fcn.00410d5c
mov eax, dword [esp + 0x20]
mov dword [0x48ba38], eax
mov esi, dword [edi]
add esp, 0x10
or ebx, 0xffffffff
call fcn.00417c21
mov esi, eax
mov dword [esp + 0x18], esi
mov ebx, 0x48ba40
test esi, esi
je 0x411e91
push str.Manifest_downloaded_successfully_with_BITs:
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 1
call fcn.0040215a
push 0
push edi
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x250], 4
call fcn.0040e087
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
jmp 0x411eae
cmp dword [esp + 0x10], 0
jl 0x411eae
push str.ARM_set_error_based_on_DOWNLOAD_TIME_OUT_LIMIT.
mov ecx, ebx
mov dword [0x48ba38], 0x80200010
call fcn.0040b33a
cmp dword [0x48b518], 0
jne 0x411da8
cmp dword [esp + 0x14], 0
jne 0x411eef
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
call fcn.00411f46
mov dword [esp + 0x14], eax
test eax, eax
je 0x411eeb
cmp dword [esp + 0x10], 0
jl 0x411eeb
push str.Manifest_downloaded_successfully_using_DownloadManifestDirectly
mov ecx, ebx
call fcn.0040b33a
mov esi, dword [esp + 0x18]
shr esi, 0xa
mov dword [0x48ba30], esi
xor esi, esi
inc esi
mov dword [0x48ba34], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48ba2c]
push esi
dec eax
mov dword [0x48ba2c], eax
mov eax, 0x48ba00
call fcn.00415ceb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0043a688
mov esp, ebp
pop ebp
ret