Function at 0x100292b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
xor eax, eax
lea ecx, [ebp - 4]
push ecx
mov edi, 0x20019
push edi
push eax
push 0x1001348
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002a04
xor eax, eax
lea ecx, [ebp - 8]
push ecx
push eax
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x100131c
push dword [ebp - 4]
mov dword [ebp - 8], eax
call ebx
test eax, eax
jne 0x10029f7
cmp dword [ebp - 8], 2
jbe 0x10029f7
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10029f7
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100131c
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x10029c3
mov ecx, dword [ebp - 0x10]
cmp word [ecx], ax
jne 0x10029f7
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x10029ea
test byte [ecx + 0x1c], 4
je 0x10029ea
push eax
push 0x1001240
push 0x43
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010018a2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebp - 0x10], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
push 0
push 0x10012b0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1002ac7
lea ecx, [ebp - 8]
push ecx
push eax
lea ecx, [ebp - 0x18]
push ecx
push eax
mov esi, 0x100131c
push esi
push dword [ebp - 4]
mov dword [ebp - 8], eax
call ebx
test eax, eax
jne 0x1002ab0
cmp dword [ebp - 8], 2
jbe 0x1002ab0
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x1002aa9
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x1002a6d
cmp word [edi], ax
jne 0x1002aa9
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1002a97
test byte [ecx + 0x1c], 4
je 0x1002a97
push eax
mov ebx, 0x1001240
push ebx
push 0x44
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010018a2
jmp 0x1002a9c
mov ebx, 0x1001240
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebp - 0x14], 0
jmp 0x1002ab5
mov ebx, 0x1001240
jmp 0x1002ab8
mov ebx, 0x1001240
mov edi, dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
jmp 0x1002acf
mov edi, dword [ebp - 0x14]
mov ebx, 0x1001240
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x1002b30
test edi, edi
jne 0x1002b07
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002c91
test byte [eax + 0x1c], 8
je 0x1002c91
push ebx
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016d5
jmp 0x1002c91
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b28
test byte [eax + 0x1c], 8
je 0x1002b28
push edi
push ebx
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016fb
mov dword [ebp - 0xc], edi
jmp 0x1002c91
test edi, edi
jne 0x1002b5d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b55
test byte [eax + 0x1c], 8
je 0x1002b55
push esi
push ebx
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016fb
mov dword [ebp - 0xc], esi
jmp 0x1002c91
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002b7f
test byte [eax + 0x1c], 8
je 0x1002b7f
push esi
push edi
push ebx
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001768
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
push dword [ebp - 0x10]
mov edi, eax
call esi
lea edi, [edi + eax + 2]
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1002bd3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002c81
test byte [eax + 0x1c], 4
je 0x1002c81
push ebx
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016d5
jmp 0x1002c81
push dword [ebp - 0x14]
push edi
push eax
call fcn.01001cf3
test eax, eax
jge 0x1002c06
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002c01
test byte [eax + 0x1c], 4
je 0x1002c01
push ebx
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016d5
push dword [ebp - 0xc]
jmp 0x1002c54
push dword [ebp - 0xc]
call esi
mov esi, dword [ebp - 0xc]
lea eax, [esi + eax*2 - 2]
cmp word [eax], 0x3b
je 0x1002c25
push 0x3b
pop ecx
mov word [eax + 2], cx
xor ecx, ecx
mov word [eax + 4], cx
push dword [ebp - 0x10]
push edi
push esi
call fcn.01001d2d
test eax, eax
jge 0x1002c60
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002c53
test byte [eax + 0x1c], 4
je 0x1002c53
push ebx
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016d5
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebp - 0xc], 0
jmp 0x1002c81
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002c81
test byte [eax + 0x1c], 8
je 0x1002c81
push esi
push ebx
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010016fb
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4