Function at 0x41765c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x32c
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
lea esi, [ebp - 0x74]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x48]
mov dword [eax + 0x1c], 0x51dfc0
mov dword [eax + 0x20], 0x526694
mov dword [eax + 0x24], ebp
mov dword [eax + 0x2c], esp
mov dword [eax + 0x24], 0x417ff9
mov dword [eax + 8], 1
call fcn.0051ec29
mov dword [esp], esi
mov dword [esp + 4], 0x2e
call fcn.00404190
test al, al
je 0x4176e1
mov esi, dword [ebp - 0x70]
mov eax, 0x2e
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], str.SOFTWAREMicrosoftSecurity_CenterProviderAv_
call fcn.0050ddd0
lea eax, [esi + 0x2e]
mov dword [ebp - 0x6c], eax
jmp 0x4176e7
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0xf4]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov byte [ecx + 4], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], esi
sub eax, esi
mov dword [ebp - 0x40], 2
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0040f360
mov dword [ebp - 0x40], 3
mov al, byte [ebp - 0x308]
mov byte [esp + 0xc], al
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0041b7e0
cmp dword [ebp - 0xdc], 0xf
ja 0x417758
lea eax, [ebp - 0xf0]
jmp 0x41775e
mov eax, dword [ebp - 0xf0]
mov ecx, 4
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0x20119
mov dword [esp + 8], 0
mov dword [esp], SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
je 0x4177f5
mov dword [ebp - 0x40], 5
lea eax, [ebp - 0x308]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0040b4d8
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], 6
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040ed98
lea esi, [ebp - 0x2a8]
mov dword [esi - 0x60], 0x40eea8
mov dword [esi], 0x40eed0
mov dword [esi - 0x50], 0x40eebc
mov eax, dword [ebp - 0x5c]
jmp 0x4178ba
xor eax, eax
lea ecx, [ebp - 0x58]
mov dword [ecx], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x40], 7
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea esi, [ebp - 0x100]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
sub esp, 0x30
test eax, eax
je 0x417930
mov eax, 8
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x308]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0040b4d8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], 9
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x40], 0xa
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040ed98
lea esi, [ebp - 0x2a8]
mov dword [esi - 0x60], 0x40eea8
mov dword [esi], 0x40eed0
mov dword [esi - 0x50], 0x40eebc
lea eax, [ebp - 0x2f0]
mov dword [esp], eax
call fcn.0040ec7c
mov dword [esp], esi
call fcn.00504384
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.00403adc
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x417902
mov ecx, dword [ebp - 0x68]
sub ecx, eax
cmp ecx, 0x1000
jb 0x4178ef
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.005040fc
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x40], 0x31
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0040d1d0
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0051ec4a
mov eax, dword [ebp + 8]
add esp, 0x32c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x58], 0
je 0x417e59
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x8c], eax
xor esi, esi
lea eax, [ebp - 0xfc]
mov dword [eax], 0x100
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x40], 0xb
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x308]
mov dword [esp + 8], eax
mov dword [ebp - 0x4c], esi
mov dword [esp + 4], esi
mov dword [esp], ecx
call sub.ADVAPI32.DLL_RegEnumKeyExA
sub esp, 0x20
test eax, eax
jne 0x417da8
mov eax, 0xf
lea esi, [ebp - 0x208]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
mov ecx, 0x526454
neg ecx
mov edx, dword [ebp - 0xe0]
lea ecx, [edx + ecx + 0x526455]
mov dword [ebp - 0x40], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.0040f360
mov dword [ebp - 0x40], 0x10
lea eax, [ebp - 0xf4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x208]
mov dword [esp], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
call fcn.0040ca60
mov dword [ebp - 0x40], 0x11
lea eax, [ebp - 0x208]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x526454
call fcn.0040c98c
lea eax, [ebp - 0x309]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x417a37
lea ecx, [ebp - 0x308]
sub eax, ecx
mov dword [ebp - 0x40], 0x12
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [ebp - 0x208]
mov dword [esp], eax
call fcn.0040c98c
mov dword [esp + 4], eax
lea esi, [ebp - 0xd8]
mov dword [esp], esi
call fcn.00405288
lea eax, [ebp - 0x208]
mov dword [esp], eax
call fcn.00403adc
cmp dword [esi + 0x18], 0xf
ja 0x417a93
lea eax, [ebp - 0xd4]
jmp 0x417a99
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x40], 0x13
lea ecx, [ebp - 0x88]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0x20119
mov dword [esp + 8], 0
mov dword [esp], SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417c2b
mov dword [ebp - 0x40], 0x1a
lea eax, [ebp - 0x208]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0040b4d8
mov dword [ebp - 0x40], 0x1b
lea eax, [ebp - 0x1f8]
mov dword [esp], eax
mov dword [esp + 4], str._subkey:
call fcn.0040b5cc
mov dword [ebp - 0x40], 0x1c
lea ecx, [ebp - 0x308]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0040b5cc
mov dword [ebp - 0x40], 0x1d
mov dword [esp], eax
mov dword [esp + 4], str._Code:
call fcn.0040b5cc
mov dword [ebp - 0x40], 0x1e
mov ecx, dword [ebp - 0x10]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00418314
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
add ecx, eax
mov dword [ebp - 0x40], 0x1f
mov dword [esp], ecx
mov dword [esp + 4], 0xa
mov dword [ebp - 0x10], eax
call fcn.0040d918
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], 0x20
movsx eax, al
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0041b900
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], 0x21
mov dword [esp], eax
call fcn.0040bf34
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], 0x22
mov dword [esp + 4], eax
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.0040ed98
mov dword [ebp - 0x40], 0x23
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00412e7c
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.00403adc
mov dword [ebp - 0x208], 0x40eea8
mov dword [ebp - 0x1a8], 0x40eed0
mov dword [ebp - 0x1f8], 0x40eebc
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.0040ec7c
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.00504384
jmp 0x417d88
lea eax, [ebp - 0xf8]
mov dword [eax], 0x100
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x40], 0x14
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x208]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.displayName
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x417cf4
cmp dword [ebp - 0xb8], 1
jne 0x417cf4
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
lea eax, [ebp - 0x209]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x417ca5
lea ecx, [ebp - 0x208]
sub eax, ecx
mov dword [ebp - 0x40], 0x15
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.00403518
mov dword [ebp - 0x40], 0x16
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00412e7c
jmp 0x417d62
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
lea eax, [ebp - 0x309]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x417d15
lea ecx, [ebp - 0x308]
sub eax, ecx
mov dword [ebp - 0x40], 0x17
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.00403518
mov dword [ebp - 0x40], 0x18
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00412e7c
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.00403adc
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], 0x19
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00403adc
inc esi
cmp esi, dword [ebp - 0x58]
jb 0x417951
jmp 0x417e59
cmp eax, 0x103
je 0x417e59
mov dword [ebp - 0x40], 0xc
lea eax, [ebp - 0x208]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0040b4d8
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], 0xd
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0040ed98
mov dword [ebp - 0x40], 0xe
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00412e7c
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00403adc
mov dword [ebp - 0x208], 0x40eea8
mov dword [ebp - 0x1a8], 0x40eed0
mov dword [ebp - 0x1f8], 0x40eebc
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call fcn.0040ec7c
lea eax, [ebp - 0x1a8]
mov dword [esp], eax
call fcn.00504384
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], 0x24
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
mov dword [ebp - 0x40], 0x25
lea eax, [ebp - 0x308]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0040b4d8
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x40], 0x26
mov dword [esp], eax
mov dword [esp + 4], str.Number_of_subkeys_processed:
call fcn.0040b5cc
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x40], 0x27
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00418534
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add eax, ecx
mov dword [ebp - 0x40], 0x28
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0040d918
mov dword [ebp - 0x40], 0x29
movsx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0041b900
mov dword [ebp - 0x40], 0x2a
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0040bf34
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xb4], ecx
cmp ecx, eax
je 0x417fc0
mov dword [ebp - 0x40], 0x2b
mov dword [ebp - 0x4c], eax
mov dword [esp + 4], eax
lea eax, [ebp - 0x2f8]
mov dword [esp], eax
call fcn.0040b8f0
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
add ecx, eax
mov dword [ebp - 0x40], 0x2c
mov dword [esp], ecx
mov dword [esp + 4], 0xa
mov dword [ebp - 0x10], eax
call fcn.0040d918
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], 0x2d
movsx eax, al
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0041b900
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], 0x2e
mov dword [esp], eax
call fcn.0040bf34
mov eax, dword [ebp - 0x4c]
add eax, 0x1c
cmp dword [ebp - 0xb4], eax
jne 0x417f21
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x7c]
je 0x417fc0
mov dword [ebp - 0x40], 0x30
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00418754
jmp 0x41789a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
mov dword [ebp - 0x40], 0x2f
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x526492
call fcn.00403518
jmp 0x41789a