Function at 0x1012adf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x248
mov eax, 0x102f414
call fcn.01026060
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x228], edi
mov byte [ebp - 0x21d], bl
mov dword [ebp - 0x240], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x23c], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x254], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x244], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x234], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x248], ebx
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x250], 0x20a
mov dword [ebp - 0x24c], 1
cmp byte [eax + 0x61], bl
je 0x1012bd4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.010106e6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.010106e6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.010106e6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.010106e6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.010106e6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x23c]
call fcn.010106e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.010106e6
mov al, 1
call fcn.010260f2
ret 4
cmp dword [esi + 0x10], 9
jge 0x1012f78
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
cmp word [edi], bx
mov edi, dword [eax + esi + 4]
push ebx
push 0xc000c356
lea eax, [ebp - 0x240]
lea ecx, [esi + 8]
push eax
mov dword [ebp - 0x230], ecx
push reloc.OLEAUT32.dll_SysReAllocString
jne 0x1012d5e
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
call dword [edi + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c357
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x23c]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x1002314
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x228]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c358
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x244]
push eax
push edi
push ebx
push 0x1002328
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x228]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c359
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
push 0x1001e30
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x228]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c429
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x234]
push eax
push edi
push ebx
push 0x1002f30
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x228]
jmp 0x1012ef9
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
call dword [edi + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c357
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x23c]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x1002314
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x22c]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c358
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x244]
push eax
push edi
push ebx
push 0x1002328
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x22c]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c359
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
push 0x100229c
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x22c]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push 1
push 0xc000c35a
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x248]
push eax
push edi
push ebx
push dword [ebp - 0x228]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x22c]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c429
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x234]
push eax
push edi
push ebx
push 0x1002f30
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x228]
call dword [eax + 0x10]
test al, al
je 0x10134f6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + esi + 4]
push ebx
push 0xc000c42a
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x24c]
push eax
push ebx
push 0x1002f18
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
call dword [edi + 0x10]
test al, al
je 0x10134f6
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
neg eax
pop ecx
sbb al, al
pop ecx
inc al
jmp 0x10134fc
lea ecx, [ebp - 0x22c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [ebp - 4], 7
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1012f8d
sub eax, edx
sar eax, 1
mov dword [ebp - 0x230], 0x1001d2c
je 0x1012fad
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x224]
push 0xc000c35a
push eax
call fcn.0100ba1d
mov byte [ebp - 4], 8
push dword [ebp - 0x230]
push dword [eax]
lea eax, [ebp - 0x22c]
push 0x1002b58
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x224]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esi + 0x64]
push edi
call fcn.0100b8b3
cmp eax, ebx
jne 0x10130b9
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + esi + 4]
push 1
push 1
push ebx
push ebx
lea ecx, [ebp - 0x22c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push 0x4000c484
lea ecx, [eax + esi + 4]
call dword [edi + 4]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x22c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [ebp - 0x21d], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.010106e6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.010106e6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.010106e6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.010106e6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.010106e6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x23c]
call fcn.010106e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.010106e6
mov al, byte [ebp - 0x21d]
jmp 0x1012bcc
cmp byte [eax + 4], bl
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + esi + 4]
push ebx
push 0xc000c356
lea eax, [ebp - 0x240]
lea ecx, [esi + 8]
push eax
mov dword [ebp - 0x230], ecx
push reloc.OLEAUT32.dll_SysReAllocString
jne 0x1013287
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
call dword [edi + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c357
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x23c]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x1002314
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c358
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x244]
push eax
push edi
push ebx
push 0x1002328
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c359
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
push 0x100229c
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push 1
push 0xc000c35a
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x248]
push eax
push edi
push ebx
push dword [ebp - 0x228]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c429
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x234]
push eax
push edi
push ebx
push 0x1002f30
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
jmp 0x101346e
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
call dword [edi + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c357
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x23c]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x1002314
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c358
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x254]
push eax
push edi
push ebx
push 0x1002328
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c358
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x244]
push eax
push edi
push ebx
push 0x1002328
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c359
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
push eax
push edi
push ebx
push 0x100229c
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push 1
push 0xc000c35a
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x248]
push eax
push edi
push ebx
push dword [ebp - 0x228]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 4]
push ebx
push 0xc000c429
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x234]
push eax
push edi
push ebx
push 0x1002f30
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
mov eax, dword [ebp - 0x224]
call dword [eax + 0x10]
test al, al
je 0x10134e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + esi + 4]
push ebx
push 0xc000c42a
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x24c]
push eax
push ebx
push 0x1002f18
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax + esi + 4]
call dword [edi + 0x10]
test al, al
je 0x10134e6
mov ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
neg eax
sbb al, al
inc al
pop ecx
mov byte [ebp - 0x21d], al
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x22c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, byte [ebp - 0x21d]
mov byte [ebp - 0x21d], al
jmp 0x1013046