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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455a7d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x485d50]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x485d50]
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.0040e5e0
or dword [esp + 0x24c], 0xffffffff
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
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.0040e15a
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
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.0040e15a
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, edi
call fcn.00411779
test eax, eax
jne 0x411d32
push 0x200
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call fcn.0043a400
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 0x411d32
lea eax, [esp + 0x24]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.0040893e
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 0x411d7a
cmp eax, 3
je 0x411d7a
push 0x5c
mov ecx, esi
call fcn.00410106
push esi
mov ecx, edi
call fcn.00408b20
mov eax, dword [ebx + 0x18]
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00401f90
mov esi, edi
call fcn.00411779
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 [0x48aa20], eax
mov eax, dword [0x48a504]
test eax, eax
je 0x411dc9
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00411f11
cmp dword [0x48a518], 0
mov dword [esp + 0x14], eax
je 0x411dbc
xor eax, eax
jmp 0x411eed
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.0040e15a
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
mov eax, esi
jmp 0x411eed
test eax, eax
jne 0x411eb6
mov eax, dword [0x48a504]
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.00410ced
mov eax, dword [esp + 0x20]
mov dword [0x48aa2c], eax
mov esi, dword [edi]
add esp, 0x10
or ebx, 0xffffffff
call fcn.00416fe1
mov esi, eax
mov dword [esp + 0x18], esi
mov ebx, 0x48aa34
test esi, esi
je 0x411e5c
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.0040e15a
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x411e79
cmp dword [esp + 0x10], 0
jl 0x411e79
push str.ARM_set_error_based_on_DOWNLOAD_TIME_OUT_LIMIT.
mov ecx, ebx
mov dword [0x48aa2c], 0x80200010
call fcn.0040b2b8
cmp dword [0x48a518], 0
jne 0x411d73
cmp dword [esp + 0x14], 0
jne 0x411eba
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
call fcn.00411f11
mov dword [esp + 0x14], eax
test eax, eax
je 0x411eb6
cmp dword [esp + 0x10], 0
jl 0x411eb6
push str.Manifest_downloaded_successfully_using_DownloadManifestDirectly
mov ecx, ebx
call fcn.0040b2b8
mov esi, dword [esp + 0x18]
shr esi, 0xa
mov dword [0x48aa24], esi
xor esi, esi
inc esi
mov dword [0x48aa28], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48aa20]
push esi
dec eax
mov dword [0x48aa20], eax
mov eax, 0x48a9f4
call fcn.004150e9
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.0043968e
mov esp, ebp
pop ebp
ret