Function at 0x414d90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x638ebd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d4
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
mov esi, dword [0x6fca20]
mov dword [esp + 0x4ec], ebx
cmp esi, ebx
jne 0x414dd8
mov esi, 0x6fca24
mov eax, 0x6c900c
test eax, eax
je 0x414f0c
cmp esi, ebx
je 0x414f0c
mov ecx, str.IDMGCExt.crx
test ecx, ecx
je 0x414f0c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], bx
push ebx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x4f4], 1
call fcn.004027e0
push esi
lea ecx, [esp + 0x4c]
call fcn.00401ee0
push str.IDMGCExt.crx
lea ecx, [esp + 0x40]
mov byte [esp + 0x4f0], 2
call fcn.00401ee0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4ec], 3
call fcn.00401070
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x414eda
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x3c]
call fcn.00401f10
push eax
lea ecx, [esp + 0x4c]
call fcn.00401f10
push eax
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x2c]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4ec], 2
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x4ec], 1
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x4ec], bl
call fcn.00401070
mov edx, dword [0x6f7b78]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x4f8]
push str.ngpampappnmepgilojfohadhhmbhlaek
push eax
lea ecx, [esp + 0x34]
push 0x6c9ce8
push ecx
mov byte [esp + 0x4fc], 4
call fcn.0061fae1
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x504]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41522d
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xd4]
push ecx
push edx
push ebx
push ebx
push 0x6ca2d8
push eax
mov dword [esp + 0x2c], 0x410
call edi
test eax, eax
jne 0x4150a3
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x414fa0
lea eax, [esp + 0x24]
lea ecx, [esp + 0xd4]
push eax
push ecx
call fcn.0060c3d3
add esp, 8
test eax, eax
jne 0x4150a3
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
lea eax, [esp + 0x54]
push edx
push eax
push ebx
push ebx
push 0x6ca2d0
push ecx
mov dword [esp + 0x2c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4150a3
mov esi, dword [0x6fc91c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x415013
cmp cl, bl
je 0x41500f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x415013
add eax, 2
add esi, 2
cmp cl, bl
jne 0x414fef
xor eax, eax
jmp 0x415018
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x415026
mov dword [esp + 0x10], 1
jmp 0x4150a3
mov eax, dword [0x6f7b78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x4ec], 5
cmp eax, ebx
jne 0x415043
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00411c00
add esp, 8
test eax, eax
je 0x415092
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x415081
cmp cl, bl
je 0x41507d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x415081
add eax, 2
add esi, 2
cmp cl, bl
jne 0x41505d
xor eax, eax
jmp 0x415086
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x415092
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4ec], 4
call fcn.00622d8a
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], ebx
je 0x41522d
call fcn.0044bfc0
test eax, eax
je 0x41522d
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push 0x20119
push ebx
push edx
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41522d
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xd4]
push eax
push ecx
push ebx
push ebx
push 0x6ca2d8
push edx
mov dword [esp + 0x34], 0x410
call edi
test eax, eax
jne 0x415222
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x41511f
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0060c3d3
add esp, 8
test eax, eax
jne 0x415222
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x54]
push ecx
push edx
push ebx
push ebx
push 0x6ca2d0
push eax
mov dword [esp + 0x34], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415222
mov esi, dword [0x6fc91c]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x415192
cmp cl, bl
je 0x41518e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x415192
add eax, 2
add esi, 2
cmp cl, bl
jne 0x41516e
xor eax, eax
jmp 0x415197
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4151a5
mov dword [esp + 0x10], 1
jmp 0x415222
mov eax, dword [0x6f7b78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x4ec], 6
cmp eax, ebx
jne 0x4151c2
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00411c00
add esp, 8
test eax, eax
je 0x415211
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x415200
cmp cl, bl
je 0x4151fc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x415200
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4151dc
xor eax, eax
jmp 0x415205
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x415211
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x4ec], 4
call fcn.00622d8a
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4ec], bl
call fcn.00622d8a
lea ecx, [esp + 0x20]
mov dword [esp + 0x4ec], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x4e4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e0
ret