Function at 0x1095d07
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
cmp ecx, edi
je 0x1095d2a
mov dword [ecx], edi
mov eax, dword [ebp + 0x20]
cmp eax, edi
je 0x1095d33
mov dword [eax], edi
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x1095d3c
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp eax, edi
je 0x1096221
cmp dword [ebp + 0x10], edi
je 0x1096221
cmp ecx, edi
je 0x1096221
cmp dword [ebp + 0x18], edi
je 0x1096221
cmp dword [ebp + 0x1c], edi
je 0x1096221
mov dword [ebp - 0x18], 0x101d500
cmp dword [ebp + 8], edi
jne 0x1095d7f
mov dword [ebp - 0x18], 0x101d4f8
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1095d82
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [ebp - 0x18]
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
cmp si, di
jne 0x1095d98
sub eax, edx
sar eax, 1
lea esi, [eax + ecx + 0x3a]
lea eax, [esi + esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
jne 0x1095dd3
mov edi, 0x8007000e
push edi
push 0xd501a4
call fcn.010893e6
jmp 0x1096240
push 0x101d790
push esi
push ebx
call fcn.0102d982
push dword [ebp + 0xc]
push esi
push ebx
call fcn.0102d9bc
push 0x1008aa0
push esi
push ebx
call fcn.0102d9bc
push dword [ebp - 0x18]
push esi
push ebx
call fcn.0102d9bc
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x1095e2f
push 2
push edi
push 0xe401a4
push ebx
call fcn.0108933a
jmp 0x1096240
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
lea ecx, [ebp - 8]
push ecx
push eax
mov ebx, 0x101d538
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
mov edi, eax
test edi, edi
je 0x1095e60
push edi
push 0xee01a4
jmp 0x1095dc9
cmp dword [ebp - 8], 1
je 0x1095e76
mov edi, 0x80070057
push edi
push 0xf301a4
jmp 0x1095dc9
mov eax, dword [ebp - 4]
add eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1095e9c
mov edi, 0x8007000e
push edi
push 0xfc01a4
jmp 0x109622c
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push dword [ebp - 0xc]
call esi
mov edi, eax
test edi, edi
je 0x1095ebe
push edi
push 0x10501a4
jmp 0x109622c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
push 4
pop ebx
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push 0x101d51c
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x1095ef9
push edi
push 0x11101a4
jmp 0x109622c
cmp dword [ebp - 8], ebx
je 0x1095f0e
mov edi, 0x80070057
push edi
push 0x11601a4
jmp 0x109622c
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x1095f9e
cmp dword [ebp + 8], 0
mov dword [ebp - 4], ebx
mov eax, 0x101d568
jne 0x1095f2d
mov eax, 0x101d54c
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0x18]
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push dword [ebp - 0xc]
call esi
mov edi, eax
test edi, edi
je 0x1095f89
cmp dword [ebp + 8], 0
je 0x1095f7a
push 2
push edi
push 0x12b01a4
push 0x101d568
call fcn.0108933a
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 8]
push eax
push 0
push 0x101d54c
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x1095f89
push edi
push 0x13501a4
jmp 0x109622c
cmp dword [ebp - 8], ebx
je 0x1095f9e
mov edi, 0x80070057
push edi
push 0x13a01a4
jmp 0x109622c
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push eax
push 0
push 0x101d590
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x1095fc9
push edi
push 0x14601a4
jmp 0x109622c
cmp dword [ebp - 8], ebx
je 0x1095fde
mov edi, 0x80070057
push edi
push 0x14b01a4
jmp 0x109622c
cmp dword [ebp + 0x20], 0
je 0x1096024
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 8]
push eax
push 0
push 0x101d5ac
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x109600f
push edi
push 0x15701a4
jmp 0x109622c
cmp dword [ebp - 8], ebx
je 0x1096024
mov edi, 0x80070057
push edi
push 0x15c01a4
jmp 0x109622c
xor edi, edi
cmp dword [ebp + 0x24], edi
je 0x1096068
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 8]
push eax
push edi
push 0x101d5bc
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
cmp eax, edi
jne 0x109605d
cmp dword [ebp - 8], ebx
je 0x1096068
mov edi, 0x80070057
push edi
push 0x16e01a4
jmp 0x109622c
push eax
push 0x17301a4
call fcn.010893e6
cmp dword [ebp + 0x30], edi
je 0x10960ba
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x101d660
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
cmp eax, edi
je 0x1096098
push eax
push 0x18201a4
call fcn.010893e6
jmp 0x10960ba
cmp dword [ebp - 8], ebx
je 0x10960ad
mov edi, 0x80070057
push edi
push 0x18901a4
jmp 0x109622c
mov ecx, dword [ebp + 0x30]
xor eax, eax
cmp dword [ebp - 0x20], edi
setne al
mov dword [ecx], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push edi
mov ebx, 0x101d5e0
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], edi
call esi
cmp eax, edi
jne 0x1096145
cmp dword [ebp - 8], 1
je 0x10960ec
mov edi, 0x80070057
push edi
push 0x19c01a4
jmp 0x109622c
mov eax, dword [ebp - 4]
add eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x1096111
mov edi, 0x8007000e
push edi
push 0x1a501a4
jmp 0x109622c
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push 0
push ebx
push dword [ebp - 0xc]
call esi
mov edi, eax
test edi, edi
je 0x1096135
push edi
push 0x1ae01a4
jmp 0x109622c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x1096151
push eax
push 0x1b401a4
push ebx
call fcn.01089421
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
mov ebx, 0x101d630
mov edi, 0x101d60c
mov eax, ebx
jne 0x1096169
mov eax, edi
lea ecx, [ebp - 4]
push ecx
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push dword [ebp - 0xc]
call esi
test eax, eax
jne 0x10961ef
cmp dword [ebp - 8], 1
je 0x1096195
mov edi, 0x80070057
push edi
push 0x1c601a4
jmp 0x109622c
mov eax, dword [ebp - 4]
add eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10961b8
mov edi, 0x8007000e
push edi
push 0x1cf01a4
jmp 0x109622c
cmp dword [ebp + 8], 0
mov eax, ebx
jne 0x10961c2
mov eax, edi
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push dword [ebp - 0xc]
call esi
mov edi, eax
test edi, edi
je 0x10961e4
push edi
push 0x1da01a4
jmp 0x109622c
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [ebp + 0x28]
xor edi, edi
cmp eax, edi
je 0x1096204
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x1096204
mov dword [eax], ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x2c]
cmp eax, edi
je 0x1096217
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x1096217
mov dword [eax], ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x1096240
mov edi, 0x80004003
push edi
push 0xc801a4
call fcn.010893e6
cmp dword [ebp - 0x18], 0
je 0x1096240
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x1096250
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x109625e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], esi
je 0x109626c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], esi
pop esi
pop ebx
je 0x109627c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0108ed8e
pop edi
leave
ret 0x2c