Function at 0x419f60
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov cl, byte [0x4293c8]
mov al, 1
test al, cl
jne 0x419fa8
mov dl, cl
mov byte [0x4293b0], al
or dl, al
xor eax, eax
mov dword [0x4293b8], eax
mov dword [0x4293bc], eax
mov dword [0x4293c0], eax
push 0x41a4d0
mov byte [0x4293c8], dl
mov dword [0x4293a8], 0x41ead8
mov dword [0x4293c4], eax
call fcn.0041ac1c
add esp, 4
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
jne 0x419fbb
mov ecx, 0x4293a8
jmp 0x419fd0
push eax
mov ecx, 0x4293a8
call fcn.0041a280
ret
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41c3cb
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
mov al, 1
push ebx
push ebp
push esi
mov esi, ecx
mov cl, byte [0x429420]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebx, 0x94
test al, cl
jne 0x41a04f
or cl, al
lea eax, [esp + 0x2c]
push eax
mov byte [0x429420], cl
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x41a026
mov eax, 3
jmp 0x41a04a
mov eax, dword [esp + 0x3c]
dec eax
je 0x41a045
dec eax
je 0x41a037
mov eax, 3
jmp 0x41a04a
mov ecx, dword [esp + 0x30]
xor eax, eax
cmp ecx, 4
setne al
jmp 0x41a04a
mov eax, 2
mov dword [0x429424], eax
mov al, byte [esi + 8]
test al, al
je 0x41a114
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
push ecx
call edi
test eax, eax
je 0x41a114
mov eax, dword [esp + 0x3c]
dec eax
je 0x41a114
dec eax
jne 0x41a114
cmp dword [esp + 0x30], 4
je 0x41a114
lea edx, [esp + 0x10]
xor ebp, ebp
push edx
push 0xf003f
push ebp
push str.SYSTEMCurrentControlSetServicesPerfOSPerformance
push 0x80000002
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a116
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push ebp
push str.Disable_Performance_Counters
push ecx
mov dword [esp + 0x30], ebp
call edi
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServicesPerfProcPerformance
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41a116
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push ebp
push str.Disable_Performance_Counters
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call ebx
jmp 0x41a116
xor ebp, ebp
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xc1]
mov byte [esp + 0xc0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x429424]
mov dword [esp + 0x1c8], ebp
sub eax, ebp
je 0x41a173
dec eax
je 0x41a14c
or eax, 0xffffffff
jmp 0x41a263
lea ecx, [esp + 0xc0]
mov ebx, 0xee
mov edi, 6
push str._Total
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41a185
mov ebx, 2
mov edi, 0xf0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edi
push edi
lea edx, [esp + 0x18]
push ebx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], ebp
call fcn.0041a4e0
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], ebp
xor eax, eax
xor edx, edx
mov ecx, dword [edi + 0x18]
mov ebp, dword [edi + 0x1c]
add ecx, edi
test ebp, ebp
jbe 0x41a1ea
jmp 0x41a1b7
mov ebx, dword [esp + 0x18]
cmp dword [ecx + 0xc], ebx
je 0x41a1cf
mov ebx, dword [ecx]
add ecx, ebx
mov ebx, dword [esp + 0x10]
inc ebx
cmp ebx, ebp
mov dword [esp + 0x10], ebx
jb 0x41a1b3
jmp 0x41a1ea
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xc0]
push eax
push edx
push ecx
lea ecx, [esp + 0x34]
call fcn.0041a600
mov edi, dword [esp + 0x14]
mov ebx, dword [edi + 0x4c]
cmp byte [esi + 8], 0
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x1c], ebx
je 0x41a20e
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ecx
mov byte [esi + 8], 0
mov dword [esi + 0x14], edx
mov dword [esi + 0x1c], ebx
xor eax, eax
jmp 0x41a263
mov ebp, dword [esi + 0x10]
mov ebx, eax
fild qword [edi + 0x48]
fild qword [esi + 0x18]
sub ebx, ebp
mov ebp, edx
sbb ebp, dword [esi + 0x14]
mov dword [esp + 0x20], ebx
fsubp st(1)
mov dword [esp + 0x24], ebp
mov dword [esi + 0x10], eax
fild qword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x1c], eax
fdiv st(1)
fsubr qword [0x41eaf0]
fmul qword [0x41eae8]
fadd qword [0x41eae0]
call sub.MSVCRT.dll__ftol
xor ecx, ecx
test eax, eax
setl cl
dec ecx
fstp st(0)
and eax, ecx
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1bc
ret