Function at 0x42a597
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x47e628
call fcn.0045c5c4
sub esp, 0x34
mov eax, dword [0x4a94a4]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
push 0xa
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0046ab2a
mov eax, dword [0x4a94a4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov ecx, edi
push dword [esi + 0x64]
mov byte [ebp - 4], 5
push eax
call fcn.0044ee28
mov eax, dword [eax]
mov ecx, dword [esi + 0x60]
push eax
push ecx
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0044ec5d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0046c488
push dword [esi + 0xc]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0046c575
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0046c488
push dword [esi + 8]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044ee28
push dword [eax]
call fcn.0045dce7
pop ecx
mov ebx, eax
lea ecx, [ebp + 8]
call fcn.0046c488
push dword [esi + 0x58]
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0046c575
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0046c488
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esp
lea eax, [ebp - 0x14]
mov dword [ebp + 8], esp
push eax
call fcn.0046c1fd
call fcn.0041c731
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x42a7b6
push 1
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x49f95c
call fcn.0046c4f6
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 9
call fcn.0046c1fd
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.00428d90
mov eax, dword [ebp - 0x34]
add esp, 0x10
cmp ebx, eax
mov dword [ebp - 0x24], eax
jge 0x42a6de
cmp ebx, 0xffffffff
jge 0x42a6e5
push 4
jmp 0x42a7b3
and dword [ebp + 8], 0
mov esi, dword [ebp - 0x3c]
jmp 0x42a747
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [ebp - 0x1c]
push eax
call fcn.0046c575
cmp dword [ebp + 8], ebx
jne 0x42a71c
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.0046c854
push 0x49f95c
lea ecx, [ebp - 0x10]
call fcn.0046c818
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push eax
call fcn.0046c854
mov eax, dword [ebp + 8]
inc eax
cmp eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
je 0x42a744
push 0x49f95c
lea ecx, [ebp - 0x10]
call fcn.0046c818
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jne 0x42a6ee
cmp ebx, 0xffffffff
jne 0x42a769
push 0x49f95c
lea ecx, [ebp - 0x10]
call fcn.0046c818
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.0046c854
push 0x80
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046c1fd
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.0046c1fd
mov byte [ebp - 4], 5
call fcn.0041c902
pop ecx
test eax, eax
pop ecx
je 0x42a7f1
push 5
pop edi
jmp 0x42a7f1
cmp edi, 1
jne 0x42a7f1
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046c1fd
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.0046c1fd
mov byte [ebp - 4], 5
call fcn.0041c902
neg eax
sbb eax, eax
pop ecx
and eax, 5
pop ecx
mov edi, eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0046c488
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0046c488
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0046c488
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0046ab9e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0046c488
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0046c488
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret