Function at 0x1002e0a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x280
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0x280], eax
push 0x3c
mov eax, 0x100be717
call fcn.10092efa
mov esi, ecx
xor edi, edi
push str._RC__RaWLAPI______MS80211::WriteRegValueToProfFile___n
inc edi
push 3
mov dword [ebp - 4], edi
call fcn.1000926a
pop ecx
xor ebx, ebx
pop ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x24]
call fcn.10004d63
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.10009e6a
cmp dword [ebp - 0x48], 0xb
pop ecx
lea eax, [ebp]
jl 0x1002e117
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
jmp 0x1002e11c
push str.SYSTEMCurrentControlSetServicesClassNet_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0x84
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp]
push eax
call esi
push str.ProfileStation_
lea eax, [ebp]
push eax
call esi
mov eax, dword [ebp + 0x28c]
push dword [eax - 0xc]
lea ecx, [ebp + 0x28c]
call fcn.10005348
push eax
lea eax, [ebp]
push eax
call esi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push 0x100cef18
push eax
call fcn.10005cfd
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1002e1b6
push dword [ebp - 0x24]
lea eax, [ebp + 0x100]
push str._RC__RaWLAPI__MS80211::WriteRegValueToProfFile__:_RegOpenKeyEx__hs_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x100]
push eax
push edi
call fcn.1000926a
add esp, 0x14
jmp 0x1002e562
xor eax, eax
cmp dword [0x1010e7cc], ebx
mov dword [ebp - 0x38], eax
jle 0x1002e551
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edi, [eax*4 + 0x1010e8a8]
mov eax, dword [edi]
cmp eax, str.AuthMode
je 0x1002e53a
cmp eax, str.CipherMode
je 0x1002e53a
cmp eax, str.SSID_inHex
je 0x1002e53a
mov eax, pe_nt_image_headers32
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x180]
push ebx
push eax
call fcn.1008ef90
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
push dword [edi]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1002e258
push dword [edi]
lea eax, [ebp + 0x100]
push str._RC__RaWLAPI__MS80211::WriteRegValueToProfFile__:_RegQueryValueEx__s_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x100]
push eax
push 1
call fcn.1000926a
add esp, 0x14
jmp 0x1002e53a
mov eax, dword [edi]
cmp eax, 0x100ce4d0
jne 0x1002e31e
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004d63
mov byte [ebp - 4], 3
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x30]
call fcn.10004d63
lea eax, [ebp + 0x180]
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], ebx
call fcn.1008f010
test eax, eax
pop ecx
jle 0x1002e2e0
mov eax, dword [ebp - 0x10]
movsx eax, byte [ebp + eax + 0x180]
push eax
lea eax, [ebp - 0x30]
push 0x100dea34
push eax
call fcn.10005cfd
mov ebx, dword [ebp - 0x30]
add esp, 0xc
push dword [ebx - 0xc]
lea ecx, [ebp - 0x2c]
push ebx
call fcn.1001384a
inc dword [ebp - 0x10]
lea eax, [ebp + 0x180]
push eax
call fcn.1008f010
cmp dword [ebp - 0x10], eax
pop ecx
jl 0x1002e29d
jmp 0x1002e2e3
mov ebx, dword [ebp - 0x30]
push dword [ebp + 0x290]
push dword [ebp - 0x2c]
push dword [edi]
push dword [ebp + 0x28c]
call esi
push dword [ebp + 0x290]
push 0x100ce2bc
push str.SSID_inHex
push dword [ebp + 0x28c]
call esi
lea ecx, [ebx - 0x10]
call fcn.10001210
mov ecx, dword [ebp - 0x2c]
jmp 0x1002e4e6
mov ebx, str.PACFileList
cmp eax, ebx
jne 0x1002e475
and dword [ebp - 0x10], 0
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x14]
call fcn.10004d63
mov byte [ebp - 4], 5
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x1c]
call fcn.10004d63
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push ebx
lea eax, [ebp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 6
call fcn.1000b244
add esp, 0x18
cmp dword [ebp - 0x10], 0
je 0x1002e44b
push dword [ebp - 0x10]
call fcn.1006d89f
push dword [ebp - 0x10]
mov ebx, eax
push 0
push ebx
call fcn.1008ef90
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
push str.PACFileList
lea eax, [ebp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], ebx
call fcn.1000b244
push ebx
lea eax, [ebp - 0x14]
push 0x100cef18
push eax
call fcn.10005cfd
add esp, 0x34
jmp 0x1002e3dd
push 0x100dea30
call fcn.100139af
push ebx
lea eax, [ebp - 0x14]
push 0x100cef18
push eax
call fcn.10005cfd
add esp, 0xc
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.1001384a
push dword [ebp - 0x14]
call fcn.1008f010
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
mov dword [esp], 0x100cdb5f
call fcn.10005cd8
push 0x100cdb5f
push ebx
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
jne 0x1002e3c1
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
call fcn.10005348
push dword [ebp + 0x290]
push eax
push dword [edi]
push dword [ebp + 0x28c]
call esi
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
je 0x1002e465
push dword [ebp - 0x3c]
call fcn.1006d8a4
pop ecx
jmp 0x1002e465
push dword [ebp + 0x290]
lea eax, [ebp + 0x180]
push eax
push dword [edi]
push dword [ebp + 0x28c]
call esi
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0x14]
jmp 0x1002e4e6
cmp eax, str.SSOInfoInProf
jne 0x1002e4f4
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x28]
call fcn.10004d63
push 4
lea eax, [ebp - 0x34]
push 0
push eax
mov byte [ebp - 4], 7
call fcn.1008ef90
push 4
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1008ebc0
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push 0x100cedf4
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x28]
add esp, 0x24
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.10005348
push dword [ebp + 0x290]
push eax
push dword [edi]
push dword [ebp + 0x28c]
call esi
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001210
jmp 0x1002e50d
push dword [ebp + 0x290]
lea ecx, [ebp + 0x180]
push ecx
push eax
push dword [ebp + 0x28c]
call esi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1002e54f
cmp dword [edi], str.AuthenType
jne 0x1002e538
push dword [ebp + 0x290]
lea eax, [ebp + 0x180]
push eax
push str.AuthMode
push dword [ebp + 0x28c]
call esi
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 0x38]
inc eax
cmp eax, dword [0x1010e7cc]
mov dword [ebp - 0x38], eax
jl 0x1002e1cd
jmp 0x1002e551
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
je 0x1002e562
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
push 0x100de9f8
push 3
call fcn.1000926a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp + 0x28c]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp + 0x290]
add ecx, 0xfffffff0
call fcn.10001210
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x280]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0x284
leave
ret 8