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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457c61
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x489d50]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x489d50]
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.0040ece1
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.0040e85b
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.0040e85b
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, edi
call fcn.00411fde
test eax, eax
jne 0x41255d
push 0x200
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call fcn.0043c330
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 0x41255d
lea eax, [esp + 0x24]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.00408e0c
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 0x4125a5
cmp eax, 3
je 0x4125a5
push 0x5c
mov ecx, esi
call fcn.00410858
push esi
mov ecx, edi
call fcn.00408fd2
mov eax, dword [ebx + 0x18]
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00401f90
mov esi, edi
call fcn.00411fde
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 [0x48ea3c], eax
mov eax, dword [0x48e50c]
test eax, eax
je 0x4125f4
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0041273c
cmp dword [0x48e520], 0
mov dword [esp + 0x14], eax
je 0x4125e7
xor eax, eax
jmp 0x412718
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.0040e85b
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
mov eax, esi
jmp 0x412718
test eax, eax
jne 0x4126e1
mov eax, dword [0x48e50c]
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.00411552
mov eax, dword [esp + 0x20]
mov dword [0x48ea48], eax
mov esi, dword [edi]
add esp, 0x10
or ebx, 0xffffffff
call fcn.004184aa
mov esi, eax
mov dword [esp + 0x18], esi
mov ebx, 0x48ea54
test esi, esi
je 0x412687
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.0040e85b
or dword [esp + 0x250], 0xffffffff
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x4126a4
cmp dword [esp + 0x10], 0
jl 0x4126a4
push str.ARM_set_error_based_on_DOWNLOAD_TIME_OUT_LIMIT.
mov ecx, ebx
mov dword [0x48ea48], 0x80200010
call fcn.0040bb27
cmp dword [0x48e520], 0
jne 0x41259e
cmp dword [esp + 0x14], 0
jne 0x4126e5
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
call fcn.0041273c
mov dword [esp + 0x14], eax
test eax, eax
je 0x4126e1
cmp dword [esp + 0x10], 0
jl 0x4126e1
push str.Manifest_downloaded_successfully_using_DownloadManifestDirectly
mov ecx, ebx
call fcn.0040bb27
mov esi, dword [esp + 0x18]
shr esi, 0xa
mov dword [0x48ea40], esi
xor esi, esi
inc esi
mov dword [0x48ea44], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48ea3c]
push esi
dec eax
mov dword [0x48ea3c], eax
mov eax, 0x48ea10
call fcn.004164d2
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.0043b4fa
mov esp, ebp
pop ebp
ret