Function at 0x42bcc0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45a32c
push eax
mov eax, 0x2190
mov dword fs:[0], esp
call fcn.00457870
push ebx
push ebp
mov ebp, dword [esp + 0x21a8]
push esi
push edi
mov edi, dword [esp + 0x21b4]
xor ebx, ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
cmp dword [eax - 8], ebx
je 0x42c52d
mov esi, dword [esp + 0x21b8]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x42c52d
mov ecx, dword [esp + 0x21bc]
mov edx, dword [ecx]
cmp dword [edx - 8], ebx
je 0x42c52d
mov cl, byte [esp + 0x4f]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push 0x5c
push eax
mov dword [esp + 0x21b0], ebx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
cmp eax, ebx
je 0x42bd62
sub eax, dword [esi]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bd6a
mov esi, dword [ebp + 0xc]
jmp 0x42c068
mov edx, dword [esp + 0x21c0]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x468dac
call fcn.0042a190
push ecx
mov ecx, dword [esp + 0x21c4]
mov eax, esp
mov dword [esp + 0x40], esp
push esi
push eax
mov byte [esp + 0x21bc], 1
call fcn.00419850
mov ecx, edi
mov byte [esp + 0x21b4], 0
call fcn.00405940
push eax
lea ecx, [esp + 0x4c]
call fcn.00429a00
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x21a8], 2
cmp ecx, ebx
jne 0x42be10
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x44]
call fcn.00401c80
lea ecx, [esp + 0x40]
call fcn.00401c80
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x21b0], 0xffffffff
call fcn.0042fb10
mov eax, dword [esp + 0x28]
push eax
call fcn.0044bf22
add esp, 4
mov eax, esi
jmp 0x42c52f
mov edx, dword [esp + 0x44]
mov esi, 1
mov dword [ebp + 0xc], esi
mov dword [esp + 0x1c], ebx
mov eax, dword [edx - 8]
cmp eax, ebx
jne 0x42bef1
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
or edx, 8
push eax
mov eax, dword [esp + 0x44]
push edx
push ebx
mov edi, 0x1000
push eax
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c03d
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ebx
lea edx, [esp + 0x1b0]
push ecx
push edx
push ebx
push eax
xor esi, esi
call ebp
test eax, eax
jne 0x42bee1
mov bl, 3
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004171e0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x21b0], bl
call fcn.0042f980
lea ecx, [esp + 0x18]
mov byte [esp + 0x21a8], 2
call fcn.00401c80
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x1b0]
inc esi
push ecx
push edx
push esi
push eax
mov dword [esp + 0x30], edi
call ebp
test eax, eax
je 0x42be7d
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42c036
mov edx, dword [esp + 0x40]
cmp dword [edx - 8], ebx
je 0x42bf38
lea eax, [esp + 0x40]
push 0x463650
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0042c6f0
mov dword [esp + 0x10], esi
lea edx, [esp + 0x44]
mov byte [esp + 0x21a8], 4
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042c550
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], 3
jmp 0x42bf3c
lea eax, [esp + 0x44]
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x4c]
or edx, esi
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov al, byte [esp + 0x10]
sete bl
test al, 2
je 0x42bf73
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
and al, 0xfd
mov dword [esp + 0x10], eax
call fcn.00401c80
mov al, byte [esp + 0x10]
mov dword [esp + 0x21a8], 2
test al, 1
je 0x42bf8f
lea ecx, [esp + 0x20]
call fcn.00401c80
test bl, bl
je 0x42c034
mov edx, dword [esp + 0x1c]
xor esi, esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x1b0]
push eax
push ecx
mov edi, 0x1000
push esi
push edx
mov dword [esp + 0x30], edi
call ebp
test eax, eax
jne 0x42c029
mov bl, 5
lea eax, [esp + 0x1a0]
lea ecx, [esp + 0x18]
push eax
call fcn.004171e0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x21b0], bl
call fcn.0042f980
lea ecx, [esp + 0x18]
mov byte [esp + 0x21a8], 2
call fcn.00401c80
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
lea ecx, [esp + 0x1b0]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], edi
call ebp
test eax, eax
je 0x42bfc7
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov ebp, dword [esp + 0x21b0]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x42c053
mov ecx, dword [esp + 0x2c]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x42c09a
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x44]
call fcn.00401c80
lea ecx, [esp + 0x40]
call fcn.00401c80
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x21b0], 0xffffffff
call fcn.0042fb10
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044bf22
add esp, 4
mov eax, esi
jmp 0x42c52f
mov edx, dword [esp + 0x21b8]
mov eax, dword [edx]
cmp dword [eax - 0xc], ebx
jl 0x42c0b8
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42c0cc
mov ecx, dword [0x4631a0]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.00405430
mov edx, 0x46711c
mov byte [esp + 0x21a8], 6
test edx, edx
je 0x42c2b9
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call esi
mov ebp, eax
cmp ebp, ebx
je 0x42c2b9
mov eax, 0x467114
test eax, eax
jne 0x42c103
mov dword [esp + 0x10], ebx
jmp 0x42c10e
push 0x467114
call esi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x18], eax
jae 0x42c2b9
mov ebx, dword [sym.imp.MSVCRT.dll_wcsstr]
push 0x46711c
push esi
call ebx
add esp, 8
test eax, eax
je 0x42c14e
lea esi, [eax + ebp*2]
push 0x46711c
push esi
inc edi
call ebx
add esp, 8
test eax, eax
jne 0x42c13b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x42c126
test edi, edi
jle 0x42c2b9
lea ecx, [esp + 0x14]
call fcn.00408830
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub ebx, ebp
imul ebx, edi
mov ecx, dword [eax - 8]
mov dword [esp + 0x1c], ecx
add ebx, ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x38], ebx
cmp ecx, ebx
jl 0x42c199
cmp dword [eax - 0xc], 1
jle 0x42c1d3
push ebx
lea ecx, [esp + 0x18]
lea esi, [eax - 0xc]
mov edi, eax
call fcn.00404720
test eax, eax
je 0x42c2b9
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
shl edx, 1
push edx
lea eax, [ebx + ebx + 2]
push edi
push eax
push ecx
call fcn.00401bc0
add esp, 0x10
push esi
call fcn.00405ba0
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 8]
mov edi, eax
lea ecx, [eax + edx*2]
cmp eax, ecx
mov dword [esp + 0x18], ecx
jae 0x42c2b6
push 0x46711c
push edi
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x42c29b
mov eax, dword [esp + 0x10]
mov ecx, eax
neg ecx
shl ecx, 0x1f
sub ecx, eax
inc ecx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov edi, dword [edx - 4]
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
sub edi, eax
sub ecx, ebp
lea eax, [edx + edx]
mov edx, dword [esp + 0x20]
add eax, esi
lea ebx, [ecx + ecx]
add edx, edi
lea ecx, [esi + ebp*2]
push ebx
shl edx, 1
push ecx
push edx
push eax
mov dword [esp + 0x44], eax
call fcn.00409c60
mov eax, dword [esp + 0x20]
lea ecx, [edi + edi + 2]
add eax, eax
push eax
push 0x467114
push ecx
push esi
call fcn.00401bc0
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
sub edx, ebp
push 0x46711c
mov word [ebx + edi], 0
mov ebx, dword [esp + 0x40]
add ebx, edx
push edi
mov dword [esp + 0x44], ebx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x42c212
mov ebx, dword [esp + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x42c1e7
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebx
push 0x46710c
push 0x467104
lea ecx, [esp + 0x1c]
call fcn.00423730
push 0x4670fc
push 0x463650
lea ecx, [esp + 0x1c]
call fcn.00423730
mov eax, dword [esp + 0x14]
push 8
push eax
lea ecx, [esp + 0x7c]
call fcn.00432860
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp ebp, eax
mov byte [esp + 0x21a8], 7
je 0x42c419
mov bl, 0xb
lea ecx, [esp + 0x40]
push 0x463650
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.0042c6f0
push ebp
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x21b0], 8
push eax
call fcn.0042c550
lea ecx, [esp + 0x38]
mov byte [esp + 0x21a8], 0xa
call fcn.00401c80
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.004329f0
push 0
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x21b0], bl
call fcn.00433700
test eax, eax
je 0x42c3e8
mov edx, dword [esp + 0x21c0]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x21c0]
lea ecx, [esp + 0x20]
push 0
push ecx
push edx
push ecx
mov dword [esp + 0x48], 0
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0040c550
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x21c4], 0xc
call fcn.0040c550
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x7c]
push eax
mov byte [esp + 0x21c4], bl
call fcn.00421240
push eax
call fcn.00429560
add esp, 0x10
lea ecx, [esp + 0x64]
mov esi, eax
call fcn.00429720
test esi, esi
jne 0x42c461
lea ecx, [esp + 0x50]
mov byte [esp + 0x21a8], 0xa
call fcn.00432600
lea ecx, [esp + 0x10]
mov byte [esp + 0x21a8], 7
call fcn.00401c80
mov eax, dword [esp + 0x2c]
add ebp, 4
cmp ebp, eax
jne 0x42c309
mov eax, dword [esp + 0x21b0]
lea ecx, [esp + 0x74]
mov byte [esp + 0x21a8], 6
mov esi, dword [eax + 0xc]
call fcn.00432730
lea ecx, [esp + 0x14]
call fcn.00401c80
lea ecx, [esp + 0x3c]
call fcn.00429720
lea ecx, [esp + 0x24]
mov dword [esp + 0x21a8], 0xffffffff
call fcn.0040e640
mov eax, esi
jmp 0x42c52f
push 0x8c
lea ecx, [esp + 0x1c]
call fcn.004171e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x21b8]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x21b8]
push ecx
mov byte [esp + 0x21b0], 0xd
mov ecx, dword [edx]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
call fcn.00421b40
add esp, 0x14
mov ecx, dword [esp + 0x21c4]
push eax
mov byte [esp + 0x21ac], 0xe
call fcn.00409d60
lea ecx, [esp + 0x20]
call fcn.00401c80
lea ecx, [esp + 0x18]
call fcn.00401c80
mov eax, dword [esp + 0x21b0]
lea ecx, [esp + 0x50]
mov byte [esp + 0x21a8], 0xa
mov esi, dword [eax + 0xc]
mov dword [eax + 8], 1
call fcn.00432600
lea ecx, [esp + 0x10]
call fcn.00401c80
lea ecx, [esp + 0x74]
mov byte [esp + 0x21a8], 6
call fcn.00432730
lea ecx, [esp + 0x14]
call fcn.00401c80
lea ecx, [esp + 0x3c]
call fcn.00429720
lea ecx, [esp + 0x24]
mov dword [esp + 0x21a8], 0xffffffff
call fcn.0040e640
mov eax, esi
jmp 0x42c52f
xor eax, eax
mov ecx, dword [esp + 0x21a0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x219c
ret 0x18