Function at 0x42a1e0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 0x1c], 0xffffffff
mov eax, edx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov ebx, edi
mov dword [ebp - 0x10], edi
mov esi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], edi
test ecx, ecx
jne 0x42a21f
mov eax, 0x80070057
mov esi, eax
push eax
call fcn.004314fa
jmp 0x42a4c7
test eax, eax
je 0x42a20d
mov edx, dword [ecx + 4]
cmp edx, dword [eax + 4]
jne 0x42a20d
test edx, edx
je 0x42a4c7
test ebx, ebx
je 0x42a244
push ebx
call fcn.00431523
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 8]
xor edx, edx
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [eax + edi*4]
call fcn.00430b35
mov esi, eax
test esi, esi
js 0x42a4be
mov ebx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
mov ecx, ebx
call fcn.00430b00
mov esi, eax
test esi, esi
js 0x42a4b8
cmp dword [ebp - 0x10], 0
jne 0x42a2b6
mov eax, dword [0x48dcb8]
test eax, eax
je 0x42a28e
cmp eax, 0xffffffff
jne 0x42a290
xor eax, eax
push ebx
push 0x40a9e8
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
mov ecx, ebx
call fcn.004308af
mov esi, eax
test esi, esi
js 0x42a4b8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42a2c7
push eax
call fcn.00431523
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push 0
push 0
push ecx
mov eax, dword [eax + 8]
xor edx, edx
mov ecx, dword [eax + edi*4]
call fcn.00430b35
mov esi, eax
test esi, esi
js 0x42a4b8
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x10]
call fcn.00430b00
mov esi, eax
test esi, esi
js 0x42a4b8
cmp dword [ebp - 0x10], 0
jne 0x42a33d
mov eax, dword [0x48dcb8]
test eax, eax
je 0x42a312
cmp eax, 0xffffffff
jne 0x42a314
xor eax, eax
mov esi, dword [ebp - 0xc]
push esi
push 0x40aa28
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
mov ecx, esi
call fcn.004308af
mov esi, eax
test esi, esi
js 0x42a4b8
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [eax + edi*4]
call fcn.00430ac9
mov esi, eax
test esi, esi
js 0x42a4b8
cmp dword [ebp - 0x14], 0
je 0x42a3a0
mov esi, dword [ebp - 4]
mov ecx, dword [0x48dcb8]
mov eax, dword [esi + 8]
test ecx, ecx
je 0x42a373
cmp ecx, 0xffffffff
jne 0x42a375
xor ecx, ecx
push dword [eax + edi*4]
push 0x40aa6c
push dword [0x490330]
push ecx
call fcn.0041ad72
mov eax, dword [esi + 8]
add esp, 0x10
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42a4aa
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [eax + edi*4]
call fcn.00430ac9
mov esi, eax
test esi, esi
js 0x42a4b8
cmp dword [ebp - 0x14], 0
je 0x42a403
mov esi, dword [ebp - 8]
mov ecx, dword [0x48dcb8]
mov eax, dword [esi + 8]
test ecx, ecx
je 0x42a3d6
cmp ecx, 0xffffffff
jne 0x42a3d8
xor ecx, ecx
push dword [eax + edi*4]
push 0x40aa6c
push dword [0x490330]
push ecx
call fcn.0041ad72
mov eax, dword [esi + 8]
add esp, 0x10
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42a4aa
mov esi, dword [ebp - 4]
mov ecx, dword [0x48dcb8]
mov eax, dword [esi + 8]
test ecx, ecx
je 0x42a418
cmp ecx, 0xffffffff
jne 0x42a41a
xor ecx, ecx
push dword [eax + edi*4]
push 0x40aa98
push dword [0x490330]
push ecx
call fcn.0041ad72
mov eax, dword [esi + 8]
lea edx, [ebp - 0x1c]
add esp, 0x10
mov ecx, dword [eax + edi*4]
call fcn.0042fd65
mov esi, eax
test esi, esi
js 0x42a4b8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [0x48dcb8]
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
test edx, edx
je 0x42a460
cmp edx, 0xffffffff
jne 0x42a462
xor edx, edx
push dword [eax + edi*4]
push dword [ecx + edi*4]
push 0x40aac8
push dword [0x490330]
push edx
call fcn.0041ad72
mov eax, dword [ebp - 4]
add esp, 0x14
mov eax, dword [eax + 8]
push 0
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp - 8]
push ecx
mov eax, dword [eax + 8]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_CreateSymbolicLinkW]
test al, al
je 0x42a4aa
mov ecx, dword [ebp - 8]
inc edi
cmp edi, dword [ecx + 4]
jb 0x42a233
jmp 0x42a4c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004317f4
mov esi, eax
push esi
jmp 0x42a215
push esi
call fcn.004314fa
mov ebx, dword [ebp - 0x18]
push esi
call fcn.00431467
lea ecx, [ebp - 0x1c]
call fcn.004316b4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42a4e2
push eax
call fcn.00431523
test ebx, ebx
je 0x42a4ec
push ebx
call fcn.00431523
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret