Function at 0x423b90
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x485e08
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ace78]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
call fcn.0040c4d0
mov eax, dword [eax]
xor esi, esi
push esi
push eax
mov dword [esp + 0x98], esi
call fcn.0042e6b0
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 0x423c04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [0x4ae25c], 0
je 0x423c1a
push 0xffffffffffffffff
push esi
mov ecx, 0x4ae5f0
call fcn.0044bf29
cmp dword [0x4ae5f8], esi
jle 0x423c43
push 1
call fcn.0040e740
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.0040aca0
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x94], 1
call fcn.0040d4e0
mov eax, dword [esp + 0x38]
push eax
mov byte [esp + 0x98], 2
call fcn.00429c40
push str._qupdater_.xml
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00403d00
add esp, 0x18
push 0x48bf08
push 0x48bf00
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 3
call fcn.00403690
mov eax, dword [0x4ae27c]
push eax
push 0x48cbbc
lea ecx, [esp + 0x20]
call fcn.00403690
mov ecx, dword [esp + 0x18]
push 1
push 0x4ae448
push ecx
call fcn.00436ba0
mov eax, dword [0x4ae450]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], esi
jle 0x424246
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x42429a
mov edx, dword [esp + 0x24]
cmp edx, dword [0x4ae450]
jge 0x42429a
mov ecx, dword [0x4ae44c]
add eax, ecx
push eax
lea ecx, [esp + 0x64]
call fcn.00403320
mov eax, dword [esp + 0x80]
mov byte [esp + 0x8c], 4
cmp eax, 0x7f000000
je 0x42421d
cmp eax, 0x7e000000
je 0x42421d
lea ecx, [esp + 0x4c]
call fcn.0044be82
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.00403320
call fcn.00427a90
xor esi, esi
add esp, 0x28
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], esi
test eax, eax
jle 0x423f4d
test esi, esi
jl 0x42429a
cmp esi, dword [esp + 0x54]
jge 0x42429a
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + esi*4]
sub eax, 0x10
push eax
call fcn.00401630
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]
jmp 0x423dc0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x423f1a
cmp dword [edi - 0xc], 0
jl 0x423f1a
push eax
push edi
call fcn.0046b9b7
add esp, 8
test eax, eax
je 0x423f1a
sub eax, edi
sar eax, 1
js 0x423f1a
cmp dword [edi - 0xc], 3
jle 0x423f1a
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 0x423e38
cmp eax, dword [esi]
jne 0x423e38
mov ebp, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x423e73
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 0x4243f8
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.0046b4e8
add esp, 0x10
lea edx, [esp + 0x38]
add ebp, 0x10
push edx
mov dword [ebx], ebp
call fcn.00409970
add esp, 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
mov byte [esp + 0x8c], 7
cmp eax, esi
je 0x423ee1
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x423ecf
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x423ecf
push eax
call fcn.00401630
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x423ec6
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 0x423ee1
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401810
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 0x423f09
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 0x423dc0
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 0x423f3e
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 0x423d80
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x54]
call fcn.0044bf29
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.00403320
call fcn.00427bf0
add esp, 0x28
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x42420c
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x42429a
cmp eax, dword [esp + 0x54]
jge 0x42429a
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 0x423fd5
cmp eax, dword [esi]
jne 0x423fd5
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424010
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 0x4243f8
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.0046b4e8
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 0x424030
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4241d4
cmp dword [ebp - 0xc], 0
jl 0x4241d4
push eax
push ebp
call fcn.0046b9b7
add esp, 8
test eax, eax
je 0x4241d4
sub eax, ebp
sar eax, 1
js 0x4241d4
cmp dword [ebp - 0xc], 3
jle 0x4241d4
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 0x4240a1
cmp eax, dword [esi]
jne 0x4240a1
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4240dc
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 0x4243f8
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.0046b4e8
add esp, 0x10
lea edx, [esp + 0x44]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.00409970
add esp, 8
mov eax, dword [eax]
lea edi, [eax - 0x10]
mov byte [esp + 0x8c], 9
cmp edi, esi
je 0x4241a3
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x424191
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x424191
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x424137
cmp eax, dword [edi]
jne 0x424137
mov ebp, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x424172
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 0x4243f8
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.0046b4e8
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x424188
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 0x4241a3
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401810
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 0x424030
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x424030
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 0x4241f9
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 0x423f95
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 4
call fcn.0044c05f
lea ecx, [esp + 0x60]
mov byte [esp + 0x8c], 3
call fcn.00402ef0
mov eax, dword [esp + 0x24]
add dword [esp + 0x28], 0x24
inc eax
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
jl 0x423ce7
mov eax, dword [0x4ae49c]
xor ebp, ebp
mov dword [esp + 0x40], eax
test eax, eax
jle 0x424388
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebp, ebp
jl 0x42429a
cmp ebp, dword [0x4ae49c]
jge 0x42429a
mov eax, dword [0x4ae498]
mov esi, dword [eax + ebp*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 0x42429f
cmp eax, dword [esi]
jne 0x42429f
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4242da
call fcn.0044b73e
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 0x4243f8
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.0046b4e8
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x44], esi
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
lea edx, [esp + 0x48]
push edx
push 0x48f258
push ecx
mov byte [esp + 0x9c], 0xa
call fcn.00409270
add esp, 8
mov eax, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x98], 0xb
call fcn.0040d4e0
lea ecx, [esp + 0x34]
add esp, 4
push ecx
mov byte [esp + 0x98], 0xa
call fcn.0040aeb0
add esp, 0xc
push esi
call ebx
mov edx, dword [esp + 0x28]
push edx
call ebx
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x8c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42437d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, dword [esp + 0x40]
jl 0x42425f
push 0x48cd00
lea ecx, [esp + 0x30]
push 0x48b954
push ecx
call fcn.0040cbf0
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp dword [eax - 0xc], 0
mov bl, 0xc
mov byte [esp + 0x8c], bl
je 0x4244df
push ecx
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
lea esi, [eax - 0x10]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x4c], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4243e4
cmp eax, dword [esi]
jne 0x4243e4
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424420
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
jne 0x4243fd
call fcn.00401400
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.0046b4e8
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x94], 0xd
mov dword [esp + 0x48], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x424460
cmp eax, dword [esi]
jne 0x424460
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42449c
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
jne 0x424479
call fcn.00401400
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.0046b4e8
add esp, 0x10
lea ecx, [esp + 0x4c]
add edi, 0x10
mov dword [ebp], edi
push ecx
mov byte [esp + 0x98], bl
call fcn.0040aeb0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
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 0x4244df
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.00401ba0
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x94], 0xe
mov dword [esp + 0x48], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x42452a
cmp eax, dword [esi]
jne 0x42452a
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424566
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
jne 0x424543
call fcn.00401400
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.0046b4e8
add esp, 0x10
lea ecx, [esp + 0x4c]
add edi, 0x10
mov dword [ebp], edi
push ecx
mov byte [esp + 0x98], bl
call fcn.0040aeb0
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push eax
call esi
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 0x4245ab
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 esi
call fcn.00421ec0
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 0x4245df
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 0x424607
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 0x42462f
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 0x42465a
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