Function at 0x100291a2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x324
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x324], eax
push 0x2c
mov eax, 0x100be204
call fcn.10092efa
mov edi, dword [ebp + 0x330]
push str._RC__RaWLAPI______MS80211::GetNextProfileID___n
push 3
mov esi, ecx
mov dword [ebp - 0x2c], edi
call fcn.1000926a
pop ecx
xor ebx, ebx
pop ecx
mov dword [ebp - 0x10], ebx
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x18]
call fcn.10004d63
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10004d92
lea eax, [ebp - 0x24]
push eax
call fcn.10009e6a
cmp dword [ebp - 0x24], 0xb
pop ecx
lea eax, [ebp + 0x100]
jl 0x10029219
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
jmp 0x1002921e
push str.SYSTEMCurrentControlSetServicesClassNet_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esi, 0x84
push esi
lea eax, [ebp + 0x100]
push eax
call edi
push str.ProfileStation
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp - 0x18]
push str._s_s
push eax
call fcn.10005cfd
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push dword [ebp - 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100292b8
push dword [ebp - 0x18]
push str._RC__RaWLAPI__MS80211::GetNextProfileID__:_RegOpenKeyEx__hs_failed_n
push 1
call fcn.1000926a
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001210
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 + 0x324]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x328
leave
ret 4
mov dword [ebp - 0x14], 1
mov esi, pe_nt_image_headers32
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x300]
push eax
push dword [ebp - 0x1c]
mov byte [ebp + 0x300], bl
push dword [ebp - 0x10]
mov dword [ebp - 0x28], 0x21
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100293b9
push esi
lea eax, [ebp + 0x200]
push ebx
push eax
call fcn.1008ef90
add esp, 0xc
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.ProfileStation_
lea eax, [ebp + 0x200]
push eax
call edi
lea eax, [ebp + 0x300]
push eax
lea eax, [ebp + 0x200]
push eax
call edi
push esi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x20], esi
call fcn.1008ef90
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push eax
push str.ProfileID
lea eax, [ebp + 0x200]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1000b244
add esp, 0x24
cmp eax, 1
jne 0x10029384
lea eax, [ebp]
push eax
call fcn.10091cb3
cmp eax, dword [ebp - 0x14]
pop ecx
je 0x1002938c
inc dword [ebp - 0x1c]
jmp 0x100292c7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x100292c4
cmp dword [ebp - 0x10], ebx
je 0x100293a9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 0x100ddb34
push 3
call fcn.1000926a
pop ecx
pop ecx
jmp 0x100293ec
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
push 0x100cedf4
push esi
call fcn.10005cfd
push dword [esi]
push str._RC__RaWLAPI__MS80211::GetNextProfileID__:_strProfileID___s_n
push 3
call fcn.1000926a
add esp, 0x18
cmp dword [ebp - 0x10], ebx
je 0x100293ec
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
xor ebx, ebx
inc ebx
jmp 0x10029286