Function at 0x421ce0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4925b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 0
call fcn.00462ea3
mov byte [esp + 0x50], 1
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x421d39
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x58]
push 0x49b370
push ecx
lea edx, [esp + 0x1c]
push 0x4980b0
mov bl, 2
push edx
mov byte [esp + 0x60], bl
call fcn.00402730
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00462f2f
cmp eax, 1
jne 0x421ed9
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
call fcn.00462c4f
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
call fcn.00462e6a
test eax, eax
jne 0x421ece
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x34]
call eax
test eax, eax
je 0x421e45
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
lea ecx, [esp + 0x38]
call fcn.004630ce
mov ecx, ebp
call fcn.00421ce0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
call fcn.004630ce
mov eax, dword [eax]
push eax
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421e10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
call fcn.004630ce
mov edx, dword [eax]
push edx
push str.__s__eliminated_folder
push 0xfa
push str.CProjectUpdate::DelFileInSubFolder
push 0x4b9f70
mov byte [esp + 0x64], 3
call fcn.00427560
mov eax, dword [esp + 0x30]
jmp 0x421eab
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.004630ce
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421e78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x34]
call fcn.004630ce
mov edx, dword [eax]
push edx
push str.__s__eliminated_file.
push 0x100
push str.CProjectUpdate::DelFileInSubFolder
push 0x4b9f70
mov byte [esp + 0x64], 4
call fcn.00427560
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x64], bl
add esp, 0x14
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ece
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], 0
jne 0x421d90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x50], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421efe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0
call fcn.00462ec7
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421f34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4