Function at 0x415c17
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8a8
mov eax, dword [0x41f024]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x828], eax
xor ecx, ecx
xor eax, eax
push edi
inc ecx
mov dword [ebp - 0x81c], eax
xor edi, edi
xor ebx, ebx
call fcn.0040a807
push ebx
push ebx
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1009
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x64], ebx
je 0x415eeb
push 0xfffffffffffffff0
push dword [esi]
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x868], 3
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x860], edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x814]
push eax
push edi
lea eax, [ebp - 0x810]
mov dword [ebp - 0x824], edi
push eax
push edi
lea eax, [ebp - 0x818]
mov dword [ebp - 0x814], edi
push eax
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x820], 1
push eax
push edi
jmp 0x415e3a
cmp dword [ebp - 0x810], 1
je 0x415d05
cmp dword [ebp - 0x810], 2
je 0x415d05
cmp dword [ebp - 0x810], 7
je 0x415d05
xor ecx, ecx
jmp 0x415d08
push 2
pop ecx
mov eax, dword [ebp - 0x814]
add eax, ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x415dd5
lea eax, [ebp - 0x814]
push eax
push edi
lea eax, [ebp - 0x810]
push eax
push ecx
lea eax, [ebp - 0x80c]
push eax
push dword [esi + 0x64]
call fcn.0040fbf3
test eax, eax
je 0x415d54
push 0x65
pop eax
xor ebx, ebx
mov dword [ebp - 0x81c], eax
inc ebx
jmp 0x415dc2
cmp dword [ebp - 0x818], 0
jne 0x415d67
mov dword [ebp - 0x824], 1
cmp dword [ebp - 0x810], 1
je 0x415d8c
cmp dword [ebp - 0x810], 2
je 0x415d8c
cmp dword [ebp - 0x810], 7
mov dword [ebp - 0x84c], 5
jne 0x415d96
mov dword [ebp - 0x84c], 4
lea eax, [ebp - 0x868]
push eax
push 0
push 0x104d
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x810]
mov ecx, dword [esi]
mov edx, eax
push dword [ebp - 0x814]
push edi
call fcn.00415f1a
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x415e03
mov eax, dword [ebp - 0x81c]
jmp 0x415dde
push 0x66
pop eax
mov dword [ebp - 0x81c], eax
lea ecx, [ebp - 0x80c]
movzx eax, ax
push ecx
push 0x10
push 0x64
push eax
push dword [ebp - 0x828]
push dword [0x41fe14]
call fcn.0040fa08
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp - 0x820]
mov eax, ecx
and dword [ebp - 0x814], 0
inc ecx
mov dword [ebp - 0x820], ecx
lea ecx, [ebp - 0x814]
push ecx
push 0
lea ecx, [ebp - 0x810]
push ecx
push 0
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x80c]
push ecx
push eax
push dword [esi + 0x64]
mov dword [ebp - 0x818], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test edi, edi
je 0x415ce6
push dword [ebp - 0x82c]
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x74]
xor ebx, ebx
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x868]
push eax
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x84c], 4
push ebx
cmp dword [ebp - 0x824], ebx
je 0x415eab
push 0x104c
push dword [esi]
mov dword [ebp - 0x868], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x415ec5
push 0x104d
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi]
xor edx, edx
push 1
push ebx
push ebx
call fcn.00415f1a
xor eax, eax
inc eax
mov dword [ebp - 0x894], eax
mov dword [ebp - 0x898], eax
lea eax, [ebp - 0x8a4]
push eax
push ebx
push 0x102b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x415eed
xor ebx, ebx
push ebx
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call fcn.0040a807
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc30
leave
ret 4