Function at 0x429ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d2430
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x298], ebx
mov eax, dword [esp + 0x2a4]
mov ebp, dword [esp + 0x2a0]
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ebx
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
mov ecx, 1
mov dword [esp + 0x298], ecx
xor edx, edx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], dx
mov dword [esp + 0x44], ecx
push 0xa5
lea ecx, [esp + 0x44]
call fcn.004407c0
mov byte [esp + 0x298], 2
mov ecx, dword [eax]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x429f80
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x70]
call fcn.0042e490
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x40]
call fcn.00404f30
cmp dword [edi + 0x18], 8
jb 0x429fb6
mov edx, dword [edi + 4]
jmp 0x429fb9
lea edx, [edi + 4]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429fc0
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x70]
call fcn.0042e490
push 1
push 0x4e78b4
lea eax, [esp + 0x70]
call fcn.0042e490
mov eax, dword [esp + 0x14]
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.0042e380
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], ebx
jae 0x42a01a
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a14f
mov edx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
push edx
push eax
lea esi, [esp + 0x1c]
call fcn.0042f7f0
mov byte [esp + 0x298], 3
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a2f2
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42a08f
cmp eax, 2
jne 0x42a2f2
mov eax, dword [esp + 0x20]
shr eax, 1
push eax
lea eax, [esp + 0x88]
xor edx, edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
call fcn.00408fa0
mov byte [esp + 0x298], 4
mov ecx, dword [esp + 0x28]
mov edi, 8
cmp dword [esp + 0x3c], edi
jae 0x42a0d5
lea ecx, [esp + 0x28]
lea esi, [esp + 0x48]
call fcn.00427be0
mov byte [esp + 0x298], 5
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
call fcn.00407a40
mov byte [esp + 0x298], 4
cmp dword [esp + 0x60], edi
jb 0x42a10c
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004a9c11
add esp, 4
mov esi, 7
xor edx, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov byte [esp + 0x298], 3
cmp dword [esp + 0x3c], edi
jb 0x42a13b
mov eax, dword [esp + 0x28]
push eax
call fcn.004a9c11
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
jmp 0x42a2f2
push 0xa5
lea ecx, [esp + 0x18]
call fcn.004407c0
mov byte [esp + 0x298], 6
mov ecx, dword [eax]
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x42a170
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00408fa0
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x14]
call fcn.00404f30
push ebx
push edi
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.0042e380
push 0xa6
lea ecx, [esp + 0x18]
call fcn.004407c0
mov byte [esp + 0x298], 7
mov ecx, dword [eax]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x42a1c6
sub eax, esi
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x70]
call fcn.0042e490
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x14]
call fcn.00404f30
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x42a203
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a311
mov edx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
push edx
push eax
lea esi, [esp + 0x1c]
call fcn.0042f7f0
mov byte [esp + 0x298], 8
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a2f2
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42a274
cmp eax, 2
jne 0x42a2f2
mov eax, dword [esp + 0x20]
shr eax, 1
push eax
lea eax, [esp + 0x88]
xor edx, edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
call fcn.00408fa0
mov byte [esp + 0x298], 9
cmp dword [esp + 0x3c], 8
mov ecx, dword [esp + 0x28]
jae 0x42a2b6
lea ecx, [esp + 0x28]
lea esi, [esp + 0x48]
call fcn.00427be0
mov byte [esp + 0x298], 0xa
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
call fcn.00407a40
mov byte [esp + 0x298], 9
mov ecx, esi
call fcn.00405aa0
mov byte [esp + 0x298], 8
lea ecx, [esp + 0x24]
call fcn.00405aa0
mov byte [esp + 0x298], 1
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [esp + 0x298], bl
cmp dword [esp + 0x80], 8
jb 0x42a32f
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004a9c11
add esp, 4
xor edx, edx
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], dx
mov eax, ebp
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004a9c1c
add esp, 0x288
ret