Function at 0x484820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd977
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x51cca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x240]
mov ebx, dword [ebp + 8]
push 0x13
push str.Find_PdaNet_Hotspot
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x240], 0
call fcn.004642f0
mov eax, dword [ebp - 0x22c]
cmp eax, 0x10
jb 0x4848a5
inc eax
lea ecx, [ebp - 0x240]
push eax
push dword [ebp - 0x240]
call fcn.00464490
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0048e7f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x27c]
add esp, 0xc
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x484929
lea eax, [ebp - 0x280]
mov dword [ebp - 0x278], 1
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x280], 0x1000
push eax
lea eax, [ebp - 0x278]
push eax
push 0
push str.LastWifiSsid3
push dword [ebp - 0x27c]
call edi
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0048e7f0
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call esi
test eax, eax
jne 0x4849a1
lea eax, [ebp - 0x278]
mov dword [ebp - 0x280], 1
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x278], 0x1000
push eax
lea eax, [ebp - 0x280]
push eax
push 0
push str.LastWifiMac3
push dword [ebp - 0x27c]
call edi
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x52088c]
test eax, eax
jne 0x4849c0
call fcn.00486210
test eax, eax
jne 0x4849bb
or eax, 0xffffffff
jmp 0x484b28
mov eax, dword [0x52088c]
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], 0
push ecx
push 0
push 0
push eax
push dword [0x520880]
call sub.Wlanapi.dll_WlanGetAvailableNetworkList
test eax, eax
jne 0x4849b3
mov edx, dword [ebp - 0x274]
mov eax, dword [edx]
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x484a04
push edx
call sub.Wlanapi.dll_WlanFreeMemory
xor eax, eax
jmp 0x484b28
xor edi, edi
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], edi
mov byte [ebp - 0x228], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], edi
mov byte [ebp - 0x240], 0
xor esi, esi
mov byte [ebp - 4], 1
test eax, eax
jle 0x484b02
lea eax, [edx + 0x20c]
add eax, edi
push eax
push dword [edi + edx + 0x208]
lea eax, [ebp - 0x228]
push str._.s
push eax
call fcn.004645f0
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.00486280
add esp, 0x14
test eax, eax
je 0x484ae7
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x228]
call fcn.004644e0
test al, al
jne 0x484bb4
mov eax, dword [ebp - 0x274]
add eax, 0x208
add eax, edi
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00484d10
add esp, 8
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x270]
call fcn.004644e0
test al, al
jne 0x484b44
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.00460af0
mov edx, dword [ebp - 0x274]
inc esi
add edi, 0x274
cmp esi, dword [ebp - 0x278]
jl 0x484a45
xor edi, edi
push edx
call sub.Wlanapi.dll_WlanFreeMemory
mov ecx, dword [ebp - 0x214]
cmp ecx, 0x10
jb 0x484b26
inc ecx
push ecx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
call fcn.00464490
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489c7b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x278]
call fcn.00460590
push 0
push dword [eax]
push dword [0x52088c]
push dword [0x520880]
call sub.Wlanapi.dll_WlanDeleteProfile
push dword [ebp - 0x278]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x228]
cmp ebx, eax
je 0x484b8d
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.004641c0
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x270]
mov edi, 1
mov dword [eax], 1
call fcn.00460af0
mov edx, dword [ebp - 0x274]
jmp 0x484b02
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x258]
call fcn.00460690
lea eax, [ebp - 0x258]
cmp ebx, eax
je 0x484c0e
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x484be3
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00464490
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x484bfb
mov eax, dword [ebx]
jmp 0x484bfd
mov eax, ebx
mov byte [eax], 0
mov ecx, ebx
lea eax, [ebp - 0x258]
push eax
call fcn.00463e40
mov eax, dword [ebp - 0x244]
cmp eax, 0x10
jb 0x484c2c
inc eax
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x258]
call fcn.00464490
mov edx, dword [ebp - 0x274]
xor ecx, ecx
imul eax, esi, 0x274
mov edi, 1
cmp word [eax + edx + 8], cx
mov eax, dword [ebp - 0x284]
setne cl
inc ecx
mov dword [eax], ecx
jmp 0x484b02