Function at 0x4827d0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd53f
mov eax, dword fs:[0]
push eax
sub esp, 0x170
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 ebx, ecx
cmp dword [ebx + 0x10], 0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
je 0x482dc5
push 0x4ec3a4
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x482868
mov eax, 0xb
mov word [edi], ax
cmp dword [ebx + 0x4c], 0
je 0x48285d
push 0
call fcn.00469d40
add esp, 4
cmp eax, 7
jl 0x48285d
or eax, 0xffffffff
mov word [edi + 8], ax
jmp 0x482dc5
xor eax, eax
mov word [edi + 8], ax
jmp 0x482dc5
push str.showAllDirect
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x4828d1
push 0x14
mov byte [ebx + 0x50], 1
call fcn.004897e6
mov esi, eax
add esp, 4
mov dword [ebp - 0x148], esi
test esi, esi
je 0x4828ad
mov ecx, dword [ebx + 0x10]
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi], vtable.CCheckAdapterThread.0
mov dword [esi + 0x10], ecx
jmp 0x4828af
xor esi, esi
lea eax, [esi + 4]
mov byte [esi + 0xc], 1
push eax
push 0
push esi
push 0x464130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
jmp 0x482dc5
push str.cancelConnectionAttempt
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x48295d
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x4d2
push dword [ebx + 0x10]
call esi
push 0x4e791c
lea ecx, [ebx + 0x44]
call fcn.00482040
push 0x4d3
push dword [ebx + 0x10]
call esi
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x48291d
call fcn.00481b60
mov dword [ebx + 0x4c], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00482780
lea ecx, [ebp - 0x128]
call fcn.00460af0
jmp 0x482dc5
push str.startScanForAll
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x48299d
push eax
push 0x7da
push 0x4d4
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x4d4
push 0x113
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x482dc5
push str.startScanForPdaNet
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x482b05
cmp dword [ebx + 0x48], eax
je 0x4829ed
xor eax, eax
lea ecx, [ebp - 0x15c]
push 0x4e0600
mov word [ebp - 0x15c], ax
call fcn.00460bb0
movups xmm0, xmmword [ebp - 0x15c]
lea eax, [ebp - 0x15c]
push eax
movups xmmword [edi], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x482dc5
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0048e7f0
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x482a6d
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x148], 1
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x14c], 0x1000
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push str.LastWifiSsid3
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x110], 0
je 0x4829b8
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004863a0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 1
jb 0x482a9f
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x15c], cx
lea ecx, [ebp - 0x15c]
push eax
call fcn.00460bb0
movups xmm0, xmmword [ebp - 0x15c]
lea eax, [ebp - 0x15c]
push eax
movups xmmword [edi], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x128]
call fcn.00460af0
push 0
push 0x7da
push 0x4d2
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x4d2
push 0x113
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x482dc5
push str.startDiscover
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x482c26
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x148]
push dword [eax + 8]
call fcn.00460620
mov dword [ebp - 4], 2
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x128]
mov ecx, dword [ebx + 0x4c]
push esi
push eax
mov byte [ebp - 4], 3
call fcn.00481c70
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
jne 0x482c13
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0x14c]
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.00460590
xor ecx, ecx
mov byte [ebp - 4], 4
mov word [ebp - 0x16c], cx
lea ecx, [ebp - 0x16c]
push eax
call fcn.00460b40
push dword [ebp - 0x14c]
call edi
mov eax, 2
mov word [ebp - 0x15c], ax
xor eax, eax
mov word [ebp - 0x154], ax
push eax
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x15c]
mov ecx, ebx
push eax
push str.onDiscoverEnd
lea eax, [ebp - 0x17c]
push eax
call fcn.00482320
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x15c]
push eax
call edi
lea eax, [ebp - 0x16c]
push eax
call edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x128]
call fcn.00460af0
push esi
call edi
jmp 0x482dc5
push str.startConnect
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x482dc5
push 0x4d4
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x14c]
push dword [eax + 8]
call fcn.00460620
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 8
push dword [eax + 8]
call fcn.00460620
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x148]
push edi
mov byte [ebp - 4], 9
movzx eax, word [eax + 8]
mov dword [ebp - 0x144], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, dword [ebp - 0x14c]
test eax, eax
je 0x482ca9
push 0
push edi
jmp 0x482db1
cmp word [ebp - 0x144], 0xffff
jne 0x482dad
mov eax, dword [ebx + 0x4c]
push dword [eax + 0x30]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x482cd2
mov eax, dword [ebx + 0x4c]
push dword [eax + 0x30]
jmp 0x482daf
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x140], 0
mov ecx, dword [ebx + 0x4c]
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 4], 0xa
call fcn.00481ba0
test eax, eax
jne 0x482da0
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x144]
cmovae eax, dword [ebp - 0x140]
push eax
call fcn.00460590
xor ecx, ecx
mov byte [ebp - 4], 0xb
mov word [ebp - 0x17c], cx
lea ecx, [ebp - 0x17c]
push eax
call fcn.00460b40
push dword [ebp - 0x144]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 2
mov word [ebp - 0x16c], ax
xor eax, eax
mov word [ebp - 0x164], ax
push eax
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x16c]
mov ecx, ebx
push eax
push str.onConnectEnd
lea eax, [ebp - 0x15c]
push eax
call fcn.00482320
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x16c]
push eax
call ebx
lea eax, [ebp - 0x17c]
push eax
call ebx
lea ecx, [ebp - 0x140]
call fcn.00460af0
jmp 0x482db9
push 0
push 0
push esi
mov ecx, ebx
call fcn.00483e10
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call ebx
push esi
call ebx
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 0x14