Function at 0x41d03c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x64
mov eax, 0x48be20
call fcn.0045cda0
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
xor eax, eax
mov dword [ebp - 0x10], ebx
inc eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], eax
call fcn.0041a7e7
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
push ebx
push 0xffffffffffffffff
push 0x49ff20
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00417813
push dword [ebp + 0xc]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413e39
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.0041394e
lea ecx, [ebp - 0x68]
call fcn.0041394e
cmp dword [edi + 8], ebx
jne 0x41d0cc
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.00413841
jmp 0x41d218
push esi
mov ecx, edi
call fcn.0041d886
test eax, eax
je 0x41d18f
cmp dword [edi + 0xc], ebx
je 0x41d1ff
lea ecx, [ebp - 0x58]
call fcn.00418bd8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [edi + 0xc]
lea esi, [ebp - 0x10]
push esi
lea esi, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push esi
mov edx, dword [ecx]
push eax
push dword [edi + 8]
mov dword [ebp - 0x1c], eax
push ecx
call dword [edx + 0x84]
test eax, eax
jne 0x41d184
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41d184
inc eax
cmp word [ecx], ax
jne 0x41d184
cmp dword [ecx + 4], eax
jne 0x41d184
cmp dword [ecx + 0x14], ebx
jne 0x41d184
mov eax, dword [ebp - 0x10]
cmp eax, dword [ecx + 0x10]
ja 0x41d184
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x41d184
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
cmp word [esi + eax*2 - 2], bx
jne 0x41d161
dec eax
mov dword [ebp - 0x10], eax
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00418264
push dword [ebp + 0xc]
xor eax, eax
lea ebx, [eax + 1]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
push esi
mov byte [ebp - 4], 5
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41d1fb
lea ecx, [ebp - 0x58]
call fcn.00418bd8
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push ebx
push eax
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d1ff
push dword [ebp - 0x10]
call fcn.0045cbe6
pop ecx
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00418bd8
lea ecx, [ebp - 0x10]
push ecx
push esi
push ebx
push ebx
push eax
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
je 0x41d1e5
cmp word [esi + eax*2 - 2], bx
jne 0x41d1e5
dec eax
mov dword [ebp - 0x10], eax
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00418264
xor eax, eax
push esi
lea ebx, [eax + 1]
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
pop ecx
test bl, bl
jne 0x41d20c
push 0xffffffffffffffff
push dword [ebp + 0x10]
lea ecx, [ebp - 0x40]
call fcn.004180e8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00413841
xor ebx, ebx
lea ecx, [ebp - 0x48]
inc ebx
mov dword [ebp - 0x14], ebx
call fcn.0041394e
lea ecx, [ebp - 0x50]
call fcn.0041394e
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0041a81e
lea ecx, [ebp - 0x30]
call fcn.0041394e
lea ecx, [ebp - 0x38]
call fcn.0041394e
mov eax, dword [ebp + 8]
call fcn.0045cd6e
ret 0xc