Function at 0x412e00
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bab31
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x6877f0]
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 edi, edx
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp + 8]
push 0x104
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0058db90
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0058db90
add esp, 0x18
xor esi, esi
push str.ScanIntervalMinutes
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x412e80
lea esi, [ebx + 1]
jmp 0x412e96
push str.SyncPeriodDays
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
mov ecx, 3
cmovne esi, ecx
push dword [ebp - 0x270]
lea eax, [ebp - 0x114]
push str.SystemCurrentControlSet_servicesCtesHostSvcProviders
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x26c], ebx
lea eax, [ebp - 0x274]
mov dword [ebp - 0x268], 4
mov dword [ebp - 0x274], 4
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
push edi
lea eax, [ebp - 0x114]
push eax
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4130a8
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x4130a8
sub esi, 1
je 0x412f31
sub esi, 1
je 0x412f29
sub esi, 1
jne 0x4130a8
imul ecx, eax, 0x15180
jmp 0x412f3b
imul ecx, eax, 0xe10
jmp 0x412f3b
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
test ecx, ecx
je 0x4130a8
call fcn.00413180
mov edi, dword [ebp - 0x270]
mov esi, eax
push edi
push str.SystemCurrentControlSet_servicesCtesHostSvcProviders
lea eax, [ebp - 0x218]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test esi, esi
je 0x4130a8
push 4
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], esi
push eax
push 4
push dword [ebp - 0x278]
lea eax, [ebp - 0x218]
push eax
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x412fa8
lea ebx, [eax + 1]
jmp 0x4130a8
push 0x25
push str.Set_Next_Scan_Timestamp_failed_for__s
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], bl
call fcn.0040a020
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.00419ad0
mov esi, eax
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041a190
lea eax, [ebp - 0x248]
mov ecx, esi
push eax
call fcn.0041a330
push eax
mov byte [ebp - 4], 2
call fcn.00418bd0
mov edx, dword [ebp - 0x234]
add esp, 4
cmp edx, 0x10
jb 0x41304c
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413042
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130c6
push edx
push ecx
call fcn.00575155
add esp, 8
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00419ba0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x4130a8
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41309e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130cb
push edx
push ecx
call fcn.00575155
add esp, 8
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.00574c7a
mov esp, ebp
pop ebp
ret
call fcn.0059b248
call fcn.0059b248
int3