Function at 0x4ed530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bdbe5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x2c], 0
mov ecx, 0x744cb0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ed5a2
sub ecx, edx
sar ecx, 1
push ecx
push 0x744cb0
lea ecx, [ebp - 0x2c]
call fcn.0044d800
push 0x743380
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0044e340
add esp, 4
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x4ed5e8
mov edi, dword [edi]
push ecx
push edi
mov ecx, eax
call fcn.0044ff60
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x4ed64f
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed75e
push edx
push ecx
call fcn.006779b1
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x4ed69d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed693
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed75e
push edx
push ecx
call fcn.006779b1
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4ed6a5
mov esi, dword [esi]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x64]
push ecx
push 0x20219
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4ed6da
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x5d], 0
jmp 0x4ed707
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 8
push eax
push dword [ebp - 0x6c]
push 0
push 0
push esi
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x64]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete byte [ebp - 0x5d]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4ed73d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ed733
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed763
push edx
push ecx
call fcn.006779b1
add esp, 8
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00682da2
call fcn.00682da2
int3