Function at 0x40a900
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x412350
push eax
mov dword fs:[0], esp
sub esp, 0x18
or eax, 0xffffffff
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x488]
cmp ecx, 6
jne 0x40a941
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp ecx, 0xf
jne 0x40a95c
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp ecx, 0x10
jne 0x40a977
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp ecx, 0xd
jne 0x40a995
pop edi
pop esi
mov eax, 0x12
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp ecx, 9
mov ebp, 4
jne 0x40aa46
cmp dword [esi + 0x48c], ebp
jne 0x40aa46
call fcn.0040d260
test eax, eax
jne 0x40a9ea
mov eax, dword [esi + 0x4b8]
test eax, eax
jne 0x40a9d1
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40a9d1
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
mov eax, 0x14
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x54]
test eax, eax
je 0x40aa06
mov dword [esi + 0x488], 0xc
jmp 0x40ae5b
mov eax, dword [esi + 0x4b8]
mov dword [esi + 0x488], 0xa
test eax, eax
jne 0x40aa30
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40aa30
mov edx, dword [esi + 0x4c4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov edx, 0xa
cmp ecx, edx
jne 0x40aa57
cmp dword [esi + 0x48c], ebp
je 0x40aa64
cmp ecx, 0x19
jne 0x40aab4
cmp dword [esi + 0x48c], edx
jne 0x40aab4
mov eax, dword [esi]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x38], 0
call dword [eax + 0x5c]
test eax, eax
jne 0x40ae5b
mov eax, dword [esi + 0x4b8]
test eax, eax
jne 0x40aa9e
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40aa9e
mov eax, dword [esp + 0x34]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp ecx, 0xc
je 0x40aabe
cmp ecx, 0xb
jne 0x40aaca
cmp dword [esi + 0x48c], ebp
je 0x40ad33
cmp ecx, 0x1b
je 0x40aad4
cmp ecx, 0x1a
jne 0x40aae0
cmp dword [esi + 0x48c], edx
je 0x40ad33
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x40ab12
cmp ecx, 1
jle 0x40ab12
cmp ecx, 7
jge 0x40ab12
mov dword [esi + 0x488], 2
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp dword [esi + 0x48c], 8
jne 0x40abcf
cmp ecx, 0x13
jne 0x40ab9f
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
push ecx
mov ecx, esi
call fcn.0040b120
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x40ab79
cmp eax, 0x1e
jge 0x40ac19
mov ecx, dword [esi + 0x4b8]
test ecx, ecx
jne 0x40ab63
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40ab63
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov eax, dword [esi + 0x4b8]
test eax, eax
jne 0x40ae5b
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40ae5b
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x40ae5b
cmp ecx, 0x14
je 0x40aba9
cmp ecx, 0x15
jne 0x40abcf
mov eax, dword [esi + 0x4b8]
test eax, eax
jne 0x40ae5b
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40ae5b
mov edx, dword [ecx]
call dword [edx + 0x28]
jmp 0x40ae5b
mov ecx, dword [esi + 0x4b8]
mov edi, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0xc], 2
jne 0x40ac05
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40ac05
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
push edi
call dword [eax + 0x1c]
cmp dword [esp + 0xc], 2
jne 0x40ae60
mov ecx, dword [esi + 0x488]
cmp ecx, 3
jne 0x40ac14
test edi, edi
jne 0x40ac19
cmp ecx, 0xa
jne 0x40ac2f
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp ecx, ebp
je 0x40ae5b
cmp ecx, 5
je 0x40ae5b
cmp ecx, 0xc
je 0x40ae5b
cmp ecx, 0xd
je 0x40ae5b
cmp ecx, 0xb
je 0x40ae5b
cmp ecx, 2
jne 0x40acbc
call fcn.0040d260
test eax, eax
jne 0x40ac82
pop edi
pop esi
mov eax, 0x14
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
test edi, edi
je 0x40acc0
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x54]
test eax, eax
jne 0x40acb1
mov dword [esi + 0x488], 3
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov dword [esi + 0x488], ebp
jmp 0x40ae5b
test edi, edi
jne 0x40acd9
pop edi
pop esi
mov eax, 6
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
cmp ecx, 9
jne 0x40ae60
call fcn.0040d260
test eax, eax
jne 0x40ad04
pop edi
pop esi
mov eax, 0x14
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x54]
test eax, eax
jne 0x40a9f7
mov dword [esi + 0x488], 0xa
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov eax, dword [esi + 0x4b8]
test eax, eax
jne 0x40ae5b
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x40ad59
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp eax, 1
jne 0x40ae5b
push 0x413698
lea ecx, [esp + 0x18]
call fcn.0040f070
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
push ecx
push 0x20019
push 0
lea ecx, [esi + 0x514]
call fcn.0040f270
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ade7
push 0x100
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 1
mov dword [esp + 0x3c], 0x100
call fcn.0040f290
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x38]
push edx
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.Support
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0040f300
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
call fcn.0040f450
test eax, eax
je 0x40ae02
push 0x415e94
lea ecx, [esp + 0x18]
call fcn.0040f100
lea eax, [esp + 0x14]
add esi, 0x4bc
push eax
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.0040a100
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.0040f270
push eax
lea ecx, [esp + 0x20]
call fcn.0040f270
push eax
push 0
call fcn.0040d430
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0
call fcn.0040f030
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040f030
mov eax, 0x11
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 8