Function at 0x50a330
Capabilities:
Query or enumerate registry key

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 0x5f61c9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x288
mov eax, dword [0x70f200]
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, ecx
mov edi, dword [ebx + 8]
push edi
push 4
push 0x110a
push dword [esi + 0x2c0]
mov dword [ebp - 0x294], edi
call dword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x238]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x230], 0
call fcn.005dc5e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
movq qword [ebp - 0x22c], xmm0
call fcn.005dc5e0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push eax
push edi
mov ecx, esi
call fcn.0050a210
test al, al
jne 0x50a3ff
mov byte [ebp - 0x281], al
jmp 0x50a6c5
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0
call fcn.005d6aa0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
call fcn.005d6aa0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
mov dword [ebp - 0x268], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0x2bc]
mov dword [ebp - 0x280], edi
lea edi, [esi + 0x2b0]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x27c], 0xffff0002
mov dword [ebp - 0x278], 0x23
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x28c], edi
movups xmmword [ebp - 0x24c], xmm0
test eax, eax
je 0x50a512
push str._rfcheck_
push eax
push dword [edi]
lea ecx, [esi + 0x40]
call fcn.005ba070
push eax
lea ecx, [ebp - 0x22c]
call fcn.005dc1c0
mov ecx, eax
call fcn.005dc4c0
test al, al
je 0x50a6a8
mov eax, dword [ebp - 0x288]
push eax
push 0
push 0x1101
push dword [esi + 0x2c0]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x50a518
mov dword [ebp - 0x28c], edi
push ecx
push 0x20019
lea ecx, [ebp - 0x238]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x220]
call fcn.005d6a30
test al, al
je 0x50a6a8
lea ecx, [ebp - 0x220]
call fcn.005d6a00
push 0
push 0
push 0xb
push dword [edi]
lea ecx, [esi + 0x40]
mov dword [ebp - 0x288], eax
call fcn.005befd0
push 0x100
lea eax, [ebp - 0x218]
xor edi, edi
push eax
push edi
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x50a66b
lea eax, [ebp - 0x280]
push eax
push 0
push 0x1132
push dword [esi + 0x2c0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x290], eax
test eax, eax
je 0x50a649
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0x624284
lea ecx, [ebp - 0x238]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x22c]
call fcn.005dc200
push ecx
push 0x20019
lea ecx, [ebp - 0x22c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x21c]
call fcn.005d6a30
test al, al
je 0x50a649
push 0x100
lea eax, [ebp - 0x218]
push eax
push 0
lea ecx, [ebp - 0x21c]
call fcn.005d6a00
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x50a649
mov eax, dword [ebp - 0x28c]
lea ecx, [esi + 0x40]
push dword [eax]
push dword [esi + 0x2bc]
push 0xffff0002
push dword [ebp - 0x290]
push str._rfcheck_
call fcn.005ba280
push 0x100
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x50a581
push dword [ebp - 0x294]
push 0
push 0x1113
push dword [esi + 0x2c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xb
push dword [esi + 0x2b0]
lea ecx, [esi + 0x40]
call fcn.005befd0
push 0
push 0
push dword [esi + 0x2c0]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x281], 1
call fcn.005d69e0
lea ecx, [ebp - 0x220]
call fcn.005d69e0
lea ecx, [ebp - 0x22c]
call fcn.005dc430
lea ecx, [ebp - 0x238]
call fcn.005dc430
mov al, byte [ebp - 0x281]
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.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4