Function at 0x42b940
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x57ba80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov dword [esp + 0x30], ebx
call fcn.0042b470
add esp, 8
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
setne al
mov byte [esp + 0x28], 1
cmp eax, ebx
jne 0x42b99f
push 0x80004005
call fcn.00401090
mov eax, dword [ebp + 4]
push ecx
push eax
call fcn.005597c1
add esp, 8
cmp eax, ebx
je 0x42ba01
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
mov byte [esp + 0x28], bl
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b9d6
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 dword [esp + 0x28], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42b9f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x42bb52
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], ebx
jne 0x42babb
cmp byte [ebp + 8], bl
je 0x42ba22
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], ebx
je 0x42ba22
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
add eax, 0xfffffff0
mov byte [ebp + 8], bl
mov byte [esp + 0x28], bl
cmp dword [ebp + 0x14], ebx
jne 0x42ba7b
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ba50
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 dword [esp + 0x28], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42ba71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42bb52
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ba93
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 dword [esp + 0x28], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42bab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42bb52
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x42bb06
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00402a50
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0042b940
sub eax, ebx
je 0x42bc3b
sub eax, 1
je 0x42bb68
sub eax, 2
je 0x42bb06
mov dword [esp + 0x18], esi
mov esi, dword [esi + 0x10]
cmp esi, ebx
jne 0x42bac6
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
mov byte [esp + 0x28], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bb2c
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
lea ecx, [eax + 0xc]
mov dword [esp + 0x28], esi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42bb4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov eax, dword [ebp + 0x18]
cmp esi, eax
jne 0x42bb77
mov ecx, dword [eax + 0x10]
mov dword [ebp + 0x18], ecx
jmp 0x42bb8e
mov eax, dword [esp + 0x18]
cmp esi, dword [ebp + 0x1c]
jne 0x42bb88
mov dword [ebp + 0x1c], eax
mov dword [eax + 0x10], ebx
jmp 0x42bb8e
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
cmp esi, ebx
je 0x42bb9c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
add eax, 0xfffffff0
add dword [ebp + 0x14], esi
mov byte [esp + 0x28], bl
mov edx, esi
lea ecx, [eax + 0xc]
jne 0x42bbfc
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bbcd
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 dword [esp + 0x28], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42ba71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42bb52
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc0f
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 dword [esp + 0x28], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42bab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42bb52
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or esi, 0xffffffff
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc61
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 dword [esp + 0x28], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x42bab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42bb52