Function at 0x100982b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x100e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x28], eax
je 0x1009a36
cmp dword [ebp + 0x10], 0
je 0x1009a36
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebx + 4], 0
mov dword [ebp - 0x3c], eax
jne 0x1009a36
test edi, edi
mov ecx, ebx
je 0x1009898
push dword [ebp - 0x28]
push edi
push eax
call fcn.01009749
test eax, eax
jne 0x10098aa
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push dword [ebp - 0x3c]
jmp 0x100989d
push dword [ebp + 0x10]
push esi
push eax
call fcn.0100946d
test eax, eax
je 0x1009a36
lea eax, [ebp - 0xac]
push eax
push 0x18
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x1009a36
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor eax, eax
push eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
call edi
push 1
mov dword [ebp - 0x30], eax
call edi
xor edi, edi
cmp dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], edi
je 0x1009970
lea eax, [ebp - 0x40]
push eax
push edi
push dword [ebp - 0x28]
push SysReAllocString
call fcn.01009cc6
add esp, 0x10
test eax, eax
jne 0x1009970
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push edi
push 0x10023b8
push dword [ebp - 0x40]
mov dword [ebp - 0x3c], 0x1e
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009967
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.010093fa
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.010093fa
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.010093fa
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.010093fa
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov dword [ebp - 0x6c], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0xa4]
sub eax, ecx
sub eax, dword [ebp - 0x68]
push 0xa
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
sub eax, edi
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], edi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x64]
pop ecx
mov dword [ebp - 0x34], eax
xor eax, eax
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x84], esi
lea eax, [ebp - 0x94]
mov esi, 0x10023a4
push eax
mov dword [ebp - 0x90], 0x100915d
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x88], 4
call dword [sym.imp.USER32.dll_RegisterClassW]
push ebx
push dword [ebp - 0x44]
xor edi, edi
push edi
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x90000000
push edi
push esi
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, edi
mov dword [ebx + 4], eax
je 0x1009a36
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006ce8
leave
ret 0x14