Function at 0x4b0550
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5690f9
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x470], ebx
push 0x208
lea eax, [ebp - 0x454]
push 0
push eax
call fcn.0052d340
add esp, 0xc
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x458], reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040c170
mov ecx, dword [ebp - 0x24c]
test al, al
push str.SoftwareMicrosoftWindows_NTCurrentVersionSystemRestore
mov edx, 0x200
mov dword [ebp - 0x458], reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x454]
cmovne ecx, edx
push 0x104
push eax
mov dword [ebp - 0x24c], ecx
call fcn.0053531f
add esp, 0xc
mov dword [ebp - 0x468], 0
lea eax, [ebp - 0x468]
lea ecx, [ebp - 0x458]
push 4
push eax
push 4
push str.SystemRestorePointCreationFrequency
call fcn.0040bbc0
cmp dword [ebx + 0x2c], 1
jne 0x4b0620
mov ecx, ebx
call fcn.004b0fe0
mov esi, dword [0x61e7fc]
test esi, esi
jne 0x4b066e
push 0x48
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x46c], esi
mov dword [ebp - 4], 0
push 0x48
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.004afc60
mov byte [ebp - 4], 1
mov dword [esi], vtable.CThreadSystemRestore_Instanst.0
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e7fc], esi
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x464]
call fcn.00441610
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
xor esi, esi
call fcn.004b19e0
mov byte [ebp - 4], 3
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [0x618d28]
cmovae edi, dword [ebp - 0x28]
test eax, eax
jne 0x4b06cd
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 3
mov dword [0x618d28], eax
push edi
push str.GetPointDec_return:__s
push 0x158
push 0x5bec18
push 8
push eax
call fcn.0040a3e0
add esp, 0x18
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
test edi, edi
jns 0x4b0740
mov eax, dword [0x618d28]
test eax, eax
jne 0x4b0725
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 3
mov dword [0x618d28], eax
push edi
push str.Unexpected_error:_CoInitializeEx___failed_with_0x_08x_n
push 0x15d
push 0x5bec78
push 8
push eax
call fcn.0040a3e0
add esp, 0x18
call fcn.004b01f0
mov ebx, eax
test ebx, ebx
jne 0x4b0792
mov eax, dword [0x618d28]
test eax, eax
jne 0x4b0778
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 3
mov dword [0x618d28], eax
push str.Unexpected_error:_failed_to_initialize_COM_security_n
push 0x16c
push 0x5becd8
push 8
push eax
call fcn.0040a3e0
add esp, 0x14
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x248], 0x64
cmovae edi, dword [ebp - 0x28]
xorps xmm0, xmm0
mov eax, ecx
mov dword [ebp - 0x244], 0
movlpd qword [ebp - 0x240], xmm0
mov edx, 0x100
sub edi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x4b07ee
movzx eax, word [edi + ecx]
test ax, ax
je 0x4b07ee
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4b07d0
lea eax, [ecx - 2]
test edx, edx
push 0x5beb3c
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x468], eax
test eax, eax
jne 0x4b085c
mov eax, dword [0x618d28]
test eax, eax
jne 0x4b083d
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 3
mov dword [0x618d28], eax
push 0x5bed00
push 0x183
push 0x5bed20
push 8
push eax
call fcn.0040a3e0
add esp, 0x14
jmp 0x4b0991
push str.SRSetRestorePointW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x4b08ba
mov eax, dword [0x618d28]
test eax, eax
jne 0x4b089b
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 3
mov dword [0x618d28], eax
push 0x5bed5c
push 0x18b
push 0x5bed80
push 8
push eax
call fcn.0040a3e0
add esp, 0x14
jmp 0x4b0985
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x248]
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x4b090e
mov esi, dword [ebp - 0x34]
cmp esi, 0x422
jne 0x4b08fc
push str.System_Restore_is_turned_off._n
push 0x196
push 0x5bedc8
push 8
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x14
jmp 0x4b0985
push esi
push str.Failure_to_create_the_restore_point__error_u._n
push 0x199
push 0x5bee20
jmp 0x4b0975
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str.Restore_point_created__number_I64d._n
push 0x19d
push 0x5bee70
push 8
call fcn.0040a150
push eax
call fcn.0040a3e0
mov eax, dword [ebp - 0x30]
add esp, 0x1c
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 0x65
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x4b0985
mov esi, dword [ebp - 0x34]
push esi
push str.Failure_to_end_the_restore_point__error_u._n
push 0x1b4
push 0x5beec8
push 8
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x18
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x470]
cmp dword [edx + 0x2c], 1
jne 0x4b0df2
test ebx, ebx
jne 0x4b0a92
cmp esi, 0x422
jne 0x4b0a1b
push str.System_Restore_is_turned_off._r_n
push 0x1c5
push 0x5bef10
push 8
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00409540
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x464]
test ecx, ecx
je 0x4b0a11
mov eax, dword [ebp - 0x45c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], ebx
mov eax, 0x80b
jmp 0x4b0e62
push esi
push str.CreateSystemRestorePoint_fail__error_u._r_n
push 0x1ca
push 0x5bef64
push 8
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00409540
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x464]
test ecx, ecx
je 0x4b0a88
mov eax, dword [ebp - 0x45c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov eax, 0x809
jmp 0x4b0e62
mov edi, dword [ebp - 0x460]
xor ecx, ecx
mov esi, dword [ebp - 0x464]
sub edi, esi
sar edi, 2
test edi, edi
je 0x4b0ad2
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
nop
mov eax, dword [esi + ecx*4]
mov dword [ebp - 0x468], 0
cmp dword [eax], ebx
jne 0x4b0acd
cmp dword [ebp - 0x468], edx
je 0x4b0c7b
inc ecx
cmp ecx, edi
jb 0x4b0ab0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x47c], 0
xor ebx, ebx
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x474], ebx
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x468]
cmp eax, 0x7530
jae 0x4b0b59
mov ecx, dword [ebp - 0x470]
call fcn.004b0fe0
mov ecx, dword [ebp - 0x470]
add ecx, 0x20
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
cmp eax, edi
ja 0x4b0ced
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x470]
cmp eax, 0x7530
jb 0x4b0b17
xor edx, edx
mov edi, dword [ebp - 0x47c]
xor ecx, ecx
sub edx, edi
sar edx, 2
test edx, edx
je 0x4b0b90
nop dword [eax]
mov eax, dword [edi + ecx*4]
mov esi, dword [ebp - 0x30]
cmp dword [eax], esi
mov esi, dword [ebp - 0x464]
jne 0x4b0b8b
xor eax, eax
cmp eax, dword [ebp - 0x2c]
je 0x4b0d0a
inc ecx
cmp ecx, edx
jb 0x4b0b70
mov eax, dword [0x618d28]
test eax, eax
jne 0x4b0bbd
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 0xd
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 0xa
mov dword [0x618d28], eax
push str.reateSystemRestorePoint_succeed_no_find_r_n
push 0x201
push 0x5bf004
push 8
push eax
call fcn.0040a3e0
add esp, 0x14
mov byte [ebp - 4], 3
test edi, edi
je 0x4b0c09
sub ebx, edi
sar ebx, 2
push ebx
push edi
call fcn.0041d6d0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4b0c22
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4b0c71
mov eax, dword [ebp - 0x45c]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.0041d6d0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov eax, 0x80c
jmp 0x4b0e62
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4b0c94
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4b0ce3
mov eax, dword [ebp - 0x45c]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.0041d6d0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov eax, 0x80a
jmp 0x4b0e62
push ecx
lea ecx, [ebp - 0x47c]
call fcn.0041d1e0
mov ebx, dword [ebp - 0x474]
mov edx, dword [ebp - 0x478]
jmp 0x4b0b5b
mov eax, dword [0x618d28]
test eax, eax
jne 0x4b0d37
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 0xb
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 0xa
mov dword [0x618d28], eax
push str.CreateSystemRestorePoint_succeed_r_n
push 0x1fb
push 0x5befb0
push 8
push eax
call fcn.0040a3e0
add esp, 0x14
mov byte [ebp - 4], 3
test edi, edi
je 0x4b0d83
sub ebx, edi
sar ebx, 2
push ebx
push edi
call fcn.0041d6d0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4b0d9c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4b0deb
mov eax, dword [ebp - 0x45c]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.0041d6d0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov eax, 0x808
jmp 0x4b0e62
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4b0e0b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x464]
test ecx, ecx
je 0x4b0e60
mov eax, dword [ebp - 0x45c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret