Function at 0x420970
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44d9d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.00422625
mov byte [esp + 0x40], 1
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov byte [esp + 0x40], 2
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0xc], ebx
push str..
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x4c], 3
call fcn.00403e70
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 4
call fcn.004226ba
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x40], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420a1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x420baf
push ebp
push edi
lea ecx, [esp + 0x28]
call fcn.00422402
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.004229a7
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x48], 5
je 0x420a9c
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x420a8e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x420a8e
push eax
call fcn.00402340
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x420a85
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x420a9c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004024b0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420abf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
call fcn.004225e8
test eax, eax
jne 0x420ba1
push 0x44fef0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403e70
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x54], 6
call fcn.00408560
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
mov byte [esp + 0x48], 7
je 0x420b54
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x420b42
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x420b42
push eax
call fcn.00402340
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x420b39
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ebx, [ebp + 0x10]
mov dword [esp + 0x14], ebx
jmp 0x420b54
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004024b0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x48], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x420a26
pop edi
pop ebp
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebx
jg 0x420bd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420bf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.0042264b
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x3c
ret 4