Function at 0x41d0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1450
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], ebx
push 0x4c
push str.8TNB7eDroWCTSAoYgOnyF8JtR0wNaOODAoUkwuOLlCUhvpfbWaxJ8XTIyUjUEpRYuoko_Nw
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.004159b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.00402b00
mov ecx, eax
mov byte [ebp - 4], 2
mov eax, esi
lea edx, [eax + 2]
mov di, word [eax]
add eax, 2
cmp di, bx
jne 0x41d131
sub eax, edx
sar eax, 1
push eax
mov eax, esi
call fcn.004137b0
xor ecx, ecx
push ebx
mov word [ebp - 0x2c], cx
push eax
mov edi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.004138e0
mov byte [ebp - 4], 4
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x41d180
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 0x10
jb 0x41d1a2
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0049b30a
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], esi
jae 0x41d1ba
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x68]
push edx
push 0x20019
push ebx
push eax
push SysReAllocString
mov dword [ebp - 0x68], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41d27e
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x7c]
push edx
push ebx
mov dword [ebp - 0x74], esi
push str.Flags
mov dword [ebp - 0x70], ebx
push esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x41d212
mov edi, eax
jmp 0x41d21f
mov edi, dword [ebp - 0x7c]
sub edi, 4
neg edi
sbb edi, edi
and edi, 0xd
cmp esi, ebx
je 0x41d22f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], ebx
cmp edi, ebx
jne 0x41d283
mov eax, dword [ebp - 0x68]
and eax, 1
cmp al, 1
jne 0x41d283
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x41d255
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049b30a
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x41d27a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
xor al, al
jmp 0x41d2c0
mov esi, dword [ebp - 0x74]
jmp 0x41d288
mov edi, 7
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x41d29d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x41d2be
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
mov al, 1
mov dword [ebp - 0x70], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b315
mov esp, ebp
pop ebp
ret