Function at 0x42bf30
Capabilities:
Delete file

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x48
push ebx
push ebp
push esi
push edi
push edx
mov ebx, 1
xor ebp, ebp
call fcn.0042b180
add esp, 4
test eax, eax
jne 0x42bf59
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov eax, dword [esp + 0x64]
test eax, eax
mov esi, dword [edx]
je 0x42bf9d
push esi
push edx
call fcn.0042b820
push 1
push 1
xor eax, eax
mov ecx, 0x12
lea edi, [esp + 0x20]
push 0x48
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x4342d8
push esi
call fcn.0042b970
add esp, 0x24
test eax, eax
jne 0x42bf9d
mov ebp, 0x8520006d
xor ebx, ebx
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x42c188
mov eax, dword [esp + 0x60]
xor edi, edi
test eax, eax
je 0x42bfba
mov edi, 1
mov eax, dword [esi + 0x154]
test eax, eax
jne 0x42bfcf
mov eax, dword [esi + 0x150]
test eax, eax
jle 0x42bfcf
inc edi
push edi
push esi
call fcn.0042c370
mov eax, dword [esi + 0x120]
add esp, 8
cmp eax, edi
jne 0x42c071
mov ecx, dword [esi + 0x114]
push 0
push 0
push ecx
mov ecx, dword [esi + 8]
call fcn.00413a80
mov ecx, dword [esi + 8]
call fcn.00413b10
mov edi, dword [esi + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42c011
call fcn.0040c260
dec dword [edi + 8]
jne 0x42c01e
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esi + 0x114]
test eax, eax
mov dword [esi + 8], 0
jne 0x42c039
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x5c]
push 0
push 0xffffffffffffffff
push str.delete
push ecx
call fcn.004099d0
mov ecx, esi
call fcn.0042a000
push 0
push 0xffffffffffffffff
push str.delete
push esi
call fcn.004099d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 0xc
mov edi, dword [esp + 0x5c]
push esi
push edi
call fcn.0042c6a0
mov eax, dword [esp + 0x68]
add esp, 8
test eax, eax
je 0x42c0a9
mov edx, dword [esi + 0x120]
mov eax, dword [esi + 0x134]
push edx
push eax
push edi
call fcn.0042c1f0
add esp, 0xc
test eax, eax
jne 0x42c0a9
mov ebp, 0x85200068
xor ebx, ebx
mov ecx, dword [esi + 0x118]
mov edx, dword [esi + 0x114]
push 0
lea eax, [ecx + edx]
mov ecx, dword [esi + 8]
push 0
push eax
mov dword [esi + 0x140], eax
call fcn.00413a80
mov ecx, dword [esi + 0x140]
mov eax, dword [esi + 0x114]
sub ecx, eax
push esi
mov dword [esi + 0x140], ecx
call fcn.0042c5c0
add esp, 4
test eax, eax
jne 0x42c0f3
mov ebp, 0x85200068
xor ebx, ebx
mov ecx, dword [esi + 8]
push 1
push 0
push 0
call fcn.00413a80
sub eax, dword [esi + 0x114]
push esi
mov dword [esi + 0x130], eax
call fcn.0042c4d0
add esp, 4
test eax, eax
jne 0x42c121
mov ebp, 0x85200068
xor ebx, ebx
mov ecx, dword [esi + 8]
push 1
push 0
push 0
call fcn.00413a80
mov edx, dword [esi + 0x114]
mov ecx, dword [esi + 8]
sub eax, edx
mov dword [esi + 0x158], eax
call fcn.00413b10
test al, al
jne 0x42c150
mov ebp, 0x85200068
xor ebx, ebx
mov ecx, dword [esi + 0x114]
push ecx
push esi
call fcn.0042c610
add esp, 8
test eax, eax
jne 0x42c16b
mov ebp, 0x85200068
xor ebx, ebx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x42c188
push eax
push esi
call fcn.0042c930
add esp, 8
test eax, eax
jne 0x42c188
mov ebp, 0x8520006d
xor ebx, ebx
mov edi, dword [esi + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42c197
call fcn.0040c260
dec dword [edi + 8]
jne 0x42c1a4
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x5c]
push 0
push 0xffffffffffffffff
push str.delete
push eax
mov dword [esi + 8], 0
call fcn.004099d0
mov ecx, esi
call fcn.0042a000
push 0
push 0xffffffffffffffff
push str.delete
push esi
call fcn.004099d0
test ebx, ebx
jne 0x42c1de
push ebp
call fcn.0040bae0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x48
ret 0xc