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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], eax
push esi
mov esi, eax
push edi
mov edi, eax
test ebx, ebx
je 0x42a33d
mov ecx, ebx
call fcn.0041f198
mov ecx, ebx
test eax, eax
je 0x42a2e2
push 2
lea edx, [ecx + 2]
pop edi
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x42a276
sub ecx, edx
sar ecx, 1
push 2
pop edx
lea edi, [ecx + 0xd]
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x218], edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
je 0x42a325
push ebx
mov edx, edi
mov ecx, esi
call fcn.0040c040
mov edi, eax
push esi
test edi, edi
js 0x42a4d8
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov edx, dword [ebp - 0x218]
mov ecx, esi
push 0x4071a8
call fcn.0040c075
mov edi, eax
test edi, edi
jns 0x42a33d
jmp 0x42a4d7
call fcn.0041f21e
test eax, eax
je 0x42a33d
mov ecx, ebx
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x42a2f2
sub ecx, edx
sar ecx, 1
push 2
pop edx
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x218], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
jne 0x42a32f
mov eax, 0x8007000e
jmp 0x42a4e0
mov edx, dword [ebp - 0x218]
mov ecx, esi
push ebx
call fcn.0040c040
xor ebx, ebx
mov dword [ebp - 0x218], ebx
test esi, esi
je 0x42a361
mov ecx, esi
call fcn.0041f21e
test eax, eax
jne 0x42a35d
push esi
call fcn.00440db7
pop ecx
mov esi, ebx
test esi, esi
jne 0x42a3d8
push 0x208
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
jne 0x42a37c
mov edi, 0x8007000e
jmp 0x42a407
mov ebx, dword [ebp - 0x21c]
mov ecx, ebx
call fcn.00427e65
test eax, eax
js 0x42a3d1
push dword [ebx + 0x23c]
mov edi, 0x104
mov ecx, esi
mov edx, edi
call fcn.0040c040
test eax, eax
js 0x42a3d1
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x4071a8
mov edx, edi
mov ecx, esi
call fcn.0040c075
push ecx
push esi
mov ecx, ebx
call fcn.0042a16f
mov edi, eax
mov dword [ebp - 0x220], 1
jmp 0x42a3de
mov edi, 0x80004005
jmp 0x42a3de
mov ebx, dword [ebp - 0x21c]
test edi, edi
js 0x42a3ec
push ebx
mov ecx, esi
call fcn.0043da99
mov edi, eax
cmp edi, 0xc00d1388
jne 0x42a405
test esi, esi
je 0x42a3ff
push esi
call fcn.00440db7
pop ecx
xor ebx, ebx
mov esi, ebx
jmp 0x42a47a
xor ebx, ebx
cmp edi, 0x80040154
jne 0x42a4a4
push 0x103
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42a47a
push ecx
lea eax, [ebp - 0x224]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x214]
call fcn.0040c15d
test eax, eax
js 0x42a467
mov eax, dword [ebp - 0x224]
mov edx, 0x104
push ecx
push 0x406b80
push ecx
lea ecx, [ebp - 0x214]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0040c1c3
xor edx, edx
lea ecx, [ebp - 0x214]
push ebx
inc edx
call fcn.004219d1
test eax, eax
jns 0x42a494
mov eax, dword [ebp - 0x218]
push 2
inc eax
pop ecx
mov dword [ebp - 0x218], eax
cmp eax, ecx
jl 0x42a345
jmp 0x42a4a4
mov ecx, dword [ebp - 0x21c]
push ecx
mov ecx, esi
call fcn.0043da99
mov edi, eax
cmp dword [ebp - 0x220], 0
je 0x42a4d3
test esi, esi
je 0x42a4de
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
push esi
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x42a4cc
xor ecx, ecx
mov word [eax], cx
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test esi, esi
je 0x42a4de
push esi
call fcn.00440db7
pop ecx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 4