Function at 0x4c7be0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d8ec
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x72400c]
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 dword [ebp - 4], 0
push 0x8b600
mov byte [ebp - 4], 5
call fcn.004cec81
mov ebx, eax
mov dword [ebp - 4], 4
add esp, 4
mov dword [ebp - 0xf0], ebx
test ebx, ebx
jne 0x4c7d01
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4c7c55
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004120a0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x4c7c7e
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.004120a0
xor eax, eax
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
cmp eax, 0x10
jb 0x4c7ca7
inc eax
lea ecx, [ebp + 0x38]
push eax
push dword [ebp + 0x38]
call fcn.00408600
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x4c], 0xf
mov dword [ebp + 0x48], 0
mov byte [ebp + 0x38], 0
cmp eax, 0x10
jb 0x4c7cce
inc eax
lea ecx, [ebp + 0x50]
push eax
push dword [ebp + 0x50]
call fcn.00408600
mov eax, dword [ebp + 0x84]
mov dword [ebp + 0x64], 0xf
mov dword [ebp + 0x60], 0
mov byte [ebp + 0x50], 0
cmp eax, 0x10
jb 0x4c7e65
inc eax
lea ecx, [ebp + 0x70]
push eax
push dword [ebp + 0x70]
call fcn.00408600
jmp 0x4c7e65
push 0x8b600
push 0x682970
push ebx
call fcn.004e80a0
add esp, 8
lea eax, [ebp - 0xe8]
push ebx
push eax
call fcn.004c8210
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xe8]
sub eax, edi
cmp eax, 4
jae 0x4c7e15
push ebx
call fcn.004cea7d
add esp, 4
test edi, edi
je 0x4c7d5b
mov eax, dword [ebp - 0xe0]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.00408ce0
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x4c7d70
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004120a0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x4c7d99
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.004120a0
xor eax, eax
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
cmp eax, 0x10
jb 0x4c7dc2
inc eax
lea ecx, [ebp + 0x38]
push eax
push dword [ebp + 0x38]
call fcn.00408600
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x4c], 0xf
mov dword [ebp + 0x48], 0
mov byte [ebp + 0x38], 0
cmp eax, 0x10
jb 0x4c7de9
inc eax
lea ecx, [ebp + 0x50]
push eax
push dword [ebp + 0x50]
call fcn.00408600
mov eax, dword [ebp + 0x84]
mov dword [ebp + 0x64], 0xf
mov dword [ebp + 0x60], 0
mov byte [ebp + 0x50], 0
cmp eax, 0x10
jb 0x4c7e65
inc eax
lea ecx, [ebp + 0x70]
push eax
push dword [ebp + 0x70]
call fcn.00408600
jmp 0x4c7e65
cmp dword [ebp + 0x30], 0x80
jb 0x4c7e85
push ebx
call fcn.004cea7d
add esp, 4
test edi, edi
je 0x4c7e3d
mov eax, dword [ebp - 0xe0]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.00408ce0
lea ecx, [ebp + 8]
call fcn.0040f850
lea ecx, [ebp + 0x20]
call fcn.0040f850
lea ecx, [ebp + 0x38]
call fcn.00406f20
lea ecx, [ebp + 0x50]
call fcn.00406f20
lea ecx, [ebp + 0x70]
call fcn.00406f20
xor al, al
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.004ce564
mov esp, ebp
pop ebp
ret 0x88
cmp dword [ebp + 0x48], 0x80
jae 0x4c7e1e
cmp dword [ebp + 0x60], 0x80
jae 0x4c7e1e
cmp dword [ebp + 0x80], 0x80
jae 0x4c7e1e
sar eax, 2
xor ecx, ecx
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xf4], eax
test eax, eax
je 0x4c7f8d
mov esi, dword [edi + ecx*4]
push 0x28c
push 0
push esi
call fcn.004e7b30
add esp, 0xc
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
cmovae eax, dword [ebp + 0x20]
push 0x80
push eax
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push 0x80
cmovae eax, dword [ebp + 0x38]
push eax
lea eax, [esi + 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x64], 0x10
lea eax, [ebp + 0x50]
push 0x80
cmovae eax, dword [ebp + 0x50]
push eax
lea eax, [esi + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x84], 0x10
lea eax, [ebp + 0x70]
push 0x80
cmovae eax, dword [ebp + 0x70]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ax, word [ebp + 0x68]
mov ecx, dword [ebp - 0xec]
mov word [esi + 0x280], ax
inc ecx
mov al, byte [ebp + 0x6c]
mov byte [esi + 0x282], al
mov eax, dword [ebp + 0x88]
mov dword [esi + 0x284], eax
mov eax, dword [ebp + 0x8c]
mov dword [esi + 0x288], eax
mov dword [ebp - 0xec], ecx
cmp ecx, dword [ebp - 0xf4]
jb 0x4c7ec0
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
push str.nprt_copy.dll
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 9
call fcn.00407af0
mov esi, eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
call fcn.0040e600
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 0x10
jb 0x4c7fcf
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.004c8650
push eax
lea ecx, [ebp - 0x44]
call fcn.0040f890
lea ecx, [ebp - 0x5c]
call fcn.0040f850
lea ecx, [ebp - 0xdc]
call fcn.0040e540
lea ecx, [ebp - 0x74]
call fcn.00406f20
push 0x70fec0
lea edx, [ebp + 8]
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.0041c210
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0041c150
add esp, 8
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xf
call fcn.0040f850
sub esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1a4]
push eax
call fcn.00424fc0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x154], 0
jne 0x4c8085
push ebx
call fcn.004cea7d
add esp, 4
lea ecx, [ebp - 0x1a4]
call fcn.00422390
lea ecx, [ebp - 0x2c]
call fcn.0040f850
lea ecx, [ebp - 0x44]
call fcn.0040f850
jmp 0x4c7e27
push 0
push 0x8b600
push ebx
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x11
call fcn.00425900
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 0x10
call fcn.00424f80
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x4c80ff
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call fcn.004cea7d
add esp, 4
lea ecx, [ebp - 0x1a4]
call fcn.00422390
lea ecx, [ebp - 0x2c]
call fcn.0040f850
lea ecx, [ebp - 0x44]
call fcn.0040f850
jmp 0x4c7e27
push str.RegistryPlugin
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c80c4
call eax
test eax, eax
je 0x4c80c4
push ebx
call fcn.004cea7d
add esp, 4
lea ecx, [ebp - 0x1a4]
call fcn.00422390
lea ecx, [ebp - 0x2c]
call fcn.0040f850
lea ecx, [ebp - 0x44]
call fcn.0040f850
test edi, edi
je 0x4c814f
mov eax, dword [ebp - 0xe0]
sub eax, edi
sar eax, 2
push eax
push edi
call fcn.00408ce0
lea ecx, [ebp + 8]
call fcn.0040f850
lea ecx, [ebp + 0x20]
call fcn.0040f850
lea ecx, [ebp + 0x38]
call fcn.00406f20
lea ecx, [ebp + 0x50]
call fcn.00406f20
lea ecx, [ebp + 0x70]
call fcn.00406f20
mov al, 1
jmp 0x4c7e67