Function at 0x415c23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x43c4e8]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
lea ecx, [esp + 0x64]
mov edi, str.Framework::CFrame
push ecx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0xcc], eax
cmp dword [esi + 0xc], 0
mov eax, dword [0x445284]
cmovne edi, dword [esi + 0xc]
push edi
mov dword [esp + 0x38], edi
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x415ce3
and dword [esp + 0x38], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
mov dword [esp + 0x3c], eax
mov eax, dword [0x445284]
push 0x7f00
push 0
mov dword [esp + 0x3c], 0x30
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
and dword [esp + 0x58], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x54], 2
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
call fcn.0041737c
test ax, ax
je 0x415feb
cmp byte [esi + 0x24], 0
mov ecx, 0x1000000
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, 0x20000000
je 0x415d1a
mov edi, ecx
jmp 0x415d23
xor edi, edi
cmp byte [esi + 0x25], 0
cmovne edi, eax
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x415f03
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1839]
test eax, eax
jne 0x415f03
lea eax, [esp + 0x10]
mov byte [esp + 0xf], 1
push eax
xor ecx, ecx
mov dword [esp + 0x14], 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
push ecx
push ecx
push str.WindowPosLeft
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415d89
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
jmp 0x415d8e
mov byte [esp + 0xf], 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.WindowPosTop
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415dc4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
jmp 0x415dc9
mov byte [esp + 0xf], 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.WindowPosRight
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415dff
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
jmp 0x415e04
mov byte [esp + 0xf], 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.WindowPosBottom
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415e3a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
jmp 0x415e3f
mov byte [esp + 0xf], 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0x430d58
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415e85
cmp dword [esp + 0x14], 0xffffffff
jne 0x415e76
mov edi, 0x20000000
jmp 0x415e85
xor edi, edi
mov eax, 0x1000000
cmp dword [esp + 0x14], 1
cmove edi, eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xf], 0
je 0x415f03
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
cmp eax, 0x32
jl 0x415f03
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
cmp eax, 0x32
jl 0x415f03
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [0x445284]
lea eax, [ebx + 0x44]
push eax
call fcn.00418712
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
sub ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x98]
sub ecx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x415f15
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x28], 0
je 0x415f20
or edi, dword [esi + 0x28]
jmp 0x415f26
or edi, 0x6cf0000
cmp dword [esi + 0x34], 0
je 0x415f38
push dword [esi + 0x34]
lea eax, [ebx + 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edx, dword [esp + 0x30]
push ecx
push ecx
push dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push edi
push dword [esp + 0x30]
call fcn.00425b47
lea eax, [esp + 0x9c]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0xa4], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x9c]
push eax
lea ecx, [ebx + 0x50]
call fcn.004157b6
mov edi, dword [esi + 8]
test edi, edi
je 0x415fa6
mov ecx, edi
call fcn.004013ad
push eax
lea ecx, [ebx + 0xd4]
mov edx, edi
call fcn.00414613
cmp dword [esi + 0x30], 0
mov ecx, ebx
je 0x415fb3
push dword [esi + 0x30]
jmp 0x415fb6
push dword [esi + 8]
call fcn.00415051
mov eax, dword [0x445284]
cmp byte [eax + 0x217], 0
je 0x415fd4
push 1
push dword [ebx + 4]
call dword [sym.imp.Mso98Win32Client.dll_Ordinal_2611]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004282ce
mov esp, ebp
pop ebp
ret 4
call fcn.00413189
int3