Function at 0x41bed0
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 0x557d4d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x70
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x34], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], esi
test eax, eax
jne 0x41bbfa
mov dword [esi], 6
mov byte [esi + 0x20], 1
jmp 0x41bea6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push ecx
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
push ecx
push 0
push dword [ebx + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41bc2d
mov dword [esi], eax
mov byte [esi + 0x20], 1
jmp 0x41bea6
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
movq qword [ebp - 0x28], xmm0
xor ecx, ecx
mov dword [ebp - 0x3c], eax
xor edx, edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x41bcd0
lea eax, [ebp - 0x35]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0041d2d0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push 0
push dword [ebx + 0xc]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x28]
test eax, eax
je 0x41bcc4
mov dword [esi], eax
mov byte [esi + 0x20], 1
test ecx, ecx
je 0x41bea6
mov edx, dword [ebp - 0x20]
sub edx, ecx
mov eax, ecx
cmp edx, 0x1000
jb 0x41be9c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bec8
jmp 0x41be9c
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
dec eax
cmp eax, 0xa
ja case.0x41bce4.2
movzx eax, byte [eax + 0x41bee4]
jmp dword [eax*4 + 0x41bed0]
cmp edi, 4
je 0x41bd04
mov dword [esi], 0xd
mov byte [esi + 0x20], 1
test ecx, ecx
je 0x41bea6
jmp 0x41bc9b
mov eax, dword [ecx]
mov dword [esi], eax
mov byte [esi + 0x18], 0
mov byte [esi + 0x20], 0
jmp 0x41bc9b
cmp edi, 8
jne 0x41bcf0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
mov ecx, esi
mov byte [ebp - 0x48], 1
call fcn.0041d630
mov byte [esi + 0x20], 0
lea ecx, [ebp - 0x60]
call fcn.0041c720
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x41bea6
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x41bd72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bec8
push ecx
push edx
jmp 0x41be9e
test edi, edi
jne 0x41bdee
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x614318]
cmp eax, dword [ecx + 8]
jle 0x41bdbf
push 0x614318
call fcn.0051028a
add esp, 4
cmp dword [0x614318], 0xffffffff
jne 0x41bdbf
push 0x564970
call fcn.00510130
push 0x614318
call fcn.00510240
add esp, 8
push 0x60be50
lea ecx, [ebp - 0x80]
call fcn.004174e0
lea eax, [ebp - 0x80]
mov byte [ebp - 0x34], 0
push eax
push dword [ebp - 0x34]
mov ecx, esi
mov byte [ebp - 0x68], 2
call fcn.0041d630
mov byte [esi + 0x20], 0
lea ecx, [ebp - 0x80]
jmp 0x41bd3f
mov eax, dword [ebp - 0x3c]
sub eax, ecx
cmp byte [ecx + eax - 1], 0
jne 0x41bcf0
mov edx, ecx
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41be18
sub edx, edi
push edx
push ecx
lea ecx, [ebp - 0x58]
call fcn.00417cb0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x70], xmm0
jmp 0x41bdcc
mov eax, dword [ebp - 0x3c]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov byte [esi + 0x18], 4
mov byte [esi + 0x20], 0
jmp 0x41bea6
mov dword [esi], 0xd
mov byte [esi + 0x20], 1
test ecx, ecx
je 0x41bea6
sub edx, ecx
mov eax, ecx
cmp edx, 0x1000
jb 0x41be9c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bec8
push edx
push ecx
call fcn.0050fd95
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.0052865a
nop dword [eax]
jns 0x41be8f
inc ecx
add byte [ebp - 0x42], bl
inc ecx
add bl, ch
mov esp, 0xbd120041
inc ecx
add byte [edx - 0x42], dh
inc ecx
add byte [eax], al
add al, 1
add al, byte [esp + eax]
add al, 4
add al, 4
add ecx, esp