Function at 0x42359c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x462e02
call fcn.0043b5c0
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], 0x4675b0
mov dword [ebp - 0x30], 0x4675a8
call fcn.0040b2c0
mov esi, 0x4763ec
mov dword [ebp - 4], ebx
push esi
call fcn.0043ba72
mov edi, dword [ebp + 0x10]
pop ecx
push eax
push ebx
push esi
lea ecx, [edi + 4]
call fcn.0040b52a
mov ecx, dword [ebp + 0x18]
mov esi, eax
lea eax, [ebp + 0x18]
push 0xa
push eax
mov dword [ebp + 0x10], ebx
call fcn.004267de
call fcn.0042e3d1
test al, al
je 0x42362f
mov eax, dword [ebp + 0x18]
and eax, 1
cmp al, 1
jne 0x42361e
mov dword [ebp + 0x10], 0x200
jmp 0x42362f
mov eax, dword [ebp + 0x18]
and eax, 2
cmp al, 2
jne 0x42362f
mov dword [ebp + 0x10], 0x100
mov eax, dword [edi + 0xc]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [ebp + 0x18], ecx
jae 0x423bc2
push esi
lea eax, [ebp - 0xb0]
push ebx
push eax
mov ecx, edi
call fcn.0040a7f4
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040684c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00406320
mov esi, 0x478408
push esi
call fcn.0043ba72
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040ceeb
cmp eax, ebx
jne 0x423695
mov dword [ebp - 0x14], SysReAllocStringLen
jmp 0x423787
mov esi, 0x4783e4
push esi
call fcn.0043ba72
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040ceeb
cmp eax, ebx
jne 0x4236bf
mov dword [ebp - 0x14], VariantInit
jmp 0x423787
mov esi, 0x4783bc
push esi
call fcn.0043ba72
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040ceeb
cmp eax, ebx
jne 0x4236e9
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x423787
mov esi, 0x4783a4
push esi
call fcn.0043ba72
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040ceeb
cmp eax, ebx
jne 0x423710
mov dword [ebp - 0x14], VariantInit
jmp 0x423787
mov esi, 0x478378
push esi
call fcn.0043ba72
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040ceeb
cmp eax, ebx
jne 0x423737
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x423787
mov esi, 0x478350
push esi
call fcn.0043ba72
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040ceeb
cmp eax, ebx
jne 0x42375e
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysFreeString
jmp 0x423787
mov esi, 0x478334
push esi
call fcn.0043ba72
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0040ceeb
cmp eax, ebx
jne 0x423bc2
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysStringLen
push dword [0x4675b8]
lea eax, [ebp - 0xb0]
mov ecx, edi
push dword [ebp + 0x18]
push eax
call fcn.0040a7f4
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040684c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00406320
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.0040bc78
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_RegOpenKeyExA]
cmp eax, ebx
jne 0x423b7a
lea ecx, [ebp - 0x10]
call fcn.00409164
mov ecx, dword [ebp + 0x18]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x423b7d
cmp dword [ebp + 8], 1
jne 0x423812
cmp dword [ebp + 0xc], 1
sete byte [ebp + 0xf]
jmp 0x42387f
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x24], 4
call fcn.0040bc78
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x4238d5
cmp dword [ebp - 0x54], 4
jne 0x4238de
cmp dword [ebp - 0x24], 4
jne 0x4238de
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.004267de
mov eax, dword [ebp + 0xc]
dec eax
je 0x4238d0
dec eax
je 0x4238c4
dec eax
dec eax
je 0x4238b8
sub eax, 0xc
je 0x4238aa
sub eax, 0x10
je 0x42389e
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00409164
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00406320
mov al, byte [ebp + 0xf]
jmp 0x423bd0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setne byte [ebp + 0xf]
jmp 0x42387f
mov eax, dword [ebp + 8]
and eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jmp 0x42380c
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
seta byte [ebp + 0xf]
jmp 0x42387f
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setb byte [ebp + 0xf]
jmp 0x42387f
mov eax, dword [ebp - 0x18]
jmp 0x4238b0
cmp eax, 2
je 0x423b7a
push esi
lea eax, [ebp + 0x13]
sub esp, 0x28
mov esi, 0x47d8e0
mov ecx, esp
mov dword [ebp - 0x84], esp
push 1
push eax
push esi
call fcn.00405724
sub esp, 0x28
lea eax, [ebp + 0x1b]
mov edx, esp
mov dword [ebp - 0x88], esp
push 1
push eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], edx
call fcn.0040a65e
push eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.00405724
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.0040a65e
push eax
mov ecx, edi
call fcn.00405724
push dword [ebp - 0x14]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
call fcn.0042f180
add esp, 0x84
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 4], 6
mov dword [ebp + 0x1c], 0x4675bc
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x423976
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x1c]
call fcn.0043ba72
pop ecx
push eax
push ebx
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x7c]
call fcn.0040251f
cmp dword [ebp + 8], 0x20
mov dword [ebp + 0x1c], eax
jne 0x4239e9
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x4239a1
mov eax, 0x46756c
cmp eax, ebx
mov dword [ebp - 0xb0], 0x4675b0
mov dword [ebp - 0x90], 0x4675a8
je 0x4239bb
mov esi, eax
lea eax, [ebp + 0xb]
push ebx
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.0040b3c8
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.00425bd7
jmp 0x423a0a
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x4239f5
mov edi, 0x4675bc
push edi
call fcn.0043ba72
pop ecx
push eax
push edi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x7c]
push ebx
call fcn.00402ed4
test byte [ebp - 0x20], 1
mov esi, eax
mov dword [ebp - 4], 6
je 0x423a24
lea ecx, [ebp - 0xb0]
call fcn.00406320
mov eax, dword [ebp + 0xc]
dec eax
je 0x423b52
dec eax
je 0x423b29
dec eax
dec eax
je 0x423afd
sub eax, 4
je 0x423ad1
sub eax, 8
je 0x423a9f
sub eax, 0x10
je 0x423a74
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0040127e
cmp dword [ebp - 0x10], ebx
je 0x423a6d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, 1
jmp 0x423bc2
cmp esi, ebx
lea ecx, [ebp - 0x80]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040127e
cmp dword [ebp - 0x10], ebx
je 0x423a97
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423bc2
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x80]
cmp eax, dword [0x4675b8]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.0040127e
cmp dword [ebp - 0x10], ebx
je 0x423ac9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423bc2
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
sete byte [ebp + 0xf]
call fcn.0040127e
cmp dword [ebp - 0x10], ebx
je 0x423af5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423bc2
cmp esi, 1
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040127e
cmp dword [ebp - 0x10], ebx
je 0x423b21
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423bc2
cmp esi, 0xffffffff
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040127e
cmp dword [ebp - 0x10], ebx
je 0x423b4d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423bc2
cmp esi, ebx
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0040127e
cmp dword [ebp - 0x10], ebx
je 0x423b75
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423bc2
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + 8], 1
jne 0x423b9e
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp ecx, ebx
je 0x423b99
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x423bc2
cmp dword [ebp + 0xc], 2
je 0x423bad
cmp dword [ebp + 0xc], 0x20
mov byte [ebp + 0xf], bl
jne 0x423bb1
mov byte [ebp + 0xf], 1
cmp ecx, ebx
je 0x423bbf
push ecx
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.00406320
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18