Function at 0x4073aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x44b504]
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 [0x44f57c]
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 0x40746a
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 [0x44f57c]
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.00408afb
test ax, ax
je 0x407773
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 0x4074a1
mov edi, ecx
jmp 0x4074aa
xor edi, edi
cmp byte [esi + 0x25], 0
cmovne edi, eax
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x40768a
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1839]
test eax, eax
jne 0x40768a
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 0x407510
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
jmp 0x407515
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 0x40754b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
jmp 0x407550
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 0x407586
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
jmp 0x40758b
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 0x4075c1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
jmp 0x4075c6
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 0x436dfc
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40760c
cmp dword [esp + 0x14], 0xffffffff
jne 0x4075fd
mov edi, 0x20000000
jmp 0x40760c
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 0x40768a
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x8c]
cmp eax, 0x32
jl 0x40768a
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
cmp eax, 0x32
jl 0x40768a
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [0x44f57c]
lea eax, [ebx + 0x44]
push eax
call fcn.00409e16
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 0x40769c
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x28], 0
je 0x4076a7
or edi, dword [esi + 0x28]
jmp 0x4076ad
or edi, 0x6cf0000
cmp dword [esi + 0x34], 0
je 0x4076bf
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 0
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.0041221e
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.00406f2a
mov edi, dword [esi + 8]
test edi, edi
je 0x40772e
mov ecx, edi
call fcn.004011c7
push eax
lea ecx, [ebx + 0xd4]
mov edx, edi
call fcn.004184b2
cmp dword [esi + 0x30], 0
mov ecx, ebx
je 0x40773b
push dword [esi + 0x30]
jmp 0x40773e
push dword [esi + 8]
call fcn.004067c5
mov eax, dword [0x44f57c]
cmp byte [eax + 0x217], 0
je 0x40775c
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.0042fa1f
mov esp, ebp
pop ebp
ret 4
call fcn.004050c0
int3