Function at 0x47f9c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4af95b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov edi, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
mov esi, ecx
xor ebx, ebx
mov ecx, 0x500de4
mov dword [esp + 0x18], ebx
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x94], ebx
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov byte [esp + 0x94], 1
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x58]
push edi
push eax
lea ecx, [esp + 0x24]
push str._sksearch_s
push ecx
mov byte [esp + 0xa4], 2
call fcn.00405e90
mov edx, dword [esi + 0x58]
push edx
lea eax, [esp + 0x34]
push str._sksearch_
push eax
call fcn.00405e90
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.0043a3b0
add esp, 0x20
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0047f700
test eax, eax
je 0x47fb6c
push edi
lea edx, [esp + 0x18]
push str.ksearch__s
push edx
call fcn.00405eb0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push esi
push edi
push eax
lea ecx, [esi + 0x28]
call fcn.0047f580
test eax, eax
jne 0x47fb70
push ebp
lea ecx, [esp + 0x28]
call fcn.004079b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 3
call fcn.00480310
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 4
call fcn.00480da0
test eax, eax
je 0x47fb2a
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x47fb2a
mov dword [esp + 0x18], 1
jmp 0x47fb31
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 3
call fcn.004809e0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x94], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47fb70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47fb70
mov edi, dword [esp + 0x1c]
lea eax, [ebx - 0x10]
mov byte [esp + 0x94], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fb94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x94], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fbb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x94], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47fbe3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x84
ret 8