Function at 0x41f07b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4fc
mov eax, 0x509f8c
call fcn.004df416
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x410], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x400]
call fcn.004037c8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c0]
push eax
call fcn.004398db
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
cmp eax, esi
mov dword [ebp - 0x40c], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x43c], esi
jne 0x41f19d
push ebx
push 0xca
push ecx
mov ecx, esp
mov dword [ebp - 0x450], esp
push str.CDetection::IsInstalledByName
call fcn.004014b0
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x448], esp
push str.Called_with_empty_name_
call fcn.004014b0
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x440], esp
push str.cdetection_no_name
call fcn.004014b0
mov byte [ebp - 4], 6
lea ecx, [edi + 4]
mov eax, dword [ecx]
add eax, 4
push ebx
mov byte [ebp - 4], 3
call dword [eax]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c0]
call fcn.00439964
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x400]
call fcn.004010f8
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004010f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010f8
mov eax, esi
call fcn.004df460
ret 8
cmp dword [edi + 0x2c], esi
mov dword [ebp - 0x404], esi
jle 0x41f9f9
add edi, 0x24
mov dword [ebp - 0x3fc], edi
lea eax, [ebp - 0x45c]
push eax
mov eax, esi
mov ecx, edi
call fcn.00420fca
push eax
call fcn.0040d5b3
mov byte [ebp - 4], 7
push dword [eax]
or dword [ebp - 0x410], ebx
lea ecx, [ebp + 8]
call fcn.004036be
test eax, eax
jne 0x41f21c
lea eax, [ebp - 0x460]
push eax
mov eax, esi
mov ecx, edi
call fcn.00420fca
push eax
call fcn.0040ad57
mov dword [ebp - 4], 8
push dword [eax]
or dword [ebp - 0x410], 2
lea ecx, [ebp + 0xc]
call fcn.004036be
test eax, eax
mov byte [ebp - 0x405], 1
je 0x41f223
mov byte [ebp - 0x405], 0
mov dword [ebp - 4], 7
test byte [ebp - 0x410], 2
je 0x41f245
and dword [ebp - 0x410], 0xfffffffd
lea ecx, [ebp - 0x460]
call fcn.004010f8
mov dword [ebp - 4], 3
test byte [ebp - 0x410], 1
je 0x41f267
and dword [ebp - 0x410], 0xfffffffe
lea ecx, [ebp - 0x45c]
call fcn.004010f8
cmp byte [ebp - 0x405], 0
je 0x41f9db
mov eax, esi
mov ecx, edi
call fcn.00420fca
cmp dword [eax + 0xc], 2
jne 0x41f92d
mov eax, esi
mov ecx, edi
mov dword [ebp - 0x418], VariantCopy
call fcn.00420fca
cmp dword [eax + 0x14], ebx
jne 0x41f2ab
mov dword [ebp - 0x418], VariantCopy
jmp 0x41f315
mov eax, esi
mov ecx, edi
call fcn.00420fca
cmp dword [eax + 0x14], 2
jne 0x41f2c6
mov dword [ebp - 0x418], VariantCopy
jmp 0x41f315
mov eax, esi
mov ecx, edi
call fcn.00420fca
cmp dword [eax + 0x14], 3
jne 0x41f2e1
mov dword [ebp - 0x418], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x41f315
mov eax, esi
mov ecx, edi
call fcn.00420fca
cmp dword [eax + 0x14], 4
jne 0x41f2fc
mov dword [ebp - 0x418], reloc.WS2_32.dll_closesocket
jmp 0x41f315
mov eax, esi
mov ecx, edi
call fcn.00420fca
cmp dword [eax + 0x14], 5
jne 0x41f315
mov dword [ebp - 0x418], VariantCopy
lea eax, [ebp - 0x464]
push eax
mov eax, esi
mov ecx, edi
call fcn.00420fca
push eax
call fcn.0042971f
mov byte [ebp - 4], 9
mov eax, dword [eax]
lea ecx, [ebp - 0x41c]
push ecx
push 0x20019
push 0
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x464]
call fcn.004010f8
test bl, bl
je 0x41f92a
mov eax, esi
mov ecx, edi
call fcn.00420fca
lea ecx, [ebp - 0x508]
push ecx
mov edi, eax
call fcn.0041fa04
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3fc]
mov eax, esi
call fcn.00420fca
xor edi, edi
cmp dword [eax + 0x20], edi
je 0x41f46c
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x46c]
push eax
mov eax, esi
mov dword [ebp - 0x414], 0x3e8
call fcn.00420fca
push eax
call fcn.004273f5
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x428]
push ecx
push edi
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x46c]
call fcn.004010f8
test bl, bl
je 0x41f46c
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x400]
call fcn.004013dd
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x478]
push eax
mov eax, esi
call fcn.00420fca
push eax
call fcn.0040946e
mov byte [ebp - 4], 0xc
push dword [eax]
lea esi, [ebp - 0x400]
call fcn.0040ad0f
cmp eax, 0xffffffff
setne bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x478]
call fcn.004010f8
test bl, bl
mov esi, dword [ebp - 0x404]
je 0x41f46c
mov dword [ebp - 0x424], 1
mov ecx, dword [ebp - 0x3fc]
mov eax, esi
call fcn.00420fca
cmp dword [eax + 0x2c], edi
je 0x41f534
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x470]
push eax
mov eax, esi
mov dword [ebp - 0x414], 0x3e8
call fcn.00420fca
push eax
call fcn.004273f5
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x428]
push ecx
push edi
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x470]
call fcn.004010f8
test bl, bl
je 0x41f52c
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x400]
call fcn.004013dd
push ecx
lea eax, [ebp - 0x400]
mov ecx, esp
mov dword [ebp - 0x418], esp
push eax
call fcn.004037f2
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xa
call fcn.00439cbd
test eax, eax
je 0x41f52c
mov dword [ebp - 0x430], 1
mov esi, dword [ebp - 0x404]
xor edi, edi
mov ecx, dword [ebp - 0x3fc]
mov eax, esi
call fcn.00420fca
cmp dword [eax + 0x30], edi
je 0x41f620
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x454]
push eax
mov eax, esi
mov dword [ebp - 0x414], 0x3e8
call fcn.00420fca
push eax
call fcn.004273f5
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x428]
push ecx
push edi
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x454]
call fcn.004010f8
test bl, bl
je 0x41f618
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x400]
call fcn.004013dd
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x474]
push eax
mov eax, dword [ebp - 0x404]
call fcn.00420fca
push eax
call fcn.0041663a
mov byte [ebp - 4], 0x10
push dword [eax]
lea ecx, [ebp - 0x400]
call fcn.004036be
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x474]
call fcn.004010f8
test bl, bl
je 0x41f618
mov dword [ebp - 0x42c], 1
mov esi, dword [ebp - 0x404]
xor edi, edi
mov ecx, dword [ebp - 0x3fc]
mov eax, esi
call fcn.00420fca
cmp dword [eax + 0x38], edi
je 0x41f781
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x468]
push eax
mov eax, esi
mov dword [ebp - 0x414], 0x3e8
call fcn.00420fca
push eax
call fcn.004273f5
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x428]
push ecx
push edi
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x468]
call fcn.004010f8
test bl, bl
je 0x41f779
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x400]
call fcn.004013dd
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x458]
push eax
mov eax, dword [ebp - 0x404]
call fcn.00420fca
push eax
call fcn.0041ea21
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
push dword [eax - 0xc]
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x400]
call fcn.0040f236
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x400]
call fcn.004038a3
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x47c]
call fcn.004010f8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x458]
call fcn.004010f8
mov ecx, dword [ebp - 0x3fc]
lea eax, [ebp - 0x440]
push eax
mov eax, dword [ebp - 0x404]
call fcn.00420fca
push eax
call fcn.0041ea21
mov byte [ebp - 4], 0x14
push dword [eax]
lea ecx, [ebp - 0x400]
call fcn.004036be
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x440]
call fcn.004010f8
mov esi, dword [ebp - 0x404]
xor edi, edi
test bl, bl
je 0x41f781
mov dword [ebp - 0x44c], 1
jmp 0x41f781
mov esi, dword [ebp - 0x404]
xor edi, edi
mov ebx, dword [ebp - 0x444]
add ebx, 0x24
mov eax, esi
mov ecx, ebx
mov dword [ebp - 0x3fc], ebx
call fcn.00420fca
cmp dword [eax + 0x40], edi
je 0x41f7a8
mov dword [ebp - 0x43c], 1
lea eax, [ebp - 0x448]
push eax
mov eax, esi
mov ecx, ebx
mov dword [ebp - 0x414], edi
call fcn.00420fca
push eax
call fcn.004273f5
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
push edi
lea ecx, [ebp - 0x428]
push ecx
push edi
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x448]
call fcn.004010f8
test bl, bl
je 0x41f80c
mov dword [ebp - 0x438], 1
mov ebx, dword [ebp - 0x3fc]
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x20], edi
je 0x41f84d
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x2c], edi
je 0x41f84d
cmp dword [ebp - 0x424], edi
je 0x41f879
cmp dword [ebp - 0x430], edi
je 0x41f879
mov dword [ebp - 0x40c], 1
jmp 0x41f90d
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x30], edi
je 0x41f884
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x2c], edi
je 0x41f884
cmp dword [ebp - 0x424], edi
je 0x41f879
cmp dword [ebp - 0x42c], edi
jmp 0x41f83c
mov dword [ebp - 0x40c], edi
jmp 0x41f90d
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x30], edi
je 0x41f89c
xor eax, eax
cmp dword [ebp - 0x42c], edi
jmp 0x41f904
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x38], edi
je 0x41f8b4
xor eax, eax
cmp dword [ebp - 0x44c], edi
jmp 0x41f904
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x20], edi
je 0x41f8cc
xor eax, eax
cmp dword [ebp - 0x424], edi
jmp 0x41f904
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x2c], edi
je 0x41f8e4
xor eax, eax
cmp dword [ebp - 0x430], edi
jmp 0x41f904
mov eax, esi
mov ecx, ebx
call fcn.00420fca
cmp dword [eax + 0x40], edi
je 0x41f8fc
xor eax, eax
cmp dword [ebp - 0x43c], edi
jmp 0x41f904
xor eax, eax
cmp dword [ebp - 0x438], edi
setne al
mov dword [ebp - 0x40c], eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x508]
call fcn.0041e995
mov edi, ebx
xor ebx, ebx
inc ebx
mov eax, esi
mov ecx, edi
call fcn.00420fca
cmp dword [eax + 0xc], ebx
jne 0x41f9a7
lea eax, [ebp - 0x450]
push eax
mov eax, esi
mov ecx, edi
call fcn.00420fca
push eax
call fcn.0043060c
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x400]
call fcn.004038a3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x450]
call fcn.004010f8
lea ecx, [ebp - 0x400]
call fcn.00439d54
push ecx
lea eax, [ebp - 0x400]
mov ecx, esp
mov dword [ebp - 0x418], esp
push eax
call fcn.004037f2
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 3
call fcn.00439cbd
test eax, eax
je 0x41f9a7
mov dword [ebp - 0x434], ebx
mov eax, esi
mov ecx, edi
call fcn.00420fca
cmp dword [eax + 0xc], 3
jne 0x41f9c9
mov eax, esi
mov ecx, edi
call fcn.00420fca
push eax
call fcn.00420bd0
test eax, eax
jne 0x41f9f3
cmp dword [ebp - 0x434], 0
jne 0x41f9f3
cmp dword [ebp - 0x40c], 0
jne 0x41f9f3
mov eax, dword [ebp - 0x444]
inc esi
cmp esi, dword [eax + 0x2c]
mov dword [ebp - 0x404], esi
jl 0x41f1b5
jmp 0x41f9f9
mov dword [ebp - 0x420], ebx
mov esi, dword [ebp - 0x420]
jmp 0x41f15d