Function at 0x424730
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x488278
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
call fcn.0040cb50
mov eax, dword [eax]
xor esi, esi
push esi
push eax
mov dword [esp + 0x98], esi
call fcn.0042f3b0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4247a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [0x4b127d], 0
je 0x4247ba
push 0xffffffffffffffff
push esi
mov ecx, 0x4b1614
call fcn.0044e129
cmp dword [0x4b161c], esi
jle 0x4247e3
push 1
call fcn.0040efc0
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
lea ecx, [esp + 0x14]
push ecx
call fcn.0040b270
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x94], 1
call fcn.0040df20
mov eax, dword [esp + 0x38]
push eax
mov byte [esp + 0x98], 2
call fcn.0042ab00
push str._qupdater_.xml
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00403ce0
add esp, 0x18
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 3
call fcn.00403660
mov eax, dword [0x4b129c]
push eax
push 0x48fbdc
lea ecx, [esp + 0x20]
call fcn.00403660
mov ecx, dword [esp + 0x18]
push 1
push 0x4b1468
push ecx
call fcn.00437e00
mov eax, dword [0x4b1470]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], esi
jle 0x424dee
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x424fc1
mov edx, dword [esp + 0x24]
cmp edx, dword [0x4b1470]
jge 0x424fc1
mov ecx, dword [0x4b146c]
add eax, ecx
push eax
lea ecx, [esp + 0x64]
call fcn.004032f0
mov eax, dword [esp + 0x80]
mov byte [esp + 0x8c], 4
cmp eax, 0x7f000000
je 0x424dbd
cmp eax, 0x7e000000
je 0x424dbd
lea ecx, [esp + 0x4c]
call fcn.0044e082
lea edx, [esp + 0x4c]
push edx
sub esp, 0x24
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
mov byte [esp + 0xb8], 5
call fcn.004032f0
call fcn.00428910
xor esi, esi
add esp, 0x28
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], esi
test eax, eax
jle 0x424aee
test esi, esi
jl 0x424fc1
cmp esi, dword [esp + 0x54]
jge 0x424fc1
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + esi*4]
sub eax, 0x10
push eax
call fcn.00401660
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], edi
push edi
mov byte [esp + 0x90], 6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x424abb
cmp dword [edi - 0xc], 0
jl 0x424abb
push eax
push edi
call fcn.0046dc11
add esp, 8
test eax, eax
je 0x424abb
sub eax, edi
sar eax, 1
js 0x424abb
cmp dword [edi - 0xc], 3
jle 0x424abb
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [edi - 0xc]
push ecx
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
lea esi, [edi - 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x4c], esp
mov ebx, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4249d9
cmp eax, dword [esi]
jne 0x4249d9
mov ebp, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x424a14
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x424fbc
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.0046d742
add esp, 0x10
lea edx, [esp + 0x38]
add ebp, 0x10
push edx
mov dword [ebx], ebp
call fcn.00409e50
add esp, 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov byte [esp + 0x8c], 7
cmp eax, esi
je 0x424a82
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x424a70
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x424a70
push eax
call fcn.00401660
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x424a67
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x1c], edi
jmp 0x424a82
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401840
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424aaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
cmp ecx, dword [edi - 0xc]
jne 0x424961
add edi, 0xfffffff0
mov byte [esp + 0x8c], 5
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x424adf
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
inc esi
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x20], esi
jl 0x424926
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x54]
call fcn.0044e129
lea ecx, [esp + 0x4c]
push ecx
sub esp, 0x24
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call fcn.004032f0
call fcn.00428a70
add esp, 0x28
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x424dac
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x424fc1
cmp eax, dword [esp + 0x54]
jge 0x424fc1
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx + eax*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x424b76
cmp eax, dword [esi]
jne 0x424b76
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424bb1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x424fbc
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0046d742
add esp, 0x10
lea ebp, [edi + 0x10]
mov dword [esp + 0x20], ebp
push ebp
mov byte [esp + 0x90], 8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x424bd0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x424d74
cmp dword [ebp - 0xc], 0
jl 0x424d74
push eax
push ebp
call fcn.0046dc11
add esp, 8
test eax, eax
je 0x424d74
sub eax, ebp
sar eax, 1
js 0x424d74
cmp dword [ebp - 0xc], 3
jle 0x424d74
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [ebp - 0x10]
mov dword [esp + 0x4c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x424c41
cmp eax, dword [esi]
jne 0x424c41
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424c7c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x424fbc
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0046d742
add esp, 0x10
lea edx, [esp + 0x44]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.00409e50
add esp, 8
mov eax, dword [eax]
lea edi, [eax - 0x10]
mov byte [esp + 0x8c], 9
cmp edi, esi
je 0x424d43
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x424d31
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x424d31
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x424cd7
cmp eax, dword [edi]
jne 0x424cd7
mov ebp, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x424d12
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x424fbc
mov eax, dword [edi + 4]
mov dword [ebp + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.0046d742
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x424d28
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x20], ebp
jmp 0x424d43
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401840
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424bd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x424bd0
add ebp, 0xfffffff0
mov byte [esp + 0x8c], 5
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424d99
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
jl 0x424b36
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 4
call fcn.0044e25f
lea ecx, [esp + 0x60]
mov byte [esp + 0x8c], 3
call fcn.00402ec0
mov eax, dword [esp + 0x24]
add dword [esp + 0x28], 0x24
inc eax
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
jl 0x42488d
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
push 0x48fd58
lea eax, [esp + 0x30]
push 0x48e960
push eax
call fcn.0040d630
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov bl, 0xa
mov byte [esp + 0x8c], bl
cmp dword [eax - 0xc], esi
je 0x424e88
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push eax
mov byte [esp + 0x98], 0xb
call fcn.00401660
add eax, 0x10
lea ecx, [esp + 0x50]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [esp + 0x98], bl
call fcn.0040b480
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424e88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.__oldfiles.lst
call fcn.00401bd0
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push eax
mov byte [esp + 0x98], 0xc
call fcn.00401660
add eax, 0x10
lea ecx, [esp + 0x50]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [esp + 0x98], bl
call fcn.0040b480
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424ef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call edi
call fcn.004224d0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424f2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424f52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424f7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424fa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
call fcn.00401400
call fcn.0044d954
int3