Function at 0x48e120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x32c]
sub esp, 0x3ac
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp + 0x328], eax
mov eax, dword [ebp + 0x334]
mov ecx, dword [ebp + 0x340]
push ebx
mov ebx, dword [ebp + 0x338]
push esi
mov esi, dword [ebp + 0x344]
push edi
xor edi, edi
push edi
push str.090746F9_9F39_42C0_920A_4852C2EDE704
push closesocket
push str.ReadNewAPKeyName
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x68], edi
call fcn.0048e970
add esp, 0x10
cmp ebx, edi
je 0x48e3b6
cmp esi, edi
je 0x48e3b6
mov edx, dword [ebp + 0x33c]
push edx
push edi
push ebx
call fcn.00467d60
add esp, 0xc
xor eax, eax
jmp 0x48e1b0
movzx ecx, word [eax + str.SOFTWAREClassesCLSID_]
mov word [ebp + eax + 0x128], cx
add eax, 2
cmp cx, di
jne 0x48e1b0
lea edi, [ebp + 0x128]
add edi, 0xfffffffe
lea edx, [edi + 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48e1d3
mov ecx, 0x13
mov esi, str.090746F9_9F39_42C0_920A_4852C2EDE704
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x70]
push ecx
push edx
movsw word es:[edi], word [esi]
call fcn.0048ea80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48e386
push 0x180
call fcn.004957a0
add eax, 8
add esp, 4
cmp eax, 0x400
ja 0x48e232
call fcn.0046d9c0
mov eax, esp
test eax, eax
je 0x48e248
mov dword [eax], 0xcccc
jmp 0x48e245
push eax
call fcn.00468977
add esp, 4
test eax, eax
je 0x48e248
mov dword [eax], 0xdddd
add eax, 8
mov ebx, eax
test ebx, ebx
je 0x48e3af
mov edx, dword [ebp - 0x64]
push ebx
push 0
push edx
call fcn.0048c8e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48e35e
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
push 1
push esi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x48e35e
push 0x27
call fcn.004957a0
mov dword [ebp - 0x80], eax
add eax, 8
add esp, 4
cmp eax, 0x400
ja 0x48e2b1
call fcn.0046d9c0
mov eax, esp
test eax, eax
je 0x48e2c7
mov dword [eax], 0xcccc
jmp 0x48e2c4
push eax
call fcn.00468977
add esp, 4
test eax, eax
je 0x48e2c7
mov dword [eax], 0xdddd
add eax, 8
mov edi, eax
test edi, edi
je 0x48e346
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x80]
push edx
push edi
push 0
push 0
push str.Data
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x48e34b
mov ecx, dword [ebp + 0x33c]
mov edx, dword [ebp - 0x60]
push ecx
push edx
push edi
call fcn.00495d50
add esp, 0xc
test eax, eax
jbe 0x48e34b
cmp dword [ebp + 0x34c], esi
je 0x48e317
mov eax, dword [ebp - 0x60]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48e310
cmp dword [ebp - 0x78], 0x80000002
mov dword [ebp - 0x5c], 1
jne 0x48e34b
mov eax, dword [ebp + 0x34c]
mov edx, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x68]
push ecx
push edx
push eax
call fcn.0048dfe0
add esp, 0x10
mov esi, eax
jmp 0x48e34b
mov esi, 8
push edi
call fcn.0041a740
mov ecx, dword [ebp - 0x6c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebx - 8], 0xdddd
lea eax, [ebx - 8]
jne 0x48e373
push eax
call fcn.00468a41
add esp, 4
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x5c], 0
jne 0x48e3bb
mov ebx, dword [ebp - 0x60]
cmp esi, 2
jne 0x48e3bb
cmp dword [ebp + 0x348], 0
je 0x48e3bb
mov eax, dword [ebp + 0x34c]
mov ecx, dword [ebp - 0x64]
push eax
push ebx
push ecx
mov byte [ebx], 0
call fcn.0048cab0
add esp, 0xc
mov esi, eax
jmp 0x48e3bb
mov esi, 8
jmp 0x48e373
mov esi, 0xfffffffa
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x48e3c4
mov dword [eax], esi
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x48e3d0
mov edx, dword [ebp - 0x68]
mov dword [eax], edx
mov eax, dword [ebp - 0x5c]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x328]
xor ecx, ebp
call fcn.00467d4f
add ebp, 0x32c
mov esp, ebp
pop ebp
ret