Function at 0x23af60b0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x23bd86d6
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.23a4adf0
mov eax, dword [0x23c68938]
xor eax, esp
mov dword [esp + 0x2018], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x2030]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2040]
mov eax, dword [esp + 0x2044]
mov ebp, dword [esp + 0x2048]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov edx, dword [0x23c7ddcc]
mov edi, ecx
mov ecx, dword [esp + 0x204c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
cmp dword [edx - 0xc], ebx
jne 0x23af6294
mov edx, dword [edi]
push 0x20019
push eax
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2038], 0
test ebx, ebx
jne 0x23af6158
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x23af62b9
call fcn.23a36735
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x23af6172
push 0x80004005
call fcn.23a0ef50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
push 0
push ebp
push ebx
mov byte [esp + 0x2050], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 0x10], eax
test eax, eax
je 0x23af61e9
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.23a13680
add esi, 0xfffffff0
mov byte [esp + 0x2038], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23af61db
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x23af62c2
mov eax, dword [esp + 0x20]
mov edx, dword [esi - 8]
shr eax, 1
mov ecx, 1
sub ecx, dword [esi - 4]
sub edx, eax
or ecx, edx
jge 0x23af620e
push eax
lea ecx, [esp + 0x1c]
call fcn.23a10520
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 0x10], eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.23a4a8f0
add esp, 8
test eax, eax
jl 0x23af628a
cmp eax, dword [esi - 8]
jg 0x23af628a
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov esi, dword [esp + 0x1c]
cmp dword [edi + 0x10], edx
je 0x23af626c
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.23a13680
lea ecx, [esp + 0x18]
call fcn.23a0f0f0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x23af62c0
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.23a10ab0
lea ecx, [esp + 0x18]
call fcn.23a0f0f0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x23af62c0
push 0x80070057
call fcn.23a0ef50
mov dword [esp + 0x1c], ebx
cmp ecx, ebx
jne 0x23af62a0
lea ecx, [esp + 0x1c]
push edx
push 0x1000
lea edx, [esp + 0x34]
push edx
push ecx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.23a13680
mov eax, esi
mov ecx, dword [esp + 0x2030]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2018]
xor ecx, esp
call fcn.23a4addf
add esp, 0x2028
ret 0x10