Function at 0x100253ce
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 8], 0
and dword [ebp - 0x10], 0
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], ebx
mov edx, dword [ebx + 4]
inc edi
mov eax, dword [edx]
mov esi, dword [eax]
lea eax, [ebp - 8]
push eax
push 0x100052e0
push edx
mov ecx, esi
call dword [0x10030308]
call esi
test eax, eax
js 0x100254fd
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
push ecx
push 2
push dword [ebx + 4]
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x10]
call dword [0x10030308]
call dword [esi + 0x10]
mov eax, dword [ebp - 8]
xor ebx, ebx
cmp dword [ebp - 0x10], edi
push eax
sete bl
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10030308]
call esi
test ebx, ebx
mov ebx, dword [ebp - 0x14]
je 0x100254fd
push ecx
push ecx
push 4
sub esp, 0xc
mov dword [ebp - 4], 4
mov ecx, ebx
push 0xa
call fcn.100253a6
fld dword [0x10009374]
fld dword [0x1000936c]
test eax, eax
js 0x1002549f
push dword [ebp + 8]
mov ecx, dword [ebx + 4]
fxch st(1)
push 0
push ecx
push ecx
mov eax, dword [ecx]
fstp dword [esp + 4]
fstp dword [esp]
mov esi, dword [eax + 0x1c]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, eax
test ecx, ecx
jns 0x100254f5
jmp 0x100254a3
fstp st(1)
fstp st(0)
push 0xa
pop edi
push ecx
push ecx
push 3
sub esp, 0xc
mov dword [ebp - 4], 3
mov ecx, ebx
push edi
call fcn.100253a6
mov ecx, eax
test ecx, ecx
js 0x100256dc
push dword [ebp + 8]
mov ecx, dword [ebx + 4]
fld dword [0x10009374]
push 0
push ecx
mov eax, dword [ecx]
push ecx
fstp dword [esp + 4]
fld dword [0x1000936c]
mov esi, dword [eax + 0x1c]
fstp dword [esp]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, eax
push 0xa
pop edi
jmp 0x100256dc
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x100068d8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x1002553b
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x100256eb
movzx eax, ax
or eax, 0x80070000
jmp 0x100256eb
push 4
pop esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10006908
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1002557b
cmp dword [ebp - 0x20], edi
jne 0x1002557b
cmp dword [ebp - 0x18], eax
je 0x1002557b
cmp word [ebp - 0x1c], 0x6e
je 0x10025579
cmp word [ebp - 0x1c], 0x4e
jne 0x1002557b
xor edi, edi
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [ebp - 4], esi
test edi, edi
je 0x100255ec
push ecx
push ecx
push esi
sub esp, 0xc
mov ecx, ebx
push 9
pop edi
push edi
call fcn.100253a6
fld dword [0x10009374]
fld dword [0x1000936c]
test eax, eax
js 0x100255db
push dword [ebp + 8]
mov ecx, dword [ebx + 4]
fxch st(1)
push 0
push ecx
push ecx
mov eax, dword [ecx]
fstp dword [esp + 4]
fstp dword [esp]
mov esi, dword [eax + 0x1c]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, eax
test ecx, ecx
jns 0x100256dc
jmp 0x100255df
fstp st(1)
fstp st(0)
push ecx
push ecx
push 3
sub esp, 0xc
push edi
jmp 0x10025699
push 0x10
pop edi
push ecx
push ecx
push esi
sub esp, 0xc
mov ecx, ebx
push edi
call fcn.100253a6
fld dword [0x10009374]
fld dword [0x1000936c]
test eax, eax
js 0x1002563f
push dword [ebp + 8]
mov ecx, dword [ebx + 4]
fxch st(1)
push 0
push ecx
push ecx
mov eax, dword [ecx]
fstp dword [esp + 4]
fstp dword [esp]
mov esi, dword [eax + 0x1c]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, eax
test ecx, ecx
jns 0x100256dc
push 4
pop esi
jmp 0x10025643
fstp st(1)
fstp st(0)
push 0xa
pop edi
push ecx
push ecx
push esi
sub esp, 0xc
mov dword [ebp - 4], esi
mov ecx, ebx
push edi
call fcn.100253a6
test eax, eax
js 0x1002568e
push dword [ebp + 8]
mov ecx, dword [ebx + 4]
fld dword [0x10009374]
push 0
push ecx
mov eax, dword [ecx]
push ecx
fstp dword [esp + 4]
fld dword [0x1000936c]
mov esi, dword [eax + 0x1c]
fstp dword [esp]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, eax
test ecx, ecx
jns 0x100256dc
push 0xa
pop edi
push ecx
push ecx
push 3
sub esp, 0xc
push edi
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.100253a6
mov ecx, eax
test ecx, ecx
js 0x100256dc
push dword [ebp + 8]
mov ecx, dword [ebx + 4]
fld dword [0x10009374]
push 0
push ecx
mov eax, dword [ecx]
push ecx
fstp dword [esp + 4]
fld dword [0x1000936c]
mov esi, dword [eax + 0x1c]
fstp dword [esp]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret 0x10