Function at 0x415fe0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc3db
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x512f80]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x41604a
push str.HavePackageBaseName
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x207
mov ecx, str..SrcBootStrapperUtil.cpp
mov edx, str.sPkgBaseName.length__
call fcn.0042ca40
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00408ff0
mov edi, eax
mov dword [ebp - 4], ebx
push esi
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x4e2784
call fcn.00408aa0
mov byte [ebp - 4], 1
push edi
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00408900
add esp, 0x1c
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x80]
push edx
mov ecx, 0x4e2288
call fcn.00408aa0
mov byte [ebp - 4], 3
push 0x51b2b0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00408900
add esp, 0x14
mov byte [ebp - 4], 5
cmp dword [ebp - 0x68], 0x10
jb 0x4160c4
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.004606bf
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0xb8], 0x10
jb 0x4160ee
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004606bf
add esp, 4
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
mov byte [ebp - 4], 7
cmp dword [ebp - 0xd4], 0x10
jb 0x41611c
mov eax, dword [ebp - 0xe8]
push eax
call fcn.004606bf
add esp, 4
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
mov byte [ebp - 4], 8
cmp dword [ebp - 0x84], 0x10
jb 0x41614a
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.004606bf
add esp, 4
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x98], bl
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00408ff0
mov edi, eax
mov byte [ebp - 4], 9
push esi
lea edx, [ebp - 0xd0]
push edx
mov ecx, 0x4e2784
call fcn.00408aa0
mov byte [ebp - 4], 0xa
push edi
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00408900
add esp, 0x1c
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, 0x4e2288
call fcn.00408aa0
mov byte [ebp - 4], 0xc
push 0x51b2b0
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.00408900
add esp, 0x14
mov byte [ebp - 4], 0xe
mov esi, 0x10
cmp dword [ebp - 0x84], esi
jb 0x4161e4
mov eax, dword [ebp - 0x98]
push eax
call fcn.004606bf
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x98], bl
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xd4], esi
jb 0x416216
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.004606bf
add esp, 4
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xb8], esi
jb 0x416243
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004606bf
add esp, 4
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x68], esi
jb 0x41626a
mov eax, dword [ebp - 0x7c]
push eax
call fcn.004606bf
add esp, 4
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x41627e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00484aa9
add esp, 8
cmp eax, 0xffffffff
jne 0x416312
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x98], bl
push 0xe
push str.Manifest_file
lea ecx, [ebp - 0x9c]
call fcn.0040e480
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x30]
jae 0x4162c4
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.00408aa0
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, str.does_not_exist
call fcn.00408aa0
add esp, 0x10
mov byte [ebp - 4], 0x14
push eax
lea edx, [ebp - 0x130]
push edx
call fcn.0040e350
push 0x5026f0
lea eax, [ebp - 0x130]
push eax
call fcn.00488a7c
lea eax, [ebp - 0x50]
call fcn.00431e40
test al, al
jne 0x416355
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], esi
jb 0x416333
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004606bf
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], esi
jb 0x4165f5
mov edx, dword [ebp - 0x4c]
push edx
jmp 0x4165ed
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
cmp ecx, dword [edx]
je 0x4165bf
lea edx, [ebp - 0xa8]
push edx
call fcn.00416e30
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x50]
call fcn.00416670
add esp, 4
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00416e30
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x34]
call fcn.00416670
add esp, 4
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
lea esi, [ebp - 0xa8]
mov dword [ebp - 0x64], esi
mov edi, eax
mov dword [ebp - 0x60], edi
nop
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xf0], ecx
cmp esi, ebx
je 0x4163da
lea edx, [ebp - 0xa8]
cmp esi, edx
je 0x4163df
call fcn.00483a80
cmp edi, dword [ebp - 0xf0]
je 0x4164c4
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf8], eax
cmp esi, ebx
jne 0x416400
call fcn.00483a80
cmp edi, dword [esi + 4]
jne 0x41640a
call fcn.00483a80
lea ebx, [edi + 0xc]
lea ecx, [ebp - 0x104]
push ecx
lea edi, [ebp - 0xb4]
call fcn.00417010
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x416431
lea edx, [ebp - 0xb4]
cmp eax, edx
je 0x416436
call fcn.00483a80
mov eax, dword [ebp - 0xf8]
cmp dword [edi + 4], eax
jne 0x4164a2
mov edi, dword [ebp - 0x60]
cmp edi, dword [esi + 4]
jne 0x41644e
call fcn.00483a80
mov eax, ebx
call fcn.00431e40
test al, al
je 0x4164a2
cmp edi, dword [esi + 4]
jne 0x416463
call fcn.00483a80
push 0
mov edi, ebx
call fcn.004336f0
add esp, 4
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x5c], 0x64
mov dword [ebp - 0x58], 0xa
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea esi, [ebp - 0x64]
call fcn.0042ada0
mov ecx, eax
call fcn.00433c30
add esp, 8
mov dword [ebp - 4], 0x16
lea esi, [ebp - 0x64]
call fcn.004187f0
mov esi, dword [ebp - 0x64]
xor ebx, ebx
mov edi, dword [ebp - 0x60]
jmp 0x4163c0
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x5c], 0x64
mov dword [ebp - 0x58], 0xa
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00433c30
add esp, 8
mov dword [ebp - 4], 0x16
jmp 0x416501
mov edi, 0xf
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
mov eax, 0x4e27a4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x416517
sub eax, edx
push eax
push 0x4e27a4
lea ecx, [ebp - 0x80]
call fcn.0040e480
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x80]
call fcn.00432330
mov byte [ebp - 0x51], al
mov byte [ebp - 4], 0x16
mov esi, 0x10
cmp dword [ebp - 0x68], esi
jb 0x416559
mov edx, dword [ebp - 0x7c]
push edx
call fcn.004606bf
add esp, 4
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
cmp byte [ebp - 0x51], bl
je 0x4165a1
mov byte [ebp - 4], 0x1c
push 0x4e27a4
call fcn.00433430
add esp, 4
push 0x4e27a4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 4], 0x16
jmp 0x4165a1
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xb4]
call fcn.00417990
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0xa8]
call fcn.00417990
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], esi
jb 0x4165d4
mov eax, dword [ebp - 0x30]
push eax
call fcn.004606bf
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x38], esi
jb 0x4165f5
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004606bf
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048162f
mov esp, ebp
pop ebp
ret