Function at 0xc49647
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0xc940a0]
xor eax, esp
mov dword [esp + 0x240], eax
or dword [esp + 4], 0xffffffff
lea eax, [esp + 4]
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x20]
xor esi, esi
push eax
push esi
push 2
mov dword [esp + 0x2c], esi
call dword [sym.imp.ext_ms_win_networking_wlanapi_l1_1_0.dll_WlanOpenHandle]
mov ebx, eax
mov edi, 0x80070000
test ebx, ebx
jle 0xc49696
movzx ebx, bx
or ebx, edi
test ebx, ebx
jns 0xc496b0
mov ecx, dword [ebp + 4]
mov edx, 0x561
push ebx
push 0x9f6984
call fcn.00ab606d
jmp 0xc49914
lea eax, [esp + 0x18]
push eax
push esi
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 0xc496cd
movzx ebx, bx
or ebx, edi
test ebx, ebx
jns 0xc496e7
mov ecx, dword [ebp + 4]
mov edx, 0x565
push ebx
push 0x9f6984
call fcn.00ab606d
jmp 0xc49909
mov ecx, dword [esp + 0x18]
mov eax, esi
mov edi, 0xc93264
mov edx, dword [ecx]
test edx, edx
je 0xc49724
add ecx, 0x218
cmp dword [ecx], 1
je 0xc498b9
cmp dword [ecx], 5
je 0xc498b9
cmp dword [ecx], 7
je 0xc498b9
inc eax
add ecx, 0x214
cmp eax, edx
jb 0xc496fe
mov edx, dword [0xc93264]
cmp ebx, 1
je 0xc498ff
cmp edx, edi
je 0xc49750
test byte [edx + 0x1c], 8
je 0xc49750
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x9ff174
push 0x13
pop ecx
call fcn.00c5149f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push ecx
push 0xa25c20
mov edx, 0x9f3758
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00a41860
mov eax, dword [0xc93264]
cmp eax, edi
je 0xc49794
test byte [eax + 0x1c], 8
je 0xc49794
push dword [esp + 0x14]
mov edx, 0x9ff174
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.00b7b7a6
push 0x200
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00ab4bf6
mov esi, 0x9f752c
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 0xc498fa
push pe_nt_image_headers32
lea eax, [esp + 0x4c]
mov edi, 0x9f3758
push eax
push 2
push 0xa25a6c
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00aac1c5
test eax, eax
js 0xc498fd
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.00c49cf6
test eax, eax
js 0xc498fd
mov eax, dword [0xc93264]
mov esi, 0xc93264
cmp eax, esi
je 0xc4984f
test byte [eax + 0x1c], 8
je 0xc4982d
lea ecx, [esp + 0x48]
mov edx, 0x9ff174
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.00c5152a
mov eax, dword [0xc93264]
cmp eax, esi
je 0xc4984f
test byte [eax + 0x1c], 8
je 0xc4984f
lea ecx, [esp + 0x38]
mov edx, 0x9ff174
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.00c515b8
xor esi, esi
mov dword [esp + 0x30], 1
lea eax, [esp + 0x48]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push esi
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x34], esi
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.wlanapi.dll_WlanConnect]
mov ebx, eax
test ebx, ebx
jle 0xc49895
movzx ebx, bx
or ebx, 0x80070000
push 0xa25a6c
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
push 0xa25a48
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
jmp 0xc498ff
mov edx, dword [0xc93264]
cmp edx, edi
je 0xc498f2
test byte [edx + 0x1c], 8
je 0xc498f2
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, 0x9ff174
push 0x12
pop ecx
call fcn.00c515b8
mov edx, dword [0xc93264]
xor ebx, ebx
inc ebx
jmp 0xc4972a
xor ebx, ebx
inc ebx
xor esi, esi
push dword [esp + 0x18]
call dword [sym.imp.ext_ms_win_networking_wlanapi_l1_1_0.dll_WlanFreeMemory]
push esi
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.00ab3c50
mov esp, ebp
pop ebp
ret