Function at 0x447929
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x48666e
call fcn.0046cde8
sub esp, 0x228
mov eax, dword [0x492bc0]
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], eax
mov ebx, 0x104
lea eax, [esi + 0x1e]
push ebx
push eax
mov byte [esi + 0x1488], 0
call fcn.0040ac17
push dword [ebp + 0xc]
lea edi, [esi + 0x226]
push ebx
push edi
call fcn.0040ac17
xor ebx, ebx
cmp word [edi], bx
je 0x44797a
mov byte [esi + 0x1c], 1
cmp dword [ebp + 0x14], ebx
je 0x447995
push dword [ebp + 0x14]
lea eax, [esi + 0x42e]
push 0x824
push eax
call fcn.0040ac17
jmp 0x44799c
mov word [esi + 0x42e], bx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, 0x10000000
push ebx
push 3
push 0
push eax
mov dword [esi + 0x1480], eax
call fcn.0041c09b
pop ecx
push eax
push dword [esi + 0x1480]
call fcn.0041c080
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
pop ecx
push eax
lea eax, [esi + 0x1e]
push eax
call edi
cmp eax, 0xffffffff
mov dword [esi + 0x1478], eax
jne 0x4479f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042f6c9
test eax, eax
pop ecx
mov dword [ebp + 8], eax
jl 0x447a00
push dword [esi + 0x1478]
mov ecx, esi
call fcn.0044601b
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x1480]
shr eax, 1
and eax, 1
cmp dword [ebp + 8], 0x80030002
mov dword [esi + 0x1484], eax
je 0x447a27
cmp dword [ebp + 8], 0x80040231
jne 0x447ac3
test eax, eax
je 0x447ac3
lea eax, [esi + 0x1e]
push eax
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.00419c4e
add esp, 0xc
test eax, eax
jne 0x447ac3
cmp dword [ebp + 8], 0x80040231
jne 0x447a71
push dword [esi + 0x1478]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 0x1478], 0xffffffff
lea eax, [esi + 0x1e]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x1e]
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x447ac3
push 0
push ebx
push 3
push 0
push dword [esi + 0x1480]
call fcn.0041c09b
pop ecx
push eax
push dword [esi + 0x1480]
call fcn.0041c080
pop ecx
push eax
lea eax, [esi + 0x1e]
push eax
call edi
cmp eax, 0xffffffff
mov dword [esi + 0x1478], eax
je 0x447ac3
push eax
mov ecx, esi
call fcn.0044601b
mov dword [ebp + 8], eax
xor eax, eax
cmp dword [ebp + 8], eax
jl 0x447c00
cmp byte [esi + 0x1c], al
je 0x447b30
push eax
push ebx
push 3
push eax
push dword [esi + 0x1480]
call fcn.0041c09b
pop ecx
push eax
push dword [esi + 0x1480]
call fcn.0041c080
pop ecx
push eax
lea eax, [esi + 0x226]
push eax
call edi
cmp eax, 0xffffffff
mov dword [esi + 0x147c], eax
jne 0x447b16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042f6c9
pop ecx
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jl 0x447c00
push dword [esi + 0x147c]
mov ecx, esi
call fcn.0044601b
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jl 0x447c00
push dword [esi + 0x1484]
lea ebx, [esi + 0x18a8]
push dword [esi + 0x1494]
mov ecx, ebx
push dword [esi + 0x1490]
push dword [esi + 0x1478]
call fcn.0046b38c
test eax, eax
mov dword [ebp + 8], eax
jl 0x447c00
mov ecx, ebx
call fcn.0046ad76
test eax, eax
mov dword [ebp + 8], eax
jl 0x447c00
cmp byte [esi + 0x1c], 0
je 0x447bb8
push dword [esi + 0x1484]
lea edi, [esi + 0x1a00]
push dword [esi + 0x1494]
mov ecx, edi
push dword [esi + 0x1490]
push dword [esi + 0x147c]
call fcn.0046b38c
test eax, eax
mov dword [ebp + 8], eax
jl 0x447c00
mov ecx, edi
call fcn.0046ad76
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jl 0x447c00
push ebx
mov ecx, esi
call fcn.00446aa6
test eax, eax
mov dword [ebp + 8], eax
jl 0x447c00
cmp byte [esi + 0x1c], 0
je 0x447bd9
lea ebx, [esi + 0x1a00]
push ebx
mov ecx, esi
call fcn.00446bb5
test eax, eax
mov dword [ebp + 8], eax
jl 0x447c00
mov ecx, esi
call fcn.004456f3
test eax, eax
mov dword [ebp + 8], eax
jl 0x447c00
mov ecx, esi
call fcn.00445c85
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0x80040200
jne 0x447c10
mov dword [ebp + 8], 0x80040210
cmp word [esi + 0x42e], 0
je 0x447c6c
push 0x5c
push 1
push dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.00430209
lea eax, [ebp - 0x2c]
lea edi, [esi + 0x1fb4]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0042fade
test al, al
je 0x447c5d
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00430084
cmp dword [esi + 0x1484], ebx
je 0x447c5d
or dword [esi + 0x220c], 1
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040db60
cmp dword [ebp + 8], 0
jl 0x447c80
mov ecx, esi
call fcn.004461c9
test eax, eax
mov dword [ebp + 8], eax
jge 0x447ca2
push dword [esi + 0x1478]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
or dword [esi + 0x1478], 0xffffffff
add esi, 0x147c
push dword [esi]
call edi
or dword [esi], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0046cd1e
leave
ret 0x10