Function at 0xcd0a22
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0xd08954]
xor eax, esp
mov dword [esp + 0x240], eax
or dword [esp + 4], 0xffffffff
lea eax, [esp + 4]
and dword [esp + 0x10], 0
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 2
call dword [sym.imp.ext_ms_win_networking_wlanapi_l1_1_0.dll_WlanOpenHandle]
mov ebx, eax
mov esi, 0x80070000
test ebx, ebx
jle 0xcd0a71
movzx ebx, bx
or ebx, esi
test ebx, ebx
jns 0xcd0a8b
mov ecx, dword [ebp + 4]
mov edx, 0x4c6
push ebx
push 0xb27854
call fcn.00b913f8
jmp 0xcd0ceb
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x18]
call dword [sym.imp.ext_ms_win_networking_wlanapi_l1_1_0.dll_WlanEnumInterfaces]
mov ebx, eax
test ebx, ebx
jle 0xcd0aa9
movzx ebx, bx
or ebx, esi
test ebx, ebx
jns 0xcd0ac3
mov ecx, dword [ebp + 4]
mov edx, 0x4ca
push ebx
push 0xb27854
call fcn.00b913f8
jmp 0xcd0cdf
mov ecx, dword [esp + 0x18]
xor eax, eax
mov esi, 0xd08120
mov edi, 0xb305bc
mov edx, dword [ecx]
test edx, edx
je 0xcd0b05
add ecx, 0x218
cmp dword [ecx], 1
je 0xcd0c94
cmp dword [ecx], 5
je 0xcd0c94
cmp dword [ecx], 7
je 0xcd0c94
inc eax
add ecx, 0x214
cmp eax, edx
jb 0xcd0adf
mov edx, dword [0xd08120]
cmp ebx, 1
je 0xcd0cd5
cmp edx, esi
je 0xcd0b2e
test byte [edx + 0x1c], 8
je 0xcd0b2e
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, edi
push 0x13
pop ecx
call fcn.00cd7601
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push ecx
push 0xb486a8
mov edx, 0xb2dbc8
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00b819c7
mov eax, dword [0xd08120]
cmp eax, esi
je 0xcd0b70
test byte [eax + 0x1c], 8
je 0xcd0b70
push dword [esp + 0x14]
mov edx, edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.00cd773d
push 0x200
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00bc259b
mov esi, 0xb28b08
lea edi, [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x14], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0xcd0cd2
push 0x100
lea eax, [esp + 0x4c]
mov edx, 0xb2dbc8
push eax
push 2
push 0xb48760
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00bbc0f1
test eax, eax
js 0xcd0cd5
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.00cd10e7
test eax, eax
js 0xcd0cd5
mov eax, dword [0xd08120]
mov esi, 0xd08120
cmp eax, esi
je 0xcd0c2a
test byte [eax + 0x1c], 8
je 0xcd0c08
lea ecx, [esp + 0x48]
mov edx, 0xb305bc
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.00cd768c
mov eax, dword [0xd08120]
cmp eax, esi
je 0xcd0c2a
test byte [eax + 0x1c], 8
je 0xcd0c2a
lea ecx, [esp + 0x38]
mov edx, 0xb305bc
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.00cd771a
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
and dword [esp + 0x20], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push 0
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x38], 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.wlanapi.dll_WlanConnect]
mov ebx, eax
test ebx, ebx
jle 0xcd0c6e
movzx ebx, bx
or ebx, 0x80070000
push 0xb48760
mov esi, 0xb2dbc8
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push esi
push edi
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
push 0xb4873c
push esi
push edi
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
jmp 0xcd0cd5
mov edx, dword [0xd08120]
cmp edx, esi
je 0xcd0cca
test byte [edx + 0x1c], 8
je 0xcd0cca
imul ecx, eax, 0x214
mov eax, dword [esp + 0x18]
add eax, 8
add eax, ecx
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, edi
push 0x12
pop ecx
call fcn.00cd771a
mov edx, dword [0xd08120]
xor ebx, ebx
inc ebx
jmp 0xcd0b0b
xor ebx, ebx
inc ebx
push dword [esp + 0x18]
call dword [sym.imp.ext_ms_win_networking_wlanapi_l1_1_0.dll_WlanFreeMemory]
push 0
push dword [esp + 0x14]
call dword [sym.imp.ext_ms_win_networking_wlanapi_l1_1_0.dll_WlanCloseHandle]
mov ecx, dword [esp + 0x24c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00bc0ea0
mov esp, ebp
pop ebp
ret