Function at 0x42382e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x462dbe
call fcn.0043c274
sub esp, 0xa4
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x58], ecx
lea eax, [ebp - 0x19]
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x50], 0x4675f0
mov dword [ebp - 0x30], 0x4675e8
call fcn.0040b0e9
mov esi, 0x4764a4
mov dword [ebp - 4], ebx
push esi
call fcn.0043c64f
mov edi, dword [ebp + 0x10]
pop ecx
push eax
push ebx
push esi
lea ecx, [edi + 4]
call fcn.0040b353
mov ecx, dword [ebp + 0x18]
mov esi, eax
lea eax, [ebp + 0x18]
push 0xa
push eax
mov dword [ebp + 0x10], ebx
call fcn.0042695b
call fcn.0042e968
test al, al
je 0x4238c1
mov eax, dword [ebp + 0x18]
and eax, 1
cmp al, 1
jne 0x4238b0
mov dword [ebp + 0x10], 0x200
jmp 0x4238c1
mov eax, dword [ebp + 0x18]
and eax, 2
cmp al, 2
jne 0x4238c1
mov dword [ebp + 0x10], 0x100
mov eax, dword [edi + 0xc]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [ebp + 0x18], ecx
jae 0x423e5e
push esi
lea eax, [ebp - 0xb0]
push ebx
push eax
mov ecx, edi
call fcn.0040a5c5
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040657a
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.0040604e
mov esi, 0x4788f0
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x423927
mov dword [ebp - 0x14], SysReAllocString
jmp 0x423a19
mov esi, 0x4788cc
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x423951
mov dword [ebp - 0x14], VariantInit
jmp 0x423a19
mov esi, 0x4788a4
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x42397b
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x423a19
mov esi, 0x47888c
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x4239a2
mov dword [ebp - 0x14], VariantInit
jmp 0x423a19
mov esi, 0x478860
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x4239c9
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x423a19
mov esi, 0x478838
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x4239f0
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysFreeString
jmp 0x423a19
mov esi, 0x47881c
push esi
call fcn.0043c64f
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040cc8b
cmp eax, ebx
jne 0x423e5e
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysStringLen
push dword [0x4675f8]
lea eax, [ebp - 0xb0]
mov ecx, edi
push dword [ebp + 0x18]
push eax
call fcn.0040a5c5
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040657a
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.0040604e
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x423a5e
mov eax, 0x4675fc
mov esi, dword [ebp + 0x10]
lea ecx, [ebp + 0x18]
or esi, 0x20019
push ecx
push esi
push ebx
push eax
mov dword [ebp + 0x18], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x423e13
lea ecx, [ebp - 0x10]
call fcn.00408f03
mov ecx, dword [ebp + 0x18]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x423e13
cmp dword [ebp + 8], 1
jne 0x423aa8
cmp dword [ebp + 0xc], 1
sete byte [ebp + 0xf]
jmp 0x423b1b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], 4
lea edi, [eax + 4]
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x423ac1
mov eax, 0x4675fc
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x54]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x423b71
cmp dword [ebp - 0x54], 4
jne 0x423b7a
cmp dword [ebp - 0x24], 4
jne 0x423b7a
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.0042695b
mov eax, dword [ebp + 0xc]
dec eax
je 0x423b6c
dec eax
je 0x423b60
dec eax
dec eax
je 0x423b54
sub eax, 0xc
je 0x423b46
sub eax, 0x10
je 0x423b3a
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00408f03
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040604e
mov al, byte [ebp + 0xf]
jmp 0x423e6c
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setne byte [ebp + 0xf]
jmp 0x423b1b
mov eax, dword [ebp + 8]
and eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jmp 0x423aa2
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
seta byte [ebp + 0xf]
jmp 0x423b1b
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setb byte [ebp + 0xf]
jmp 0x423b1b
mov eax, dword [ebp - 0x18]
jmp 0x423b4c
cmp eax, 2
je 0x423e13
push esi
lea eax, [ebp + 0x13]
sub esp, 0x28
mov esi, 0x47e390
mov ecx, esp
mov dword [ebp - 0x84], esp
push 1
push eax
push esi
call fcn.00401741
sub esp, 0x28
lea eax, [ebp + 0x1b]
mov edx, esp
mov dword [ebp - 0x88], esp
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], edx
call fcn.0040a42f
push eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.00401741
sub esp, 0x28
lea eax, [ebp + 0x17]
mov edi, esp
mov dword [ebp - 0x28], esp
push 1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0040a42f
push eax
mov ecx, edi
call fcn.00401741
push dword [ebp - 0x14]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
call fcn.0042f785
add esp, 0x84
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 4], 6
mov dword [ebp + 0x1c], 0x4675fc
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x423c11
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x1c]
call fcn.0043c64f
pop ecx
push eax
push ebx
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x7c]
call fcn.00402334
cmp dword [ebp + 8], 0x20
mov dword [ebp + 0x1c], eax
jne 0x423c84
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x423c3c
mov eax, 0x467588
cmp eax, ebx
mov dword [ebp - 0xb0], 0x4675f0
mov dword [ebp - 0x90], 0x4675e8
je 0x423c56
mov esi, eax
lea eax, [ebp + 0xb]
push ebx
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.0040b1f1
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0xb0]
push edi
push eax
mov byte [ebp - 4], 7
call fcn.00425e9d
jmp 0x423ca5
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x423c90
mov edi, 0x4675fc
push edi
call fcn.0043c64f
pop ecx
push eax
push edi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x7c]
push ebx
call fcn.00402dad
test byte [ebp - 0x20], 1
mov esi, eax
mov dword [ebp - 4], 6
je 0x423cbf
lea ecx, [ebp - 0xb0]
call fcn.0040604e
mov eax, dword [ebp + 0xc]
dec eax
je 0x423deb
dec eax
je 0x423dc3
dec eax
dec eax
je 0x423d98
sub eax, 4
je 0x423d6c
sub eax, 8
je 0x423d3a
sub eax, 0x10
je 0x423d0f
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423d08
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, 1
jmp 0x423e5e
cmp esi, ebx
lea ecx, [ebp - 0x80]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423d32
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423e5e
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x80]
cmp eax, dword [0x4675f8]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423d64
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423e5e
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
sete byte [ebp + 0xf]
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423d90
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423e5e
cmp esi, ebx
lea ecx, [ebp - 0x80]
setg byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423dbb
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423e5e
cmp esi, ebx
lea ecx, [ebp - 0x80]
setl byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423de6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423e5e
cmp esi, ebx
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040125c
cmp dword [ebp - 0x10], ebx
je 0x423e0e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423e5e
cmp dword [ebp + 8], 1
jne 0x423e37
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp dword [ebp - 0x10], ebx
je 0x423e32
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423e5e
cmp dword [ebp + 0xc], 2
je 0x423e46
cmp dword [ebp + 0xc], 0x20
mov byte [ebp + 0xf], bl
jne 0x423e4a
mov byte [ebp + 0xf], 1
cmp dword [ebp - 0x10], ebx
je 0x423e5b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040604e
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18