Function at 0x1098e33
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 0x1098e56
mov dword [ecx], edi
mov eax, dword [ebp + 0x20]
cmp eax, edi
je 0x1098e5f
mov dword [eax], edi
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x1098e68
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp eax, edi
je 0x109934d
cmp dword [ebp + 0x10], edi
je 0x109934d
cmp ecx, edi
je 0x109934d
cmp dword [ebp + 0x18], edi
je 0x109934d
cmp dword [ebp + 0x1c], edi
je 0x109934d
mov dword [ebp - 0x18], 0x101db70
cmp dword [ebp + 8], edi
jne 0x1098eab
mov dword [ebp - 0x18], 0x101db68
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1098eae
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 0x1098ec4
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 0x1098eff
mov edi, 0x8007000e
push edi
push 0xd501a4
call fcn.0108c503
jmp 0x109936c
push 0x101de00
push esi
push ebx
call fcn.0102dff2
push dword [ebp + 0xc]
push esi
push ebx
call fcn.0102e02c
push 0x1008b90
push esi
push ebx
call fcn.0102e02c
push dword [ebp - 0x18]
push esi
push ebx
call fcn.0102e02c
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 0x1098f5b
push 2
push edi
push 0xe401a4
push ebx
call fcn.0108c457
jmp 0x109936c
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, 0x101dba8
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
mov edi, eax
test edi, edi
je 0x1098f8c
push edi
push 0xee01a4
jmp 0x1098ef5
cmp dword [ebp - 8], 1
je 0x1098fa2
mov edi, 0x80070057
push edi
push 0xf301a4
jmp 0x1098ef5
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 0x1098fc8
mov edi, 0x8007000e
push edi
push 0xfc01a4
jmp 0x1099358
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 0x1098fea
push edi
push 0x10501a4
jmp 0x1099358
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 0x101db8c
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x1099025
push edi
push 0x11101a4
jmp 0x1099358
cmp dword [ebp - 8], ebx
je 0x109903a
mov edi, 0x80070057
push edi
push 0x11601a4
jmp 0x1099358
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x10990ca
cmp dword [ebp + 8], 0
mov dword [ebp - 4], ebx
mov eax, 0x101dbd8
jne 0x1099059
mov eax, 0x101dbbc
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 0x10990b5
cmp dword [ebp + 8], 0
je 0x10990a6
push 2
push edi
push 0x12b01a4
push 0x101dbd8
call fcn.0108c457
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 8]
push eax
push 0
push 0x101dbbc
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x10990b5
push edi
push 0x13501a4
jmp 0x1099358
cmp dword [ebp - 8], ebx
je 0x10990ca
mov edi, 0x80070057
push edi
push 0x13a01a4
jmp 0x1099358
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push eax
push 0
push 0x101dc00
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x10990f5
push edi
push 0x14601a4
jmp 0x1099358
cmp dword [ebp - 8], ebx
je 0x109910a
mov edi, 0x80070057
push edi
push 0x14b01a4
jmp 0x1099358
cmp dword [ebp + 0x20], 0
je 0x1099150
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 8]
push eax
push 0
push 0x101dc1c
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
mov edi, eax
test edi, edi
je 0x109913b
push edi
push 0x15701a4
jmp 0x1099358
cmp dword [ebp - 8], ebx
je 0x1099150
mov edi, 0x80070057
push edi
push 0x15c01a4
jmp 0x1099358
xor edi, edi
cmp dword [ebp + 0x24], edi
je 0x1099194
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 8]
push eax
push edi
push 0x101dc2c
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
cmp eax, edi
jne 0x1099189
cmp dword [ebp - 8], ebx
je 0x1099194
mov edi, 0x80070057
push edi
push 0x16e01a4
jmp 0x1099358
push eax
push 0x17301a4
call fcn.0108c503
cmp dword [ebp + 0x30], edi
je 0x10991e6
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x101dcd0
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call esi
cmp eax, edi
je 0x10991c4
push eax
push 0x18201a4
call fcn.0108c503
jmp 0x10991e6
cmp dword [ebp - 8], ebx
je 0x10991d9
mov edi, 0x80070057
push edi
push 0x18901a4
jmp 0x1099358
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, 0x101dc50
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], edi
call esi
cmp eax, edi
jne 0x1099271
cmp dword [ebp - 8], 1
je 0x1099218
mov edi, 0x80070057
push edi
push 0x19c01a4
jmp 0x1099358
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 0x109923d
mov edi, 0x8007000e
push edi
push 0x1a501a4
jmp 0x1099358
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 0x1099261
push edi
push 0x1ae01a4
jmp 0x1099358
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x109927d
push eax
push 0x1b401a4
push ebx
call fcn.0108c53e
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
mov ebx, 0x101dca0
mov edi, 0x101dc7c
mov eax, ebx
jne 0x1099295
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 0x109931b
cmp dword [ebp - 8], 1
je 0x10992c1
mov edi, 0x80070057
push edi
push 0x1c601a4
jmp 0x1099358
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 0x10992e4
mov edi, 0x8007000e
push edi
push 0x1cf01a4
jmp 0x1099358
cmp dword [ebp + 8], 0
mov eax, ebx
jne 0x10992ee
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 0x1099310
push edi
push 0x1da01a4
jmp 0x1099358
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 0x1099330
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x1099330
mov dword [eax], ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x2c]
cmp eax, edi
je 0x1099343
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x1099343
mov dword [eax], ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x109936c
mov edi, 0x80004003
push edi
push 0xc801a4
call fcn.0108c503
cmp dword [ebp - 0x18], 0
je 0x109936c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x109937c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], esi
je 0x109938a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], esi
je 0x1099398
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], esi
pop esi
pop ebx
je 0x10993a8
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.01091ee9
pop edi
leave
ret 0x2c