Function at 0x47daf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x60]
add eax, 0xf24
lea edx, [ebp - 0x21c]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x47db40
lea eax, [ebp - 0x21c]
push eax
call fcn.004bf2e0
add esp, 4
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x118]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x47db65
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x47db76
mov ecx, dword [str..drv]
mov dword [eax], ecx
mov dx, word [0x56e6f4]
mov word [eax + 4], dx
lea eax, [ebp - 0x118]
push eax
call fcn.004c4580
push 0x56e6e8
mov ecx, dword [edi + 0x60]
add ecx, 0x1d4
push ecx
call fcn.004bef70
add esp, 0xc
test eax, eax
je 0x47dbdb
mov edx, dword [edi + 0x60]
add edx, 0x1d4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
mov eax, dword [edi + 0x60]
add eax, 0x1d4
push eax
call fcn.004cabd0
add esp, 8
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x118]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x47dbe7
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x47dbf8
mov ecx, dword [str..log]
mov dword [eax], ecx
mov dx, word [0x56e6e4]
mov word [eax + 4], dx
lea eax, [ebp - 0x118]
push eax
call fcn.004c4580
push 0x56e6d8
mov ecx, dword [edi + 0x60]
add ecx, 0x1d4
push ecx
call fcn.004bef70
add esp, 0xc
test eax, eax
je 0x47dc5d
mov edx, dword [edi + 0x60]
add edx, 0x1d4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
mov eax, dword [edi + 0x60]
add eax, 0x1d4
push eax
call fcn.004cabd0
add esp, 8
mov eax, dword [edi + 0x60]
add eax, 0x1d4
cmp dword [0x5c159c], 0
jne 0x47dd1c
cmp byte [eax], 0
je 0x47dc8d
push 0x56e6e8
push eax
call fcn.004bef70
add esp, 8
test eax, eax
je 0x47dd5d
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x118]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x47dca0
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47dcb3
sub eax, edx
lea esi, [ebp + eax - 0x118]
push esi
call fcn.004da960
add esp, 4
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x47dcd3
mov ecx, dword [str..dll]
mov dword [eax], ecx
mov dl, byte [0x56e6d4]
mov byte [eax + 4], dl
lea eax, [ebp - 0x118]
push eax
call fcn.004c4aa0
add esp, 4
test eax, eax
jne 0x47dcc3
lea edx, [ebp - 0x118]
mov eax, dword [edi + 0x60]
add eax, 0x1d4
lea ecx, [ecx]
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x47dd10
jmp 0x47dd5d
lea edx, [ebp - 0x21c]
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x47dd22
mov eax, str._34_.__.t65
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47dd33
sub eax, ecx
mov esi, ecx
mov edi, dword [edi + 0x60]
add edi, 0x1d3
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47dd47
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret