Function at 0x4019d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460544
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x476018]
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
push str.Authenticate:_CheckUpdate
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBeginUltra]
xor eax, eax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
push eax
mov ebx, 0x104
lea esi, [ebp - 0x64]
mov dword [ebp - 4], eax
call fcn.004010f0
push 0x100
xor ebx, ebx
push ebx
push 0x505dc8
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x4789f0]
xor cl, 0xb0
mov byte [eax + 0x505dc8], cl
inc eax
cmp eax, 0xff
jl 0x401a40
mov eax, 0x505dc8
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401a60
sub eax, edx
mov edi, eax
mov eax, 0x505dc8
lea esi, [ebp - 0x64]
call fcn.00401390
push 0xb
mov eax, str.checkupdate
mov ecx, esi
call fcn.00405880
mov edi, 4
mov eax, str.ver
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401390
push 5
mov eax, str.1.8.0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00405880
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov edx, esi
mov dword [ebp - 0xa4], esp
mov byte [ecx], bl
push edx
or eax, 0xffffffff
xor ebx, ebx
call fcn.004012b0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 2
lea eax, [ebp - 0x64]
mov dword [ebp - 0xec], esp
push eax
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov byte [ecx], bl
call fcn.004012b0
xor ecx, ecx
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00412930
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x401b21
mov eax, edi
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
call fcn.00402040
lea edx, [ebp - 0xa0]
push edx
lea edx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.00402a00
xor ebx, ebx
mov eax, 0x100
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0x144
mov byte [ebp - 0xc0], bl
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00402220
cmp dword [ebp - 0xa0], ebx
jne 0x401c9e
mov eax, dword [ebp - 0xd4]
mov edi, dword [sym.imp.MSVCR100.dll_free]
push eax
call edi
mov ecx, dword [ebp - 0xd8]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ecx
call esi
mov edx, dword [ebp - 0xb4]
add esp, 4
push edx
call edi
mov eax, dword [ebp - 0xb8]
add esp, 4
push eax
call esi
mov eax, dword [ebp - 0x8c]
add esp, 4
mov dword [ebp - 0xa4], eax
cmp eax, ebx
je 0x401c39
call fcn.004021b0
mov ecx, dword [ebp - 0xa4]
push ecx
call esi
add esp, 4
mov edx, dword [ebp - 0x80]
push edx
call edi
mov eax, dword [ebp - 0x84]
add esp, 4
push eax
call esi
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x401c61
mov ecx, dword [ebp - 0x48]
push ecx
call esi
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x401c7c
mov edx, dword [ebp - 0x2c]
push edx
call esi
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x50], edi
jb 0x401c97
mov eax, dword [ebp - 0x64]
push eax
call esi
add esp, 4
xor al, al
jmp 0x401e8b
mov edx, str.success
lea esi, [ebp - 0xa0]
call fcn.00402540
cmp word [eax + 0xe], 0xa
mov edx, str.message
je 0x401da6
call fcn.00402540
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x401cd1
mov eax, dword [eax + 8]
push 0x10
push str.SPK_MUGUARD
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp - 0xd4]
mov edi, dword [sym.imp.MSVCR100.dll_free]
push edx
call edi
mov eax, dword [ebp - 0xd8]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push eax
call esi
mov ecx, dword [ebp - 0xb4]
add esp, 4
push ecx
call edi
mov edx, dword [ebp - 0xb8]
add esp, 4
push edx
call esi
mov eax, dword [ebp - 0x8c]
add esp, 4
mov dword [ebp - 0xa4], eax
cmp eax, ebx
je 0x401d3d
call fcn.004021b0
mov eax, dword [ebp - 0xa4]
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 0x80]
push ecx
call edi
mov edx, dword [ebp - 0x84]
add esp, 4
push edx
call esi
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x401d65
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x401d80
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x50], edi
jb 0x401c97
mov edx, dword [ebp - 0x64]
push edx
call esi
add esp, 4
xor al, al
jmp 0x401e8b
call fcn.00402540
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x401db9
mov eax, dword [eax + 8]
push 0x30
push str.SPK_MUGUARD
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov edx, dword [ebp - 0xd4]
mov edi, dword [sym.imp.MSVCR100.dll_free]
push edx
call edi
mov eax, dword [ebp - 0xd8]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push eax
call esi
mov ecx, dword [ebp - 0xb4]
add esp, 4
push ecx
call edi
mov edx, dword [ebp - 0xb8]
add esp, 4
push edx
call esi
mov eax, dword [ebp - 0x8c]
add esp, 4
mov dword [ebp - 0xa4], eax
cmp eax, ebx
je 0x401e2b
call fcn.004021b0
mov eax, dword [ebp - 0xa4]
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 0x80]
push ecx
call edi
mov edx, dword [ebp - 0x84]
add esp, 4
push edx
call esi
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x401e53
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x401e6e
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x50], edi
jb 0x401e89
mov edx, dword [ebp - 0x64]
push edx
call esi
add esp, 4
mov al, 1
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.00418a8f
mov esp, ebp
pop ebp
ret