Function at 0x100655b2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10087d94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x54], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push esi
push edi
mov dword [ebp - 0x58], eax
lea edi, [ebp - 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
push ecx
push eax
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x14
pop edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], edi
push ecx
xor eax, eax
push 0x20019
push eax
push dword [ebx + 0x1c]
mov dword [ebp - 0x4c], eax
push SysReAllocString
mov dword [ebp - 0x44], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10065688
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x48]
push eax
push ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], esi
push eax
push 0
push dword [ebx + 0x20]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1006563b
xor ecx, ecx
jmp 0x10065645
cmp dword [ebp - 0x50], 3
jne 0x10065688
xor ecx, ecx
mov eax, ecx
test eax, eax
jne 0x10065688
cmp dword [ebp - 0x48], edi
jne 0x10065688
mov esi, ebx
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], ecx
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push 0x10065520
push ecx
push ecx
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
cmp dword [ebp - 0x2c], 1
jb 0x100656a5
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x100656a5
fld dword [0x10009c70]
mov edx, ebx
push ecx
push ecx
fst dword [esp + 4]
lea ecx, [ebp - 0x14]
fstp dword [esp]
call fcn.100654c6
mov byte [ebx + 0x10], 0
push ebx
mov ecx, ebx
call fcn.100657de
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 0x14]
sub eax, esi
sub ecx, dword [ebx]
mov edi, dword [ebp - 0x10]
cmp eax, ecx
jl 0x10065714
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 8]
sub ecx, dword [ebx + 4]
sub eax, edi
cmp eax, ecx
jl 0x10065714
xor eax, eax
mov ecx, eax
cmp dword [ebx], esi
jge 0x100656e0
mov ecx, esi
sub ecx, dword [ebx]
jmp 0x100656ea
cmp edx, dword [ebx + 8]
jge 0x100656ea
mov ecx, edx
sub ecx, dword [ebx + 8]
cmp dword [ebx + 4], edi
jge 0x100656f6
mov eax, edi
sub eax, dword [ebx + 4]
jmp 0x10065703
mov edx, dword [ebp - 8]
cmp edx, dword [ebx + 0xc]
jge 0x10065703
mov eax, edx
sub eax, dword [ebx + 0xc]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
jmp 0x10065739
fld dword [0x10009c74]
mov edx, ebx
push ecx
push ecx
fst dword [esp + 4]
lea ecx, [ebp - 0x14]
fstp dword [esp]
call fcn.100654c6
push ebx
mov ecx, ebx
call fcn.100657de
mov byte [ebx + 0x10], 1
sub esi, dword [ebx]
sub edi, dword [ebx + 4]
jns 0x10065746
xor eax, eax
mov edi, eax
jmp 0x10065748
xor eax, eax
test esi, esi
js 0x1006574e
mov eax, esi
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebp - 0x54]
mov esi, ebx
mov ecx, dword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ebx + 0x10]
pop edi
mov byte [ecx], al
mov eax, dword [ebp - 0x4c]
pop esi
pop ebx
test eax, eax
je 0x10065779
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074c00
mov esp, ebp
pop ebp
ret 8