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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45acec
push eax
mov eax, 0x2190
mov dword fs:[0], esp
call fcn.004581d0
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 0x42c9dd
mov esi, dword [esp + 0x21b8]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x42c9dd
mov ecx, dword [esp + 0x21bc]
mov edx, dword [ecx]
cmp dword [edx - 8], ebx
je 0x42c9dd
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 [0x45d2e0]
add esp, 8
cmp eax, ebx
je 0x42c212
sub eax, dword [esi]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x42c21a
mov esi, dword [ebp + 0xc]
jmp 0x42c518
mov edx, dword [esp + 0x21c0]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x469dac
call fcn.0042a1f0
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.00428560
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x21a8], 2
cmp ecx, ebx
jne 0x42c2c0
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.00430520
mov eax, dword [esp + 0x28]
push eax
call fcn.0044c87a
add esp, 4
mov eax, esi
jmp 0x42c9df
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 0x42c3a1
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 [0x45d014]
test eax, eax
jne 0x42c4ed
mov eax, dword [esp + 0x1c]
mov ebp, dword [0x45d00c]
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 0x42c391
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.00430390
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 0x42c32d
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x45d01c]
jmp 0x42c4e6
mov edx, dword [esp + 0x40]
cmp dword [edx - 8], ebx
je 0x42c3e8
lea eax, [esp + 0x40]
push 0x464650
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0042cba0
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.0042ca00
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], 3
jmp 0x42c3ec
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 [0x45d014]
test eax, eax
mov al, byte [esp + 0x10]
sete bl
test al, 2
je 0x42c423
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 0x42c43f
lea ecx, [esp + 0x20]
call fcn.00401c80
test bl, bl
je 0x42c4e4
mov edx, dword [esp + 0x1c]
xor esi, esi
mov ebp, dword [0x45d010]
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 0x42c4d9
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.00430390
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 0x42c477
mov eax, dword [esp + 0x1c]
push eax
call dword [0x45d01c]
xor ebx, ebx
mov ebp, dword [esp + 0x21b0]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x42c503
mov ecx, dword [esp + 0x2c]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x42c54a
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.00430520
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044c87a
add esp, 4
mov eax, esi
jmp 0x42c9df
mov edx, dword [esp + 0x21b8]
mov eax, dword [edx]
cmp dword [eax - 0xc], ebx
jl 0x42c568
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [0x45d1b4]
jmp 0x42c57c
mov ecx, dword [0x4641a0]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
call fcn.00405430
mov edx, 0x46812c
mov byte [esp + 0x21a8], 6
test edx, edx
je 0x42c769
mov esi, dword [0x45d1cc]
push edx
call esi
mov ebp, eax
cmp ebp, ebx
je 0x42c769
mov eax, 0x468124
test eax, eax
jne 0x42c5b3
mov dword [esp + 0x10], ebx
jmp 0x42c5be
push 0x468124
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 0x42c769
mov ebx, dword [0x45d2e8]
push 0x46812c
push esi
call ebx
add esp, 8
test eax, eax
je 0x42c5fe
lea esi, [eax + ebp*2]
push 0x46812c
push esi
inc edi
call ebx
add esp, 8
test eax, eax
jne 0x42c5eb
push esi
call dword [0x45d1cc]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x42c5d6
test edi, edi
jle 0x42c769
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 0x42c649
cmp dword [eax - 0xc], 1
jle 0x42c683
push ebx
lea ecx, [esp + 0x18]
lea esi, [eax - 0xc]
mov edi, eax
call fcn.00404720
test eax, eax
je 0x42c769
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 0x42c766
push 0x46812c
push edi
call dword [0x45d2e8]
mov esi, eax
add esp, 8
test esi, esi
je 0x42c74b
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 0x468124
push ecx
push esi
call fcn.00401bc0
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
sub edx, ebp
push 0x46812c
mov word [ebx + edi], 0
mov ebx, dword [esp + 0x40]
add ebx, edx
push edi
mov dword [esp + 0x44], ebx
call dword [0x45d2e8]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x42c6c2
mov ebx, dword [esp + 0x38]
push edi
call dword [0x45d1cc]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x42c697
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebx
push 0x46811c
push 0x468114
lea ecx, [esp + 0x1c]
call fcn.00423730
push 0x46810c
push 0x464650
lea ecx, [esp + 0x1c]
call fcn.00423730
mov eax, dword [esp + 0x14]
push 8
push eax
lea ecx, [esp + 0x7c]
call fcn.00433270
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp ebp, eax
mov byte [esp + 0x21a8], 7
je 0x42c8c9
mov bl, 0xb
lea ecx, [esp + 0x40]
push 0x464650
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.0042cba0
push ebp
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x21b0], 8
push eax
call fcn.0042ca00
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.00433400
push 0
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x21b0], bl
call fcn.00434170
test eax, eax
je 0x42c898
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.00428730
add esp, 0x10
lea ecx, [esp + 0x64]
mov esi, eax
call fcn.00428870
test esi, esi
jne 0x42c911
lea ecx, [esp + 0x50]
mov byte [esp + 0x21a8], 0xa
call fcn.00433010
lea ecx, [esp + 0x10]
mov byte [esp + 0x21a8], 7
call fcn.00401c80
mov eax, dword [esp + 0x2c]
add ebp, 4
cmp ebp, eax
jne 0x42c7b9
mov eax, dword [esp + 0x21b0]
lea ecx, [esp + 0x74]
mov byte [esp + 0x21a8], 6
mov esi, dword [eax + 0xc]
call fcn.00433140
lea ecx, [esp + 0x14]
call fcn.00401c80
lea ecx, [esp + 0x3c]
call fcn.00428870
lea ecx, [esp + 0x24]
mov dword [esp + 0x21a8], 0xffffffff
call fcn.0040e640
mov eax, esi
jmp 0x42c9df
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.00433010
lea ecx, [esp + 0x10]
call fcn.00401c80
lea ecx, [esp + 0x74]
mov byte [esp + 0x21a8], 6
call fcn.00433140
lea ecx, [esp + 0x14]
call fcn.00401c80
lea ecx, [esp + 0x3c]
call fcn.00428870
lea ecx, [esp + 0x24]
mov dword [esp + 0x21a8], 0xffffffff
call fcn.0040e640
mov eax, esi
jmp 0x42c9df
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