Function at 0x564a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb1ad
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x70f200]
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 edi, ecx
mov ebx, dword [ebp + 8]
push str.Creating_a_new_system_restore_point...
push 0xffffffffffffffff
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
mov ecx, ebx
call fcn.005d8c40
mov esi, eax
test esi, esi
jne 0x564a9e
xor edx, edx
jmp 0x564caf
mov eax, 0xff
mov dword [ebp - 0x23c], 0x64
cmp esi, 0x100
xorps xmm0, xmm0
movlpd qword [ebp - 0x234], xmm0
cmovge esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x238], eax
lea eax, [esi + 1]
push eax
push ebx
lea eax, [ebp - 0x22c]
push 0x100
push eax
call fcn.00421833
add esp, 0x10
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp + esi*2 - 0x22c], ax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], eax
xorps xmm0, xmm0
push 0
lea eax, [ebp - 0x23c]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push str.HKLM64SoftwareMicrosoftWindows_NTCurrentVersionSystemRestore
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x18], 0
call fcn.005d6a80
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push str.SystemRestorePointCreationFrequency
lea ecx, [ebp - 0x18]
call fcn.005d66b0
push 0
mov byte [ebp - 0x255], al
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push 4
push str.SystemRestorePointCreationFrequency
call fcn.005d5f20
push 0
push 0
lea eax, [ebp - 0x254]
push eax
push 0x58c490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x248], esi
mov byte [ebp - 4], 1
cmp esi, eax
je 0x564c90
test esi, esi
je 0x564c90
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x564bb5
push 0
call fcn.005b6180
xor edx, edx
mov dword [ebp - 0x240], 0
mov ecx, esi
call fcn.005cca30
test al, al
je 0x564be8
nop dword [eax]
push 0
push 0
mov ecx, edi
call fcn.005494d0
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
jne 0x564bd0
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp byte [ebp - 0x255], 0
lea ecx, [ebp - 0x18]
je 0x564c16
push 0
lea eax, [ebp - 0x1c]
push eax
push 4
push str.SystemRestorePointCreationFrequency
call fcn.005d5f20
jmp 0x564c20
push str.SystemRestorePointCreationFrequency
call fcn.005d5df0
cmp dword [ebp - 0x240], 0
mov ecx, 0x64a99c
push 0x64a944
push ebx
mov eax, 0x64a978
cmovne eax, ecx
mov ecx, edi
push str.restore_point_named__
push eax
call fcn.0057b7e0
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x564c58
push 1
call fcn.005b6180
cmp dword [ebp - 0x240], 0
jne 0x564c75
xorps xmm0, xmm0
push esi
movlpd qword [ebp - 0x24c], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x564c9b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push esi
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x564c9b
xorps xmm0, xmm0
movlpd qword [ebp - 0x24c], xmm0
lea ecx, [ebp - 0x18]
call fcn.005d69e0
mov eax, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x248]
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.0041e1b5
mov esp, ebp
pop ebp
ret 0x14