Function at 0x47ca12
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4dd4b4]
and dword [ebp - 0xc], 0
push esi
push edi
mov edi, 0x4dd4b4
mov ecx, edi
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00401af8
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0040cff6
mov esi, dword [ebp - 4]
push esi
push ebx
call fcn.0047cc8a
test eax, eax
jne 0x47cb87
push dword [ebx]
push str.CreateFileByMem_fail:_ws
call fcn.00424d1d
push 0
push esi
call fcn.0048c122
add esp, 0x10
test eax, eax
jne 0x47cc76
mov eax, dword [0x4dd4b4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push esi
lea eax, [ebp + 8]
push str._s_d__x
push eax
call fcn.0041e2cd
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push dword [ebp + 8]
push esi
call fcn.0048f632
test eax, eax
pop ecx
pop ecx
je 0x47cafb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
mov esi, 0x4de92c
call fcn.0044aa61
mov esi, 0x4bd458
push esi
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0041e2e0
add esp, 0xc
jmp 0x47cb3b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040151c
jmp 0x47cc76
push dword [ebp + 8]
mov esi, 0x4de92c
push str.MoveFileEx_Rename_file_succeed__path:_ws
call fcn.0044aa61
pop ecx
pop ecx
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
push dword [ebp - 4]
push ebx
call fcn.0047cc8a
test eax, eax
jne 0x47cb7c
mov esi, 0x4bd458
push esi
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0041e2e0
pop ecx
push dword [eax]
push ebx
call fcn.0047cc8a
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
cmp dword [ebp - 8], 0
je 0x47caeb
push esi
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0041e2e0
pop ecx
push 5
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040151c
lea eax, [ebp - 4]
call fcn.0047d15b
test eax, eax
je 0x47cc6f
mov eax, dword [0x4dd4b4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x4dd4b4]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
lea edi, [ebp - 0x10]
mov dword [ebp + 8], eax
call fcn.0047d1e2
lea edi, [ebp + 8]
call fcn.0040204d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
push dword [ebp - 4]
lea eax, [ebp - 0x10]
call fcn.0047d276
pop ecx
lea edi, [ebp - 8]
call fcn.0040204d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
call fcn.0047d2a7
test eax, eax
mov esi, dword [ebp - 8]
push str.kisknl64.sys
push esi
je 0x47cc21
call fcn.0048ca4a
test eax, eax
pop ecx
pop ecx
je 0x47cc39
push str.kisknl.sys
push esi
call fcn.0048ca4a
test eax, eax
pop ecx
pop ecx
jne 0x47cc39
jmp 0x47cc5c
call fcn.0048ca4a
test eax, eax
pop ecx
pop ecx
je 0x47cc5c
push str.kisknl.sys
push esi
call fcn.0048ca4a
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0041e20b
pop ecx
push dword [eax]
push ebx
call fcn.0047cc8a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040151c
lea eax, [esi - 0x10]
call fcn.0040151c
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 4