Function at 0x4963b0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ffcf
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 0x58], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x188], ecx
mov eax, dword [ebp - 0x188]
add eax, 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xf5], 0
mov eax, dword [ebp - 0x188]
add eax, 0xa0
push eax
lea ecx, [ebp - 0xf4]
call fcn.0042845b
and dword [ebp - 4], 0
push 0x4ae95c
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.004428cc
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.0041478d
push eax
call fcn.0040808d
pop ecx
test eax, eax
je 0x49645a
lea ecx, [ebp - 0xd8]
call fcn.0041478d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [ebp - 0xd8]
call fcn.0041478d
push eax
lea ecx, [ebp - 0xf4]
call fcn.0041478d
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4964ae
mov byte [ebp - 0x145], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00402f4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00402f4a
mov al, byte [ebp - 0x145]
jmp 0x4967c2
push 0x4ae988
mov eax, dword [ebp - 0x188]
add eax, 0x84
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.004428cc
add esp, 0xc
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 2
push dword [ebp + 8]
push dword [ebp - 0x190]
lea eax, [ebp - 0x180]
push eax
call fcn.004428cc
add esp, 0xc
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 3
push str.plugininfo.xml
push dword [ebp - 0x198]
lea eax, [ebp - 0x74]
push eax
call fcn.004428cc
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.00402f4a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x164]
call fcn.00402f4a
lea ecx, [ebp - 0x54]
call fcn.004737c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.004737c0
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0xf4]
call fcn.0041478d
push eax
lea ecx, [ebp - 0xbc]
call fcn.00474150
movzx eax, al
test eax, eax
jne 0x4965ee
mov eax, dword [ebp - 0x188]
add eax, 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0xf5]
mov byte [ebp - 0x181], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00442859
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00442859
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00402f4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00402f4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00402f4a
mov al, byte [ebp - 0x181]
jmp 0x4967c2
push 0
lea ecx, [ebp - 0x74]
call fcn.0041478d
push eax
lea ecx, [ebp - 0x54]
call fcn.00474150
movzx eax, al
test eax, eax
jne 0x496674
mov eax, dword [ebp - 0x188]
add eax, 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0xf5]
mov byte [ebp - 0x182], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00442859
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00442859
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00402f4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00402f4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00402f4a
mov al, byte [ebp - 0x182]
jmp 0x4967c2
push 0x4ae98c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x188]
call fcn.0049625f
movzx eax, al
test eax, eax
jl 0x4966e7
push 0x4ae994
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x188]
call fcn.0049625f
movzx eax, al
test eax, eax
jl 0x4966e7
lea ecx, [ebp - 0xf4]
call fcn.0041478d
push eax
lea ecx, [ebp - 0xbc]
call fcn.00473a40
mov byte [ebp - 0xf5], al
mov eax, dword [ebp - 0x188]
add eax, 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4966eb
xor eax, eax
jne 0x496674
lea ecx, [ebp - 0x144]
call fcn.004737c0
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0xf4]
call fcn.0041478d
push eax
lea ecx, [ebp - 0x144]
call fcn.00474150
movzx eax, al
test eax, eax
jne 0x49674c
lea ecx, [ebp - 0xf4]
call fcn.0041478d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [ebp - 0xf4]
call fcn.0041478d
push eax
lea ecx, [ebp - 0xd8]
call fcn.0041478d
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x144]
call fcn.00442859
mov eax, dword [ebp - 0x188]
add eax, 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0xf5]
mov byte [ebp - 0x183], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00442859
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00442859
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00402f4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00402f4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00402f4a
mov al, byte [ebp - 0x183]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x58]
xor ecx, ebp
call fcn.0047676d
leave
ret 4