Function at 0x1098e89
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 0x1098eac
mov dword [ecx], edi
mov eax, dword [ebp + 0x20]
cmp eax, edi
je 0x1098eb5
mov dword [eax], edi
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x1098ebe
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp eax, edi
je 0x10993a3
cmp dword [ebp + 0x10], edi
je 0x10993a3
cmp ecx, edi
je 0x10993a3
cmp dword [ebp + 0x18], edi
je 0x10993a3
cmp dword [ebp + 0x1c], edi
je 0x10993a3
mov dword [ebp - 0x18], 0x101dc00
cmp dword [ebp + 8], edi
jne 0x1098f01
mov dword [ebp - 0x18], 0x101dbf8
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1098f04
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 0x1098f1a
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 0x1098f55
mov edi, 0x8007000e
push edi
push 0xd501a4
call fcn.0108c55a
jmp 0x10993c2
push 0x101de90
push esi
push ebx
call fcn.0102e082
push dword [ebp + 0xc]
push esi
push ebx
call fcn.0102e0bc
push 0x1008ba8
push esi
push ebx
call fcn.0102e0bc
push dword [ebp - 0x18]
push esi
push ebx
call fcn.0102e0bc
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x1098fb1
push 2
push edi
push 0xe401a4
push ebx
call fcn.0108c4ae
jmp 0x10993c2
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, 0x101dc38
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
mov edi, eax
test edi, edi
je 0x1098fe2
push edi
push 0xee01a4
jmp 0x1098f4b
cmp dword [ebp - 8], 1
je 0x1098ff8
mov edi, 0x80070057
push edi
push 0xf301a4
jmp 0x1098f4b
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 0x109901e
mov edi, 0x8007000e
push edi
push 0xfc01a4
jmp 0x10993ae
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 0x1099040
push edi
push 0x10501a4
jmp 0x10993ae
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 0x101dc1c
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x109907b
push edi
push 0x11101a4
jmp 0x10993ae
cmp dword [ebp - 8], ebx
je 0x1099090
mov edi, 0x80070057
push edi
push 0x11601a4
jmp 0x10993ae
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x1099120
cmp dword [ebp + 8], 0
mov dword [ebp - 4], ebx
mov eax, 0x101dc68
jne 0x10990af
mov eax, 0x101dc4c
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 0x109910b
cmp dword [ebp + 8], 0
je 0x10990fc
push 2
push edi
push 0x12b01a4
push 0x101dc68
call fcn.0108c4ae
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 8]
push eax
push 0
push 0x101dc4c
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x109910b
push edi
push 0x13501a4
jmp 0x10993ae
cmp dword [ebp - 8], ebx
je 0x1099120
mov edi, 0x80070057
push edi
push 0x13a01a4
jmp 0x10993ae
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push eax
push 0
push 0x101dc90
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x109914b
push edi
push 0x14601a4
jmp 0x10993ae
cmp dword [ebp - 8], ebx
je 0x1099160
mov edi, 0x80070057
push edi
push 0x14b01a4
jmp 0x10993ae
cmp dword [ebp + 0x20], 0
je 0x10991a6
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 8]
push eax
push 0
push 0x101dcac
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x1099191
push edi
push 0x15701a4
jmp 0x10993ae
cmp dword [ebp - 8], ebx
je 0x10991a6
mov edi, 0x80070057
push edi
push 0x15c01a4
jmp 0x10993ae
xor edi, edi
cmp dword [ebp + 0x24], edi
je 0x10991ea
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 8]
push eax
push edi
push 0x101dcbc
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
cmp eax, edi
jne 0x10991df
cmp dword [ebp - 8], ebx
je 0x10991ea
mov edi, 0x80070057
push edi
push 0x16e01a4
jmp 0x10993ae
push eax
push 0x17301a4
call fcn.0108c55a
cmp dword [ebp + 0x30], edi
je 0x109923c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x101dd60
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
cmp eax, edi
je 0x109921a
push eax
push 0x18201a4
call fcn.0108c55a
jmp 0x109923c
cmp dword [ebp - 8], ebx
je 0x109922f
mov edi, 0x80070057
push edi
push 0x18901a4
jmp 0x10993ae
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, 0x101dce0
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], edi
call esi
cmp eax, edi
jne 0x10992c7
cmp dword [ebp - 8], 1
je 0x109926e
mov edi, 0x80070057
push edi
push 0x19c01a4
jmp 0x10993ae
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 0x1099293
mov edi, 0x8007000e
push edi
push 0x1a501a4
jmp 0x10993ae
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 0x10992b7
push edi
push 0x1ae01a4
jmp 0x10993ae
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x10992d3
push eax
push 0x1b401a4
push ebx
call fcn.0108c595
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
mov ebx, 0x101dd30
mov edi, 0x101dd0c
mov eax, ebx
jne 0x10992eb
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 0x1099371
cmp dword [ebp - 8], 1
je 0x1099317
mov edi, 0x80070057
push edi
push 0x1c601a4
jmp 0x10993ae
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 0x109933a
mov edi, 0x8007000e
push edi
push 0x1cf01a4
jmp 0x10993ae
cmp dword [ebp + 8], 0
mov eax, ebx
jne 0x1099344
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 0x1099366
push edi
push 0x1da01a4
jmp 0x10993ae
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 0x1099386
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x1099386
mov dword [eax], ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x2c]
cmp eax, edi
je 0x1099399
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x1099399
mov dword [eax], ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x10993c2
mov edi, 0x80004003
push edi
push 0xc801a4
call fcn.0108c55a
cmp dword [ebp - 0x18], 0
je 0x10993c2
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x10993d2
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x10993e0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], esi
je 0x10993ee
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], esi
pop esi
pop ebx
je 0x10993fe
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.01091f0e
pop edi
leave
ret 0x2c