Function at 0x42aa60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d2f40
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
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.004412c0
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 0x42ab10
sub eax, edx
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x70]
call fcn.0042f030
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x40]
call fcn.00405020
cmp dword [edi + 0x18], 8
jb 0x42ab46
mov edx, dword [edi + 4]
jmp 0x42ab49
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 0x42ab50
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x70]
call fcn.0042f030
push 1
push 0x4e88b4
lea eax, [esp + 0x70]
call fcn.0042f030
mov eax, dword [esp + 0x14]
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.0042ef20
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], ebx
jae 0x42abaa
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 0x42acdf
mov edx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
push edx
push eax
lea esi, [esp + 0x1c]
call fcn.00430460
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 0x42ae82
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42ac1f
cmp eax, 2
jne 0x42ae82
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.004092d0
mov byte [esp + 0x298], 4
mov ecx, dword [esp + 0x28]
mov edi, 8
cmp dword [esp + 0x3c], edi
jae 0x42ac65
lea ecx, [esp + 0x28]
lea esi, [esp + 0x48]
call fcn.00428780
mov byte [esp + 0x298], 5
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
call fcn.00407c60
mov byte [esp + 0x298], 4
cmp dword [esp + 0x60], edi
jb 0x42ac9c
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0045a597
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 0x42accb
mov eax, dword [esp + 0x28]
push eax
call fcn.0045a597
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
jmp 0x42ae82
push 0xa5
lea ecx, [esp + 0x18]
call fcn.004412c0
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 0x42ad00
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.004092d0
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x14]
call fcn.00405020
push ebx
push edi
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.0042ef20
push 0xa6
lea ecx, [esp + 0x18]
call fcn.004412c0
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 0x42ad56
sub eax, esi
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x70]
call fcn.0042f030
mov byte [esp + 0x298], 1
lea ecx, [esp + 0x14]
call fcn.00405020
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x42ad93
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 0x42aea1
mov edx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
push edx
push eax
lea esi, [esp + 0x1c]
call fcn.00430460
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 0x42ae82
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x42ae04
cmp eax, 2
jne 0x42ae82
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.004092d0
mov byte [esp + 0x298], 9
cmp dword [esp + 0x3c], 8
mov ecx, dword [esp + 0x28]
jae 0x42ae46
lea ecx, [esp + 0x28]
lea esi, [esp + 0x48]
call fcn.00428780
mov byte [esp + 0x298], 0xa
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
call fcn.00407c60
mov byte [esp + 0x298], 9
mov ecx, esi
call fcn.00405c80
mov byte [esp + 0x298], 8
lea ecx, [esp + 0x24]
call fcn.00405c80
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 0x42aebf
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0045a597
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.004aa641
add esp, 0x288
ret