Function at 0x10004bc9
Capabilities:
Create directory

Disassembly:
push ebp
sub esp, 0x448
lea ebp, [esp - 4]
mov eax, dword [0x10053130]
xor eax, ebp
mov dword [ebp + 0x448], eax
push 0x84
mov eax, 0x100393c9
call fcn.1002205b
mov edi, dword [ebp + 0x454]
mov dword [ebp - 0x24], ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], esi
call fcn.100019d2
mov ecx, dword [ebp - 0x24]
xor ebx, ebx
lea eax, [ebp - 0x24]
inc ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp], esi
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
mov dword [ebp - 4], ebx
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUFileObject::GetPackageDir_void_
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10001e57
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001128
push 0x1003d890
lea ecx, [ebp - 0x30]
call fcn.10001630
push sym.SoftwareUpdateFiles.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const_SUConstants::App::Distribute_Directory_Name
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.10001ea4
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10002146
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001128
mov eax, dword [edi]
lea ecx, [ebp]
push ecx
push eax
call fcn.100189bd
cmp eax, esi
jne 0x10005027
mov eax, dword [edi]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10005027
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
push 0x10046e00
lea eax, [ebp - 0x2c]
push eax
call fcn.10022566
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x1fe
mov word [ebp + 0x248], ax
xor esi, esi
lea eax, [ebp + 0x24a]
push esi
push eax
call fcn.10022680
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
lea eax, [ebp + 0x248]
push 0x100
push eax
call fcn.100016e6
add esp, 0x34
push esi
lea ecx, [ebp + 0x22c]
mov dword [ebp + 0x244], 7
call fcn.10001816
push str.Error__CSUFileObject::GetDistCacheDir__HRESULT__0x_x_n
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.1000217b
mov edi, eax
lea eax, [ebp + 0x248]
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call fcn.1000217b
push edi
push eax
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 8
call fcn.1000219d
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x22c]
mov byte [ebp - 4], 9
call fcn.10001fc3
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x90]
call fcn.10001987
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.10001987
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.10001987
cmp dword [ebp + 0x244], 8
mov eax, dword [ebp + 0x230]
jae 0x10004dce
lea eax, [ebp + 0x230]
push dword [ebp - 0x3c]
push eax
call fcn.100226fa
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp + 0x22c]
call fcn.10001987
mov eax, 0x10005024
ret
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x448]
xor ecx, ebp
call fcn.10022019
add ebp, 0x44c
leave
ret 4