Function at 0x424b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x626978
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x30], ecx
xor eax, eax
push eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
push 0x676964
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
call fcn.00403c30
mov dword [esp + 0xb0], 0
xor eax, eax
push eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
push 0x676964
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.00403c30
mov byte [esp + 0xb0], 1
mov edx, esi
lea ecx, [esp + 0x58]
call fcn.004248b0
test al, al
mov eax, dword [case.0x79a990.0]
jne 0x424c78
test al, 1
jne 0x424c4d
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0xb0], 2
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0xb0], 1
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
mov eax, dword [0x6d66e8]
push 0x67ad80
push 0x6d66e8
call dword [eax + 0x14]
add esp, 0xc
xor bl, bl
jmp 0x425247
test al, 1
jne 0x424cac
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0xb0], 3
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0xb0], 1
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
mov eax, dword [0x6d66e8]
push 0x67ae98
push 0x6d66e8
call dword [eax + 0x14]
add esp, 0xc
lea ecx, [esp + 0x88]
push 0x67adf8
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x40], 0
call fcn.004035b0
mov byte [esp + 0xb0], 4
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004128d0
add esp, 0xc
mov byte [esp + 0xb0], 5
cmp dword [esp + 0x84], 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x34]
push ecx
push 1
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push 0
push eax
push 0x80000003
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x424e6e
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [esp + 0x84], 8
lea edx, [esp + 0x70]
cmovae edx, dword [esp + 0x70]
push edx
push 0x67aed8
push eax
call dword [ecx + 0x14]
add esp, 0xc
lea ecx, [esp + 0x58]
push 8
push 0x67aec4
mov dword [esp + 0x3c], 0
mov byte [esp + 0x1f], 1
call fcn.004039e0
push 0x67af7c
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00404680
add esp, 0xc
mov esi, eax
mov byte [esp + 0xb0], 6
lea eax, [esp + 0x40]
cmp eax, esi
je 0x424e0c
cmp dword [esp + 0x54], 8
jb 0x424deb
push dword [esp + 0x40]
call fcn.004c56c2
add esp, 4
xor eax, eax
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
call fcn.00403760
mov byte [esp + 0xb0], 5
cmp dword [esp + 0x2c], 8
jb 0x424e27
push dword [esp + 0x18]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [esp + 0x54], 8
lea edx, [esp + 0x40]
cmovae edx, dword [esp + 0x40]
push edx
push 0x67af20
push eax
call dword [ecx + 0x14]
add esp, 0xc
jmp 0x42501a
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push 0x67afc8
push dword [esp + 0x48]
call ebx
test eax, eax
je 0x424f4e
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x67af8c
push eax
call dword [ecx + 0x14]
add esp, 8
push dword [esp + 0x34]
call esi
push 8
push 0x67aec4
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f], 1
call fcn.004039e0
push 0x67af7c
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00404680
add esp, 0xc
mov byte [esp + 0xb0], 7
push eax
lea ecx, [esp + 0x44]
call fcn.00403640
mov byte [esp + 0xb0], 5
cmp dword [esp + 0x2c], 8
jb 0x424f07
push dword [esp + 0x18]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [esp + 0x54], 8
lea edx, [esp + 0x40]
cmovae edx, dword [esp + 0x40]
push edx
push 0x67af20
push eax
call dword [ecx + 0x14]
add esp, 0xc
jmp 0x425020
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c56b9
add esp, 4
mov esi, eax
lea eax, [esp + 0x3c]
push eax
push esi
push 0
push 0
push 0x67afc8
push dword [esp + 0x48]
call ebx
test eax, eax
je 0x424fbc
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x67b020
push eax
call dword [ecx + 0x14]
add esp, 8
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004c56c2
add esp, 4
xor bl, bl
jmp 0x4251cb
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push esi
push 0x67afd8
push eax
call dword [ecx + 0x14]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
push dword [esp + 0x34]
call eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004035b0
mov byte [esp + 0xb0], 8
push eax
lea ecx, [esp + 0x44]
call fcn.00403640
mov byte [esp + 0xb0], 5
lea ecx, [esp + 0x18]
call fcn.00403680
push esi
call fcn.004c56c2
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x13
push 0x67b0a8
lea ecx, [esp + 0x48]
call fcn.004039e0
cmp byte [esp + 0x17], 0
lea ecx, [esp + 0x38]
push ecx
push 0x20019
lea eax, [esp + 0x48]
push 0
jne 0x425059
cmp dword [esp + 0x60], 8
cmovae eax, dword [esp + 0x4c]
push eax
push 0x80000000
jmp 0x425069
cmp dword [esp + 0x60], 8
cmovae eax, dword [esp + 0x4c]
push eax
push 0x80000003
call edi
mov edi, eax
test edi, edi
je 0x4250ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00401520
mov edx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [esp + 0x54], 8
lea ecx, [esp + 0x40]
cmovae ecx, dword [esp + 0x40]
push ecx
push esi
push edi
push 0x67b060
push eax
call dword [edx + 0x14]
add esp, 0x14
xor bl, bl
jmp 0x4251cb
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push 0
push dword [esp + 0x4c]
call ebx
test eax, eax
je 0x4250fc
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [esp + 0x54], 8
lea edx, [esp + 0x40]
cmovae edx, dword [esp + 0x40]
push edx
push 0x67b0ec
push eax
call dword [ecx + 0x14]
add esp, 0xc
push dword [esp + 0x38]
call esi
xor bl, bl
jmp 0x4251cb
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c56b9
add esp, 4
mov edi, eax
lea eax, [esp + 0x3c]
push eax
push edi
push 0
push 0
push 0
push dword [esp + 0x4c]
call ebx
push dword [esp + 0x38]
mov esi, eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push edi
push 0x67b0d0
push eax
call dword [ecx + 0x14]
add esp, 0xc
test esi, esi
je 0x425193
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [esp + 0x54], 8
lea edx, [esp + 0x40]
cmovae edx, dword [esp + 0x40]
push edx
push 0x67a3b8
push eax
call dword [ecx + 0x14]
add esp, 0xc
push edi
call fcn.004c56c2
add esp, 4
xor bl, bl
jmp 0x4251cb
push edi
lea ecx, [esp + 0x1c]
call fcn.004035b0
mov byte [esp + 0xb0], 9
mov ecx, dword [esp + 0x30]
push eax
call fcn.00403640
mov byte [esp + 0xb0], 5
lea ecx, [esp + 0x18]
call fcn.00403680
push edi
call fcn.004c56c2
add esp, 4
mov bl, 1
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x84], 8
jb 0x4251e9
push dword [esp + 0x70]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
mov byte [esp + 0xb0], 1
cmp dword [esp + 0x9c], 8
jb 0x425227
push dword [esp + 0x88]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x54], 8
jb 0x425262
push dword [esp + 0x40]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x425297
push dword [esp + 0x58]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x58], ax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov al, bl
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret