Function at 0x44e070
Capabilities:
Delete directory
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492b26
push eax
mov dword fs:[0], esp
sub esp, 0x670
push ebx
push esi
push edi
call fcn.0044bde0
test eax, eax
je 0x44e12e
push 0
lea eax, [esp + 0x178]
push str.CPrepareInstall_::_CopyInBuildInfBackToLocation_n
push eax
call fcn.00471c30
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x378]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x378]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x174]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x378]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push 0xa
lea ecx, [esp + 0x5c]
call fcn.00481a49
lea ecx, [esp + 0x578]
push 0x104
push ecx
mov dword [esp + 0x68c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [0x4b538c]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 0x274]
push 1
push edx
push 0x104
mov byte [esp + 0x690], 3
call fcn.0046c860
add esp, 0xc
lea ecx, [esp + 0x2c]
push str.UIU_INBUILD_INF.
call fcn.004822f6
mov esi, eax
lea eax, [esp + 0x274]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x688], 4
call fcn.004822f6
push esi
lea ecx, [esp + 0x2c]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x690], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x688], 6
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x684], bl
call fcn.00482288
lea ecx, [esp + 0x24]
mov byte [esp + 0x684], 4
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x684], 3
call fcn.00482288
push 0xa
lea ecx, [esp + 0x3c]
call fcn.00481a49
lea edx, [esp + 0x10]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x688], 7
call fcn.00401570
mov eax, dword [esp + 0x3c]
mov bl, 8
test eax, eax
mov byte [esp + 0x684], bl
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], eax
je 0x44e40d
lea eax, [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004014e0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x688], 9
call fcn.00482375
lea ecx, [esp + 0x2c]
mov byte [esp + 0x684], bl
call fcn.00482288
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0048123e
cmp eax, 0xffffffff
je 0x44e2c7
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x24]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.0048114a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x688], 0xa
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x684], bl
call fcn.00482288
push str.INF_
lea ecx, [esp + 0x1c]
call fcn.004822f6
mov esi, eax
lea ecx, [esp + 0x578]
mov byte [esp + 0x684], 0xb
push ecx
lea ecx, [esp + 0x24]
call fcn.004822f6
push esi
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x690], 0xc
call fcn.0048246b
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x690], 0xd
call fcn.0048246b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x688], 0xe
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x684], 0xd
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x684], 0xc
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x684], 0xb
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x684], bl
call fcn.00482288
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.0041b5a0
test eax, eax
je 0x44e3cb
mov edx, dword [esp + 0xc]
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.0041b2f0
test eax, eax
jne 0x44e401
call fcn.0044bde0
test eax, eax
je 0x44e401
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x174]
push eax
push str.FAILED_DeleteAFile_:_Source___s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x174]
push edx
jmp 0x44e3f5
call fcn.0044bde0
test eax, eax
je 0x44e401
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x7c]
push str.FAILED_CopyAFile_:_Source___s__Destination___s_n
push edx
call fcn.00471c30
add esp, 0x10
lea eax, [esp + 0x74]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x44e247
push str.UIU_INBUILD_INF
lea ecx, [esp + 0x20]
call fcn.004822f6
mov esi, eax
lea ecx, [esp + 0x274]
mov byte [esp + 0x684], 0xf
push ecx
lea ecx, [esp + 0x24]
call fcn.004822f6
push esi
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x690], 0x10
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x688], 0x11
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x684], 0x10
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x684], 0xf
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x684], bl
call fcn.00482288
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call fcn.0044bde0
test eax, eax
je 0x44e530
push 0
lea ecx, [esp + 0x47c]
push str.CPrepareInstall_::_CopyInBuildInfBackToLocation_n
push ecx
call fcn.00471c30
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x74]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x74]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x478]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x74]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x38]
mov byte [esp + 0x684], 3
call fcn.00481abd
lea ecx, [esp + 0x10]
mov byte [esp + 0x684], 2
call fcn.00482288
lea ecx, [esp + 0xc]
mov byte [esp + 0x684], 1
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x684], 0
call fcn.00482288
lea ecx, [esp + 0x58]
mov dword [esp + 0x684], 0xffffffff
call fcn.00481abd
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x67c
ret