Function at 0x1023f00
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x102a0ec]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4a0], esi
mov dword [ebp - 0x4a8], esi
call fcn.0101dde5
lea eax, [ebp - 0x4a0]
push eax
push 0x20019
push esi
push dword [0x102a0f4]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10242a2
push 0x1007570
lea eax, [edi + 0xc]
push eax
mov dword [ebp - 0x49c], esi
mov dword [ebp - 0x498], 1
call fcn.010182f8
test eax, eax
jne 0x1024296
push 0x1004490
push edi
call fcn.010182f8
test eax, eax
jne 0x1024296
push ebx
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x498]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x1009818
push dword [ebp - 0x4a0]
mov ebx, 0x208
mov dword [ebp - 0x49c], ebx
call esi
test eax, eax
jne 0x1024295
cmp dword [ebp - 0x498], 1
jne 0x1024295
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.010182f8
test eax, eax
jne 0x1024295
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x498]
push eax
push 0
push 0x10097fc
push dword [ebp - 0x4a0]
mov dword [ebp - 0x49c], ebx
call esi
test eax, eax
jne 0x1024295
cmp dword [ebp - 0x498], 1
jne 0x1024295
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 4]
push eax
call fcn.010182f8
test eax, eax
jne 0x1024295
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x498]
push eax
push 0
push 0x10097e0
push dword [ebp - 0x4a0]
mov dword [ebp - 0x49c], ebx
call esi
test eax, eax
jne 0x1024295
cmp dword [ebp - 0x498], 1
jne 0x1024295
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.010182f8
test eax, eax
jne 0x1024295
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x498]
push eax
push 0
push 0x1009798
push dword [ebp - 0x4a0]
mov dword [ebp - 0x49c], ebx
call esi
test eax, eax
jne 0x1024295
cmp dword [ebp - 0x498], 1
jne 0x1024295
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x1024295
lea eax, [ebp - 0x20c]
push eax
add edi, 0x1c
push edi
call fcn.010182f8
test eax, eax
jne 0x1024295
push dword [edi]
call fcn.01016f8a
test eax, eax
mov ebx, 0x103
je 0x102413c
push esi
mov esi, 0x102be58
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x1024295
jmp 0x102414a
push dword [edi]
mov esi, 0x102be58
push ebx
push esi
call fcn.0100c535
push esi
push 0x1006274
push ebx
push 0x102c268
call fcn.0100d4d1
add esp, 0x10
push esi
push ebx
push 0x102c060
call fcn.0100c535
push dword [edi]
push 0x1006274
push ebx
push esi
call fcn.0100d4d1
add esp, 0x10
push dword [edi]
push ebx
push 0x102c470
call fcn.0100c535
push esi
push edi
call fcn.010182f8
test eax, eax
jne 0x1024295
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x498]
push eax
push 0
push 0x10097c8
push dword [ebp - 0x4a0]
mov dword [ebp - 0x49c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1024295
cmp dword [ebp - 0x498], 1
jne 0x1024295
lea eax, [ebp - 0x20c]
push eax
push dword [edi]
mov ebx, 0x10066e8
push ebx
mov esi, 0x143
lea eax, [ebp - 0x494]
push esi
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x494]
push eax
mov eax, dword [ebp - 0x4a4]
add eax, 0x14
push eax
call fcn.010182f8
test eax, eax
jne 0x1024295
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x498]
push eax
push 0
push 0x10097b0
push dword [ebp - 0x4a0]
mov dword [ebp - 0x49c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102428b
cmp dword [ebp - 0x498], 1
jne 0x102428b
lea eax, [ebp - 0x20c]
push eax
push dword [edi]
lea eax, [ebp - 0x494]
push ebx
push esi
push eax
call fcn.0100d4d1
add esp, 0x14
lea eax, [ebp - 0x494]
push eax
mov eax, dword [ebp - 0x4a4]
add eax, 8
push eax
call fcn.010182f8
mov dword [ebp - 0x4a8], 1
pop ebx
push dword [ebp - 0x4a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4a8]
pop edi
pop esi
call fcn.0101672d
leave
ret 4