Function at 0x54c8e0
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f975a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x338
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x328], esi
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 0xcc]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x334], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], edi
test ecx, ecx
je 0x54c967
push str.Restoring_a_registry_backup...
push 0xffffffffffffffff
call fcn.005b66e0
mov ecx, dword [esi + 0xcc]
push 0
call fcn.005b6180
push 0
push 1
mov ecx, esi
call fcn.005494d0
push 1
push dword [ebp - 0x334]
xor esi, esi
lea ecx, [ebp - 0x50]
xorps xmm0, xmm0
mov dword [ebp - 0x32c], esi
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], esi
call fcn.005dc570
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], esi
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x6c], esi
lea ecx, [ebp - 0x74]
movq qword [ebp - 0x74], xmm0
call fcn.005dc5e0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.005dc3a0
test eax, eax
jne 0x54cc40
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push str.UVKRegistry_backups
xorps xmm0, xmm0
push ecx
mov ecx, dword [ebp - 0x328]
movlpd qword [ebp - 0x340], xmm0
call fcn.0057c490
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0x260
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x320]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0xd0], esi
cmp esi, 0xffffffff
je 0x54cb28
mov eax, 5
mov dword [ebp - 0xcc], eax
nop dword [eax]
cmp word [ebp - 0x2f4], 0x2e
jne 0x54cac6
mov cx, word [ebp - 0x2f2]
test cx, cx
je 0x54caf3
cmp cx, 0x2e
jne 0x54cac6
cmp word [ebp - 0x2f0], 0
je 0x54caf3
test eax, eax
je 0x54cb28
mov ecx, dword [ebp - 0x320]
test al, 1
je 0x54cadc
test ecx, 0x400
jne 0x54caf3
test al, 2
je 0x54cae7
test cl, 0x10
je 0x54cb28
jmp 0x54caf3
test al, 4
je 0x54cb28
test ecx, 0x10
jne 0x54cb28
lea eax, [ebp - 0x320]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x54cb13
mov eax, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xd0]
jmp 0x54caa0
push dword [ebp - 0xd0]
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
mov dword [ebp - 0xd0], esi
mov byte [ebp - 4], 6
cmp esi, 0xffffffff
je 0x54cc17
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x330], eax
nop dword [eax]
lea ecx, [ebp - 0x31c]
call fcn.005d0510
mov ecx, edx
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x33c], ecx
cmp ecx, dword [ebp - 0x334]
jl 0x54cbcc
jg 0x54cb7b
cmp eax, dword [ebp - 0x330]
jbe 0x54cbcc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2f4]
push eax
push str.UVKRegistry_backups_
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c490
push eax
lea ecx, [ebp - 0x50]
call fcn.005dc200
mov eax, dword [ebp - 0x324]
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x334], eax
cmp esi, 0xffffffff
je 0x54cc17
lea eax, [ebp - 0x320]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x54cbfd
lea ecx, [ebp - 0x320]
call fcn.004011a0
test al, al
je 0x54cc17
mov esi, dword [ebp - 0xd0]
jmp 0x54cb50
push dword [ebp - 0xd0]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x54cc1d
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x328]
push 0
push 1
call fcn.005494d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd0]
cmp eax, 0xffffffff
je 0x54cc3e
push eax
call esi
xor esi, esi
sub esp, 8
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x68], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Reg_Temp
call fcn.005dc190
push eax
lea ecx, [ebp - 0x68]
call fcn.005dc520
sub esp, 8
mov byte [ebp - 4], 7
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x5c], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Old_RegBk
call fcn.005dc190
push eax
lea ecx, [ebp - 0x5c]
call fcn.005dc520
push 2
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.005dc190
push eax
call fcn.005771e0
push 2
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
call fcn.005771e0
lea ecx, [ebp - 0x68]
call fcn.005dc190
or edx, 0xffffffff
mov ecx, eax
call fcn.005e0f30
lea ecx, [ebp - 0x5c]
call fcn.005dc190
or edx, 0xffffffff
mov ecx, eax
call fcn.005e0f30
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.005dc190
mov edx, 1
mov ecx, eax
call fcn.005d7570
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.005dc190
mov edx, 1
mov ecx, eax
call fcn.005d7570
lea ecx, [ebp - 0x50]
call fcn.005dc190
mov ecx, eax
call fcn.005e1200
test al, al
je 0x54dc9b
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.005dc190
mov edx, 1
mov ecx, eax
call fcn.005d7570
test byte [ebx + 0xc], 1
je 0x54cfb1
mov ecx, dword [ebp - 0x328]
push 0
push 1
call fcn.005494d0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
push str.Users_
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
push 0x624284
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
push 0x624284
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54ce75
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
neg eax
sbb esi, esi
inc esi
mov dword [ebp - 0x32c], esi
test edi, edi
je 0x54ce75
add dword [edi], esi
mov ecx, dword [ebp - 0x328]
push 0
push 1
call fcn.005494d0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
push str.Users_
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
push 0x624284
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
push 0x624284
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54cfb1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
lea ecx, [ebp - 0x74]
call fcn.005dc200
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x74]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
neg eax
sbb eax, eax
inc eax
test edi, edi
je 0x54cfa9
add dword [edi], eax
add esi, eax
mov dword [ebp - 0x32c], esi
test byte [ebx + 0xc], 2
je 0x54d2c1
mov dword [ebp - 0x9c], 0x65c7c8
mov dword [ebp - 0x98], str.SOFTWARE
mov dword [ebp - 0x94], str.SYSTEM
mov dword [ebp - 0x90], str.SECURITY
mov dword [ebp - 0x32c], 0
nop dword [eax]
mov ecx, dword [ebp - 0x328]
push 0
push 1
call fcn.005494d0
mov eax, dword [ebp - 0x32c]
lea ecx, [ebp - 0x50]
push 0
push 0
push 0
mov eax, dword [ebp + eax*4 - 0x9c]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0x624284
mov dword [ebp - 0x330], eax
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x330]
lea ecx, [ebp - 0x68]
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x330]
lea ecx, [ebp - 0x5c]
push 0x624284
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54d0e5
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push dword [ebp - 0x330]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
neg eax
sbb eax, eax
inc eax
test edi, edi
je 0x54d0e3
add dword [edi], eax
add esi, eax
mov eax, dword [ebp - 0x32c]
inc eax
mov dword [ebp - 0x32c], eax
cmp eax, 4
jl 0x54cff0
mov ecx, dword [ebp - 0x328]
push 0
push 1
mov dword [ebp - 0x32c], esi
call fcn.005494d0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.DEFAULT
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.DEFAULT
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.DEFAULT
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54d1e1
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push str..DEFAULT
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
neg eax
sbb eax, eax
inc eax
test edi, edi
je 0x54d1d9
add dword [edi], eax
add esi, eax
mov dword [ebp - 0x32c], esi
mov ecx, dword [ebp - 0x328]
push 0
push 1
call fcn.005494d0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x65c450
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x65c450
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x65c450
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54d2c1
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
push str.BCD00000000
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
neg eax
sbb eax, eax
inc eax
test edi, edi
je 0x54d2b9
add dword [edi], eax
add esi, eax
mov dword [ebp - 0x32c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x80]
movq qword [ebp - 0x80], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x8c]
movq qword [ebp - 0x8c], xmm0
call fcn.005dc5e0
sub esp, 8
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
movq qword [ebp - 0x98], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.MicrosoftWindowsUsrClass.dat
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c260
push eax
lea ecx, [ebp - 0x98]
call fcn.005dc520
push ecx
mov ecx, dword [ebp - 0x328]
mov byte [ebp - 4], 0xb
call fcn.0057c1c0
push eax
lea ecx, [ebp - 0x98]
call fcn.005dad50
mov ecx, dword [ebp - 0x348]
mov edx, str.All_users
push 0
call fcn.005d8ad0
test eax, eax
jne 0x54d7c3
lea ecx, [eax + 3]
call fcn.0059e240
mov esi, eax
mov dword [ebp - 0x324], esi
mov byte [ebp - 4], 0xc
cmp dword [esi], 0
mov dword [ebp - 0x334], 0
jbe 0x54d7b2
xor ecx, ecx
mov dword [ebp - 0x330], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc4e0
push ecx
mov ecx, dword [ebp - 0x328]
call fcn.0057c2d0
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc4c0
test al, al
jne 0x54d788
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.HKU_
lea ecx, [ebp - 0x74]
call fcn.005dc200
lea ecx, [ebp - 0x74]
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.005d3780
test al, al
jne 0x54d465
mov ecx, dword [esi + 4]
add ecx, dword [ebp - 0x330]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.NTUSER.DAT
call fcn.005dc190
push eax
lea ecx, [ebp - 0x80]
call fcn.005dc200
lea ecx, [ebp - 0x80]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x54d788
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.Users_
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54d58a
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x33c], ecx
sete al
add dword [ebp - 0x32c], eax
test edi, edi
je 0x54d58a
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
test eax, eax
je 0x54d586
cmp dword [ebp - 0x33c], 0
jne 0x54d586
mov eax, 1
jmp 0x54d588
xor eax, eax
add dword [edi], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.HKU_
lea ecx, [ebp - 0x74]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x8c]
call fcn.005dc200
lea ecx, [ebp - 0x74]
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.005d3780
test al, al
jne 0x54d660
mov edi, dword [esi + 4]
lea ecx, [ebp - 0x98]
add edi, dword [ebp - 0x330]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005dc190
push eax
lea ecx, [ebp - 0x80]
call fcn.005dc200
lea ecx, [ebp - 0x80]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x8c]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x54d788
mov edi, dword [ebp - 0x344]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.Users_
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54d788
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x8c]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x33c], ecx
sete al
add dword [ebp - 0x32c], eax
test edi, edi
je 0x54d788
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
test eax, eax
je 0x54d784
cmp dword [ebp - 0x33c], 0
jne 0x54d784
mov eax, 1
jmp 0x54d786
xor eax, eax
add dword [edi], eax
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 0x330]
inc eax
mov edi, dword [ebp - 0x344]
add ecx, 0xc
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x330], ecx
cmp eax, dword [esi]
jb 0x54d3a6
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00402a20
jmp 0x54dc66
push 0
push 0x62794c
push dword [ebp - 0x348]
xorps xmm0, xmm0
lea ecx, [ebp - 0xc0]
movups xmmword [ebp - 0xc0], xmm0
movq qword [ebp - 0xb0], xmm0
call fcn.005d92a0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xa8]
movq qword [ebp - 0xa8], xmm0
call fcn.005dc5e0
xor edx, edx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x330], edx
call fcn.005d9210
test eax, eax
je 0x54dc4c
nop dword [eax]
push edx
lea ecx, [ebp - 0xc0]
call fcn.005d9220
mov ecx, eax
call fcn.005d8c40
cmp eax, 5
jl 0x54dc26
mov ecx, dword [ebp - 0x328]
push 0
push 1
call fcn.005494d0
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x330]
lea ecx, [ebp - 0xc0]
call fcn.005d9220
lea edx, [ebp - 0x20]
mov ecx, eax
call fcn.0059d880
test al, al
je 0x54dc26
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.HKU_
lea ecx, [ebp - 0x74]
call fcn.005dc200
lea ecx, [ebp - 0x74]
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.005d3780
test al, al
jne 0x54d916
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.NTUSER.dat
lea ecx, [ebp - 0xa8]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x80]
call fcn.005dc200
lea ecx, [ebp - 0x80]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x54dc26
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.Users_
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54da37
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x33c], ecx
sete al
add esi, eax
test edi, edi
je 0x54da37
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
test eax, eax
je 0x54da33
cmp dword [ebp - 0x33c], 0
jne 0x54da33
mov eax, 1
jmp 0x54da35
xor eax, eax
add dword [edi], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.HKU_
lea ecx, [ebp - 0x74]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x8c]
call fcn.005dc200
lea ecx, [ebp - 0x74]
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.005d3780
test al, al
jne 0x54db02
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x98]
call fcn.005dc190
push eax
lea ecx, [ebp - 0xa8]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x80]
call fcn.005dc200
lea ecx, [ebp - 0x80]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x8c]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x54dc26
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push str.Users_
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._Classes.dat
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push 0x624284
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x54dc26
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x8c]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegReplaceKeyW]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x33c], ecx
sete al
add esi, eax
test edi, edi
je 0x54dc26
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
push SHDefExtractIconW
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
test eax, eax
je 0x54dc22
cmp dword [ebp - 0x33c], 0
jne 0x54dc22
mov eax, 1
jmp 0x54dc24
xor eax, eax
add dword [edi], eax
mov edx, dword [ebp - 0x330]
lea ecx, [ebp - 0xc0]
inc edx
mov dword [ebp - 0x330], edx
call fcn.005d9210
cmp edx, eax
jb 0x54d830
mov dword [ebp - 0x32c], esi
lea ecx, [ebp - 0xa8]
call fcn.005dc430
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call fcn.005d9280
mov edi, dword [ebp - 0x328]
mov ecx, edi
push 0
push 1
call fcn.005494d0
lea ecx, [ebp - 0x98]
call fcn.005dc430
lea ecx, [ebp - 0x8c]
call fcn.005dc430
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.005dc430
jmp 0x54dca1
mov edi, dword [ebp - 0x328]
push 2
lea ecx, [ebp - 0x68]
call fcn.005dc190
push eax
call fcn.005771e0
push 0
push 1
mov ecx, edi
call fcn.005494d0
push 3
lea ecx, [ebp - 0x5c]
call fcn.005dc190
push eax
call fcn.005771e0
push 0
push 1
mov ecx, edi
call fcn.005494d0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.BackupInfo.ini
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc200
push 0x800
push 0
push str.Name
push str.BackupInfo
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005db1d0
mov esi, dword [ebp - 0x32c]
lea ecx, [ebp - 0x20]
call fcn.005dbeb0
test esi, esi
je 0x54dd53
test al, al
je 0x54dd42
mov eax, str.Successfully_restored_an_unnamed_registry_backup.
xor ecx, ecx
jmp 0x54dd6f
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, eax
mov eax, str.Successfully_restored_registry_backup_named
jmp 0x54dd6f
test al, al
je 0x54dd60
mov eax, str.Failed_to_restore_an_unnamed_registry_backup.
xor ecx, ecx
jmp 0x54dd6f
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, eax
mov eax, str.Failed_to_restore_registry_backup_named
push 0
push 0
push ecx
push eax
mov ecx, edi
call fcn.0057b7e0
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x54dd8d
push 1
call fcn.005b6180
lea ecx, [ebp - 0x5c]
call fcn.005dc430
lea ecx, [ebp - 0x68]
call fcn.005dc430
lea ecx, [ebp - 0x74]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x44]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x50]
call fcn.005dc430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10