Function at 0x2103c451
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xd4]
call fcn.2103c296
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [ebp - 0xd4]
call fcn.2103c77b
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x2103c48d
xor ax, ax
jmp 0x2103c775
mov word [ebp - 0xc], 0
jmp 0x2103c4a1
mov cx, word [ebp - 0xc]
add cx, 1
mov word [ebp - 0xc], cx
push 0x50
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x2103c4c3
jmp 0x2103c495
mov edx, dword [ebp - 0xc]
and edx, 0xffff
test edx, edx
jne 0x2103c4d5
jmp 0x2103c773
mov eax, dword [ebp - 0xc]
and eax, 0xffff
imul eax, eax, 0x90
push eax
call fcn.2106e07d
add esp, 4
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd0]
mov dword [ecx + 8], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x2103c51a
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0xffff
cmp dword [ebp - 0x1c], ecx
jae 0x2103c695
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x90
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 8]
add ecx, edx
mov dword [ebp - 0x18], ecx
push 0x50
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
call fcn.2105e417
add esp, 8
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x21092bd0
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2103c5c5
mov edx, dword [ebp - 0x18]
mov ax, word [ebp - 0xc0]
mov word [edx], ax
jmp 0x2103c5d6
mov ecx, dword [ebp - 0x18]
mov word [ecx], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x84
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.Width
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x88
push edx
lea eax, [ebp - 8]
push eax
push 0
push str.Height
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], 4
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.Units
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
mov cx, word [ebp - 0xc4]
mov word [eax + 0x8c], cx
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xd4]
mov cx, word [eax + 4]
add cx, 1
mov edx, dword [ebp - 0xd4]
mov word [edx + 4], cx
jmp 0x2103c511
cmp dword [ebp - 4], 0
je 0x2103c75d
mov dword [ebp - 0x1c], 0
jmp 0x2103c6b1
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xd4]
xor edx, edx
mov dx, word [ecx + 4]
cmp dword [ebp - 0x1c], edx
jae 0x2103c75d
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x90
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 8]
add edx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
je 0x2103c6eb
jmp 0x2103c6a8
mov ecx, dword [ebp - 0xd4]
call fcn.2103c2cb
and eax, 0xffff
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0x18]
mov ax, word [ebp - 0xcc]
mov word [edx], ax
cmp dword [ebp + 8], 0
je 0x2103c758
lea ecx, [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 2
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 4
lea ecx, [ebp - 0xcc]
push ecx
push 4
push 0
push 0x21092c00
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x2103c6a8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xd4]
mov ax, word [edx + 4]
jmp 0x2103c775
jmp 0x2103c75d
mov esp, ebp
pop ebp
ret 4