Function at 0x10040e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x126c
call fcn.10212f90
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov byte [ebp - 0x1268], al
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1264], eax
mov eax, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x1260], eax
lea eax, [ebp - 0x234]
push 0
push eax
mov dword [ebp - 0x1258], esi
call fcn.102134e7
push 0x1000
lea eax, [ebp - 0x1234]
push 0
push eax
call fcn.102134e7
add esp, 0x18
mov dword [ebp - 0x1254], 0x1000
xor edi, edi
mov dword [ebp - 0x125c], 0x104
mov dword [ebp - 0x1250], 1
mov dword [ebp - 0x126c], edi
mov eax, dword [0x10255438]
test eax, eax
jne 0x10040eb3
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10040f07
mov eax, dword [0x10255438]
test eax, eax
jne 0x10040ecf
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10040ee0
mov eax, dword [eax + 0x108]
jmp 0x10040ee2
xor eax, eax
test eax, eax
je 0x10040f07
push 0
push 0
lea ecx, [ebp - 0x1250]
push ecx
push 0
lea ecx, [ebp - 0x125c]
push ecx
lea ecx, [ebp - 0x234]
push ecx
push edi
push ebx
call eax
jmp 0x10040f2a
push 0
push 0
lea eax, [ebp - 0x1250]
push eax
push 0
lea eax, [ebp - 0x125c]
push eax
lea eax, [ebp - 0x234]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100411e5
mov eax, dword [ebp - 0x1250]
mov dword [ebp - 0x125c], 0x104
mov dword [ebp - 0x1254], 0x1000
cmp eax, 1
je 0x1004104c
cmp eax, 2
je 0x1004104c
cmp eax, 4
jne 0x100411d4
mov eax, dword [0x10255438]
test eax, eax
jne 0x10040f7a
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10040fd0
mov eax, dword [0x10255438]
test eax, eax
jne 0x10040f96
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10040fa7
mov eax, dword [eax + 0x110]
jmp 0x10040fa9
xor eax, eax
test eax, eax
je 0x10040fd0
lea ecx, [ebp - 0x1254]
push ecx
lea ecx, [ebp - 0x1234]
push ecx
lea ecx, [ebp - 0x1250]
push ecx
push 0
lea ecx, [ebp - 0x234]
push ecx
push ebx
call eax
jmp 0x10040ff5
lea eax, [ebp - 0x1254]
push eax
lea eax, [ebp - 0x1234]
push eax
lea eax, [ebp - 0x1250]
push eax
push 0
lea eax, [ebp - 0x234]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100411d4
push dword [ebp - 0x1234]
lea eax, [ebp - 0x2c]
push 0x1021d004
push 0x14
push eax
call fcn.1000bd10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x124c]
push dword [ebp - 0x1264]
push dword [ebp - 0x1268]
push eax
call fcn.100413f0
add esp, 0x28
mov ecx, esi
push eax
call fcn.10054840
jmp 0x10041198
mov eax, dword [0x10255438]
test eax, eax
jne 0x1004105f
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x100410b5
mov eax, dword [0x10255438]
test eax, eax
jne 0x1004107b
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1004108c
mov eax, dword [eax + 0x110]
jmp 0x1004108e
xor eax, eax
test eax, eax
je 0x100410b5
lea ecx, [ebp - 0x1254]
push ecx
lea ecx, [ebp - 0x1234]
push ecx
lea ecx, [ebp - 0x1250]
push ecx
push 0
lea ecx, [ebp - 0x234]
push ecx
push ebx
call eax
jmp 0x100410da
lea eax, [ebp - 0x1254]
push eax
lea eax, [ebp - 0x1234]
push eax
lea eax, [ebp - 0x1250]
push eax
push 0
lea eax, [ebp - 0x234]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100410e7
lea eax, [ebp - 0x1234]
push eax
jmp 0x100410f7
cmp eax, 0xea
jne 0x100411d4
push 0x10219d7c
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x124c]
push dword [ebp - 0x1264]
push dword [ebp - 0x1268]
push eax
call fcn.100413f0
mov esi, dword [esi]
mov edi, eax
mov eax, dword [ebp - 0x1258]
add esp, 0x18
cmp dword [eax + 4], 0x7ffffff
je 0x100411fb
push 0x20
call fcn.10213511
mov edx, eax
add esp, 4
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov ecx, dword [edi]
mov dword [edx + 8], ecx
mov ecx, dword [edi + 4]
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 8]
mov dword [edx + 0x10], ecx
mov eax, dword [edi + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [esi + 4]
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [esi + 4], edx
mov esi, dword [ebp - 0x1258]
mov dword [eax], edx
inc dword [esi + 4]
mov edx, dword [ebp - 0x1238]
cmp edx, 8
jb 0x100411d4
mov ecx, dword [ebp - 0x124c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100411ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100411f6
push edx
push ecx
call fcn.102134ff
add esp, 8
inc dword [ebp - 0x126c]
mov edi, dword [ebp - 0x126c]
jmp 0x10040ea0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
call fcn.10200ab0
push str.list_T__too_long
call fcn.101d9a10
int3