Function at 0x48de20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x774
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push ebx
mov ebx, dword [ebp + 0x6c]
push esi
push edi
mov edi, dword [ebp + 0x68]
mov dword [ebp - 0x6f4], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x710], edi
mov dword [ebp - 0x6fc], ecx
mov dword [ebp - 0x6f8], edx
mov dword [ebp - 0x718], eax
mov dword [ebp - 0x6ec], 0
test edi, edi
je 0x48e276
cmp byte [edi], 0
je 0x48debe
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x48de95
xor eax, eax
jmp 0x48dea9
lea eax, [esi + esi]
call fcn.0046dc70
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0041f650
push 0
push eax
push closesocket
push str.GetConfig
call fcn.0048ec40
add esp, 0x10
test ebx, ebx
je 0x48e276
push edi
lea ecx, [ebp + 0x30]
push 0x27
push ecx
call fcn.0046a7ad
add esp, 0xc
lea edx, [ebp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x48deee
xor eax, eax
jmp 0x48df05
lea eax, [esi + esi]
call fcn.0046dc70
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x30]
push ecx
push eax
call fcn.0041f650
xor ecx, ecx
jmp 0x48df10
movzx edx, word [ecx + str.SOFTWAREClassesCLSID_]
mov word [ebp + ecx - 0x250], dx
add ecx, 2
test dx, dx
jne 0x48df10
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48df30
sub eax, edx
lea edi, [ebp - 0x250]
add edi, 0xfffffffe
mov esi, edx
lea edx, [edi + 2]
jmp 0x48df50
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x48df50
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x714]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x708]
push ecx
push edx
call fcn.0048ed50
add esp, 0xc
test eax, eax
jne 0x48e23d
push 0x140
call fcn.00495a60
mov dword [ebp - 0x700], eax
add eax, 8
add esp, 4
cmp eax, 0x400
ja 0x48dfc4
call fcn.0046dc70
mov eax, esp
test eax, eax
je 0x48dfba
mov dword [eax], 0xcccc
add eax, 8
mov edi, eax
mov dword [ebp - 0x6f0], edi
jmp 0x48dfe2
push eax
call fcn.00468c27
add esp, 4
test eax, eax
je 0x48dfda
mov dword [eax], 0xdddd
add eax, 8
mov dword [ebp - 0x6f0], eax
mov edi, eax
test edi, edi
je 0x48e26f
mov eax, dword [ebp - 0x700]
lea edx, [ebp - 0x700]
push edx
push eax
push 0
push edi
call fcn.00468010
mov ecx, dword [ebp - 0x708]
add esp, 0xc
push eax
push 0
push 0
push 0x4b3a0c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x48e212
cmp dword [ebp - 0x700], eax
jbe 0x48e212
push 0x140
push ebx
push edi
call fcn.00496010
add esp, 0xc
mov dword [ebp - 0x6ec], eax
test eax, eax
jbe 0x48e268
lea ecx, [ebp - 0x6e8]
call fcn.0048b400
mov edx, dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x6f4]
push edx
push esi
push esi
lea eax, [ebp - 0x6e8]
push eax
push ecx
call fcn.0048b9c0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x48e09c
mov edx, dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x6f8]
push edx
mov edx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6e8]
push eax
push ecx
push edx
push ebx
call fcn.0048bb80
add esp, 0x14
cmp dword [ebp - 0x714], 0x80000001
jne 0x48e212
mov eax, dword [ebp + 0x7c]
push eax
mov eax, dword [ebp - 0x6f4]
lea ecx, [ebp - 0x70c]
push ecx
push 0x80
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.0048d7a0
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x704], esi
cmp esi, 2
jne 0x48e0e4
xor esi, esi
mov dword [ebp - 0x704], esi
cmp dword [ebp - 0x70c], 0
jbe 0x48e212
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x48e107
xor eax, eax
jmp 0x48e120
lea edi, [eax + eax]
mov eax, edi
call fcn.0046dc70
mov eax, esp
push 3
push edi
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.00423510
push eax
lea edi, [ebx + 0xc0]
push edi
call fcn.0046ee02
add esp, 8
test eax, eax
je 0x48e20c
xor eax, eax
xor esi, esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb4], eax
mov word [ebx + 0xb8], ax
push 0x80
mov byte [ebx + 0xba], al
lea eax, [ebx + 0x20]
push esi
push eax
call fcn.00468010
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x48e19e
xor eax, eax
jmp 0x48e1b9
lea esi, [eax + eax]
mov eax, esi
call fcn.0046dc70
mov eax, esp
push 3
push esi
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.00423510
xor esi, esi
mov edx, edi
jmp 0x48e1c0
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x48e1c0
mov eax, dword [ebp - 0x6fc]
mov dword [ebx + 0x134], esi
cmp eax, esi
je 0x48e1dc
mov dword [eax], esi
mov ecx, dword [ebp + 0x7c]
push ecx
mov ecx, dword [ebp - 0x6f8]
lea edx, [ebp - 0x704]
push edx
mov edx, dword [ebp - 0x710]
push ecx
push eax
mov eax, dword [ebp - 0x6f4]
push ebx
push edx
push eax
call fcn.0048db70
mov esi, dword [ebp - 0x704]
add esp, 0x1c
mov edi, dword [ebp - 0x6f0]
cmp dword [edi - 8], 0xdddd
lea eax, [edi - 8]
jne 0x48e227
push eax
call fcn.00468cf1
add esp, 4
mov ecx, dword [ebp - 0x708]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x6ec], 0
jne 0x48e27b
mov edx, dword [ebp + 0x7c]
mov eax, dword [ebp - 0x6f8]
mov ecx, dword [ebp - 0x6fc]
push edx
mov edx, dword [ebp - 0x6f4]
push eax
push ecx
push edx
push 0
push ebx
call fcn.0048bc80
add esp, 0x18
mov esi, 2
jmp 0x48e27b
mov esi, 0xffffffed
jmp 0x48e212
mov esi, 8
jmp 0x48e227
mov esi, 0xfffffffa
mov eax, dword [ebp - 0x718]
test eax, eax
je 0x48e287
mov dword [eax], esi
mov eax, dword [ebp - 0x6ec]
lea esp, [ebp - 0x724]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x58]
xor ecx, ebp
call fcn.00467fff
add ebp, 0x5c
mov esp, ebp
pop ebp
ret