Function at 0x401a5a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
push ebx
push esi
push edi
push str.BindProtocol
push 0x40ef04
mov dword [ebp - 0x30], ecx
push 6
call fcn.00407ea7
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
push 1
push ebx
push 0x40c340
push 0x80000002
call edi
mov esi, eax
cmp esi, ebx
jne 0x401df7
lea eax, [ebp - 0x1c]
push eax
push 4
push ebx
push str.EnumNetworkMDC8021X
push 0x80000002
call edi
mov esi, eax
cmp esi, ebx
jne 0x401db7
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
push str.0000
push dword [ebp - 0x1c]
call edi
mov esi, eax
cmp esi, ebx
jne 0x401d77
lea eax, [ebp - 0xc]
push eax
push 8
push ebx
push str.Enum
push 0x80000002
call edi
mov esi, eax
cmp esi, ebx
jne 0x401d3c
lea eax, [ebp - 0x138]
push 0x105
push eax
mov dword [ebp - 0x2c], ebx
xor esi, esi
mov dword [ebp - 0x14], 1
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x401d31
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0x138]
push ebx
push eax
push dword [ebp - 0xc]
call edi
mov esi, eax
cmp esi, ebx
jne 0x401ce2
lea eax, [ebp - 0x240]
push 0x105
push eax
xor esi, esi
mov dword [ebp - 0x18], 1
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x401cd7
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x240]
push ebx
push eax
push dword [ebp - 4]
call edi
mov esi, eax
cmp esi, ebx
jne 0x401c81
lea eax, [ebp - 0x348]
push 0x105
push eax
xor esi, esi
mov dword [ebp - 0x10], 1
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x401c76
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x348]
push ebx
push eax
push dword [ebp - 8]
call edi
mov esi, eax
cmp esi, ebx
jne 0x401c19
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.004016e5
push str.iBindingNo
push str.h0000Key
push str.hEnumKey
push str.hClassKey
push str.hSubSubSubKey
push str.CheckAndBind
push str.AI98D.BindProtocol
push str._s:_1__s__s___s___s___s___s_
push 6
mov esi, eax
call fcn.00407ea7
add esp, 0x24
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401c5e
push ebx
push 3
call fcn.00407ea7
pop ecx
test eax, eax
pop ecx
je 0x401c5e
push ebx
push esi
lea ecx, [ebp - 0x730]
call fcn.0040847c
push eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x138]
push eax
push str.AI98D.BindProtocol
push str._s:_RegOpenKeyEx__HKLM_Enum__ws__ws__ws___7_failed:__s
push 3
call fcn.00407ea7
add esp, 0x1c
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x348]
push 0x105
push ecx
push eax
jmp 0x401b98
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401cbf
push ebx
push 3
call fcn.00407ea7
pop ecx
test eax, eax
pop ecx
je 0x401cbf
push ebx
push esi
lea ecx, [ebp - 0x924]
call fcn.0040847c
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x138]
push eax
push str.AI98D.BindProtocol
push str._s:_RegOpenKeyEx__HKLM_Enum__ws__ws___6_failed:__s
push 3
call fcn.00407ea7
add esp, 0x18
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x240]
push 0x105
push ecx
push eax
jmp 0x401b54
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401d19
push ebx
push 3
call fcn.00407ea7
pop ecx
test eax, eax
pop ecx
je 0x401d19
push ebx
push esi
lea ecx, [ebp - 0x53c]
call fcn.0040847c
push eax
lea eax, [ebp - 0x138]
push eax
push str.AI98D.BindProtocol
push str._s:_RegOpenKeyEx__HKLM_Enum__ws___5_failed:__s
push 3
call fcn.00407ea7
add esp, 0x14
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x138]
push 0x105
push ecx
push eax
jmp 0x401b10
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401d6c
push ebx
push 3
call fcn.00407ea7
pop ecx
test eax, eax
pop ecx
je 0x401d6c
push ebx
push esi
lea ecx, [ebp - 0x53c]
call fcn.0040847c
push eax
push str.AI98D.BindProtocol
push str._s:_RegOpenKeyEx__HKLM_Enum___4_failed:__s
push 3
call fcn.00407ea7
add esp, 0x10
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401dac
push ebx
push 3
call fcn.00407ea7
pop ecx
test eax, eax
pop ecx
je 0x401dac
push ebx
push esi
lea ecx, [ebp - 0x53c]
call fcn.0040847c
push eax
push str.EnumNetworkMDC8021X
push str.AI98D.BindProtocol
push str._s:_RegOpenKeyEx___ws_0000___3_failed:__s
push 3
call fcn.00407ea7
add esp, 0x14
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401dec
push ebx
push 3
call fcn.00407ea7
pop ecx
test eax, eax
pop ecx
je 0x401dec
push ebx
push esi
lea ecx, [ebp - 0x53c]
call fcn.0040847c
push eax
push str.EnumNetworkMDC8021X
push str.AI98D.BindProtocol
push str._s:_RegOpenKeyEx___s___2_failed:__s
push 3
call fcn.00407ea7
add esp, 0x14
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401e2c
push ebx
push 3
call fcn.00407ea7
pop ecx
test eax, eax
pop ecx
je 0x401e2c
push ebx
push esi
lea ecx, [ebp - 0x53c]
call fcn.0040847c
push eax
push 0x40c340
push str.AI98D.BindProtocol
push str._s:_RegOpenKeyEx___ws___1_failed:__s
push 3
call fcn.00407ea7
add esp, 0x14
push esi
push str.AI98D.BindProtocol
push str._s____d
push 6
call fcn.00407ea7
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret