Function at 0x23a12c40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x23bcee9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword [0x23c7a190]
mov eax, dword [eax + 0x48]
lea ecx, [esp + 4]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1a0], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x23a12cd4
mov eax, dword [esp + 4]
mov dword [esp + 0x18c], 0xffffffff
cmp eax, ebx
je 0x23a12cb9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x23a12cb9
push eax
push str.RegCloseKey___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
add esp, 0x18c
ret
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
push str.AKValue
push edx
mov dword [esp + 0x3c], 0x2d
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x23a12c8c
push ebp
lea eax, [esp + 0x74]
push 0x1d
push eax
call fcn.23a01e30
add esp, 8
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea ecx, [esp + 0x94]
mov byte [esp + 0x190], 1
call fcn.23a05000
mov eax, dword [esp + 0x20]
or ebp, 0xffffffff
mov byte [esp + 0x190], 2
cmp eax, 0x1d
jb 0x23a12d56
push ebp
push 0x1d
lea ecx, [esp + 0x14]
call fcn.23a02d90
jmp 0x23a12d68
mov ecx, 0x1d
sub ecx, eax
push ebx
push ecx
lea ecx, [esp + 0x14]
call fcn.23a04380
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push esi
mov dword [esp + 0x30], ebx
cmp edx, 0x10
jb 0x23a12eaa
mov esi, eax
cmp eax, ebx
je 0x23a12dab
mov ecx, eax
cmp edx, 0x10
jae 0x23a12d8f
lea ecx, [esp + 0x14]
cmp ecx, esi
ja 0x23a12dab
mov ecx, eax
cmp edx, 0x10
jae 0x23a12d9e
lea ecx, [esp + 0x14]
mov ebp, dword [esp + 0x24]
add ecx, ebp
or ebp, 0xffffffff
cmp esi, ecx
jbe 0x23a12db8
call fcn.23a49e3d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
cmp ecx, 0xfffffffc
je 0x23a12dd9
cmp edx, 0x10
jae 0x23a12dca
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x24]
add eax, edx
cmp esi, eax
jb 0x23a12dd9
call fcn.23a49e3d
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xa4]
push edx
push 0x1d
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.23a2e130
push 0xf4
lea ecx, [esp + 0xb8]
push ebx
push ecx
mov byte [esp + 0x1bc], 1
call fcn.23a49830
add esp, 0x28
lea ecx, [esp + 0x40]
call fcn.23a0d350
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
mov byte [esp + 0x194], 3
pop esi
jae 0x23a12e3b
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x40]
call fcn.23a0d390
test al, al
jne 0x23a12eb3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x190], 1
call fcn.23a0d380
cmp dword [esp + 0x24], 0x10
jb 0x23a12e6e
mov edx, dword [esp + 0x10]
push edx
call fcn.23a2ed1b
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x190], ebp
call fcn.23a0fa90
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
add esp, 0x18c
ret
lea esi, [esp + 0x14]
jmp 0x23a12d84
mov eax, dword [esp + 0x50]
cmp eax, 0x41
je 0x23a12f0e
cmp eax, 0x53
je 0x23a12f0e
cmp eax, 0x54
je 0x23a12f0e
cmp eax, 0x43
je 0x23a12f0e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x190], 1
call fcn.23a0d380
lea ecx, [esp + 0xc]
call fcn.23a03210
lea ecx, [esp + 8]
mov dword [esp + 0x190], ebp
call fcn.23a0fa90
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
add esp, 0x18c
ret
lea ecx, [esp + 0x30]
call fcn.23a0f9c0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov byte [esp + 0x190], 1
lea ecx, [esp + 0x3c]
test eax, eax
jge 0x23a12f71
call fcn.23a0d380
lea ecx, [esp + 0xc]
call fcn.23a03210
lea ecx, [esp + 8]
mov dword [esp + 0x190], ebp
call fcn.23a0fa90
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
add esp, 0x18c
ret
call fcn.23a0d380
lea ecx, [esp + 0xc]
call fcn.23a03210
lea ecx, [esp + 8]
mov dword [esp + 0x190], ebp
call fcn.23a0fa90
mov ecx, dword [esp + 0x188]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret