Function at 0x48d5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x774
mov eax, dword [0x4cd724]
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 0x48da06
cmp byte [edi], 0
je 0x48d64e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x48d625
xor eax, eax
jmp 0x48d639
lea eax, [esi + esi]
call fcn.0046d420
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0041f5f0
push 0
push eax
push closesocket
push str.GetConfig
call fcn.0048e3d0
add esp, 0x10
test ebx, ebx
je 0x48da06
push edi
lea ecx, [ebp + 0x30]
push 0x27
push ecx
call fcn.00469f5d
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 0x48d67e
xor eax, eax
jmp 0x48d695
lea eax, [esi + esi]
call fcn.0046d420
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x30]
push ecx
push eax
call fcn.0041f5f0
xor ecx, ecx
jmp 0x48d6a0
movzx edx, word [ecx + str.SOFTWAREClassesCLSID_]
mov word [ebp + ecx - 0x250], dx
add ecx, 2
test dx, dx
jne 0x48d6a0
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48d6c0
sub eax, edx
lea edi, [ebp - 0x250]
add edi, 0xfffffffe
mov esi, edx
lea edx, [edi + 2]
jmp 0x48d6e0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x48d6e0
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.0048e4e0
add esp, 0xc
test eax, eax
jne 0x48d9cd
push 0x140
call fcn.00495200
mov dword [ebp - 0x700], eax
add eax, 8
add esp, 4
cmp eax, 0x400
ja 0x48d754
call fcn.0046d420
mov eax, esp
test eax, eax
je 0x48d74a
mov dword [eax], 0xcccc
add eax, 8
mov edi, eax
mov dword [ebp - 0x6f0], edi
jmp 0x48d772
push eax
call fcn.004683d7
add esp, 4
test eax, eax
je 0x48d76a
mov dword [eax], 0xdddd
add eax, 8
mov dword [ebp - 0x6f0], eax
mov edi, eax
test edi, edi
je 0x48d9ff
mov eax, dword [ebp - 0x700]
lea edx, [ebp - 0x700]
push edx
push eax
push 0
push edi
call fcn.004677c0
mov ecx, dword [ebp - 0x708]
add esp, 0xc
push eax
push 0
push 0
push 0x4b29ec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x48d9a2
cmp dword [ebp - 0x700], eax
jbe 0x48d9a2
push 0x140
push ebx
push edi
call fcn.004957b0
add esp, 0xc
mov dword [ebp - 0x6ec], eax
test eax, eax
jbe 0x48d9f8
lea ecx, [ebp - 0x6e8]
call fcn.0048aba0
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.0048b160
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x48d82c
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.0048b320
add esp, 0x14
cmp dword [ebp - 0x714], 0x80000001
jne 0x48d9a2
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.0048cf40
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x704], esi
cmp esi, 2
jne 0x48d874
xor esi, esi
mov dword [ebp - 0x704], esi
cmp dword [ebp - 0x70c], 0
jbe 0x48d9a2
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x48d897
xor eax, eax
jmp 0x48d8b0
lea edi, [eax + eax]
mov eax, edi
call fcn.0046d420
mov eax, esp
push 3
push edi
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.004234b0
push eax
lea edi, [ebx + 0xc0]
push edi
call fcn.0046e5b2
add esp, 8
test eax, eax
je 0x48d99c
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.004677c0
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x48d92e
xor eax, eax
jmp 0x48d949
lea esi, [eax + eax]
mov eax, esi
call fcn.0046d420
mov eax, esp
push 3
push esi
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.004234b0
xor esi, esi
mov edx, edi
jmp 0x48d950
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x48d950
mov eax, dword [ebp - 0x6fc]
mov dword [ebx + 0x134], esi
cmp eax, esi
je 0x48d96c
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.0048d310
mov esi, dword [ebp - 0x704]
add esp, 0x1c
mov edi, dword [ebp - 0x6f0]
cmp dword [edi - 8], 0xdddd
lea eax, [edi - 8]
jne 0x48d9b7
push eax
call fcn.004684a1
add esp, 4
mov ecx, dword [ebp - 0x708]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x6ec], 0
jne 0x48da0b
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.0048b420
add esp, 0x18
mov esi, 2
jmp 0x48da0b
mov esi, 0xffffffed
jmp 0x48d9a2
mov esi, 8
jmp 0x48d9b7
mov esi, 0xfffffffa
mov eax, dword [ebp - 0x718]
test eax, eax
je 0x48da17
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.004677af
add ebp, 0x5c
mov esp, ebp
pop ebp
ret