Function at 0x23a22cc0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x23bcff18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x14], ebp
xor eax, eax
mov dword [esp + 0x4b4], ebp
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], ax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov ecx, dword [0x23c7a190]
mov eax, dword [ecx + 0x48]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x4c8], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x23a22f08
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x60]
push edx
push ebp
push str.AEDK
push eax
mov dword [esp + 0x28], 0x30
call esi
mov edi, eax
cmp edi, ebp
jne 0x23a22db3
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.23a053f0
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x9c]
push ecx
push ebp
push str.AKValue
push edx
mov dword [esp + 0x28], 0x2d
call esi
test eax, eax
jne 0x23a22f04
lea eax, [esp + 0xa8]
push 0x1d
push eax
call fcn.23a01e30
add esp, 8
lea ecx, [esp + 0xf8]
call fcn.23a05000
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebp
mov byte [esp + 0x7c], 0
push ebp
push 0x1d
lea ecx, [esp + 0x80]
mov byte [esp + 0x4bc], 5
call fcn.23a04380
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], ebp
cmp edx, 0x10
jb 0x23a22fbb
mov esi, eax
cmp eax, ebp
je 0x23a22e76
mov ecx, eax
cmp edx, 0x10
jae 0x23a22e5a
lea ecx, [esp + 0x7c]
cmp ecx, esi
ja 0x23a22e76
mov ecx, eax
cmp edx, 0x10
jae 0x23a22e69
lea ecx, [esp + 0x7c]
mov ebx, dword [esp + 0x8c]
add ecx, ebx
cmp esi, ecx
jbe 0x23a22e86
call fcn.23a49e3d
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x78]
cmp ecx, 0xfffffffc
je 0x23a22eaa
cmp edx, 0x10
jae 0x23a22e98
lea eax, [esp + 0x7c]
mov edx, dword [esp + 0x8c]
add eax, edx
cmp esi, eax
jb 0x23a22eaa
call fcn.23a49e3d
push ebp
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x104]
push edx
push 0x1d
lea eax, [esp + 0xbc]
push esi
push eax
call fcn.23a2e130
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.23a03ac0
add esp, 0x24
cmp dword [esp + 0x90], 0x10
jb 0x23a22efc
mov eax, dword [esp + 0x7c]
push eax
call fcn.23a2ed1b
add esp, 4
mov byte [esp + 0x4b4], 3
cmp edi, ebp
je 0x23a22f16
push 0x23be38d8
lea ecx, [esp + 0x1c]
call fcn.23a05090
mov edi, dword [esp + 0x4bc]
mov bl, 6
nop
call fcn.23a36735
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x23a23031
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push edi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x4bc], bl
call fcn.23a21df0
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x4b4], 7
call fcn.23a3a408
cmp eax, 1
jne 0x23a2303b
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x70], ebp
je 0x23a22fd1
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x23a22f93
lea eax, [esp + 0x60]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x23a22fc4
cmp dx, bp
je 0x23a22fb7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x23a22fc4
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x23a22f95
xor eax, eax
jmp 0x23a22fc9
lea esi, [esp + 0x7c]
jmp 0x23a22e4f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x23a23113
push esi
lea ecx, [esp + 0x3c]
call fcn.23a05090
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x4b4], bl
call fcn.23a21c10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x23a23016
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call fcn.23a22050
test al, al
jne 0x23a22f20
jmp 0x23a2314e
push 0x80004005
call fcn.23a0ef50
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x4b4], bl
call fcn.23a21c10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x23a23076
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp dword [esp + 0x74], 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jb 0x23a230cc
mov ecx, dword [esp + 0x60]
push ecx
call fcn.23a2ed1b
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], dx
mov dword [esp + 0x4b4], 0xffffffff
cmp eax, ebp
je 0x23a2310c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebp
je 0x23a2310c
push eax
push str.RegCloseKey___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
xor al, al
jmp 0x23a231e6
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x4b4], bl
call fcn.23a21c10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x4b4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23a2314e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp dword [esp + 0x74], 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jb 0x23a231a4
mov ecx, dword [esp + 0x60]
push ecx
call fcn.23a2ed1b
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], dx
mov dword [esp + 0x4b4], 0xffffffff
cmp eax, ebp
je 0x23a231e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebp
je 0x23a231e4
push eax
push str.RegCloseKey___failed_with_0x_08X_error
call dword [0x23c41f24]
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x4ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4a8
ret 4