Function at 0x413ced
Capabilities:
Get graphical window text
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
push ebx
push esi
push edi
mov esi, 0x42d8b8
lea edi, [ebp - 0x30]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x42d8b4
lea edi, [ebp - 0x38]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x42d8b0
lea edi, [ebp - 0x1c]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x42d8ac
lea edi, [ebp - 0x20]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x42d8a8
lea edi, [ebp - 0x34]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x42d8a4
lea edi, [ebp - 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x42d870
lea edi, [ebp - 0x18]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x42d8a0
lea edi, [ebp - 0x2c]
movsw word es:[edi], word [esi]
push 0x433780
lea eax, [ebp - 0x56c]
push eax
mov word [ebp - 0x10], 0x58
mov word [ebp - 0x14], 0x59
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x68], 0x2c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x56c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x414233
cmp dword [ebp + 0xc], 1
jne 0x413f8b
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
pop edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
push edi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
push eax
push edi
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call esi
push edi
lea eax, [ebp - 0x3c]
push eax
push edi
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x468]
push eax
push 0x32
push 0xd
push dword [0x433648]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x468]
push eax
push 0x32
push 0xd
push dword [0x43364c]
call edi
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x468]
push eax
push 0x32
push 0xd
push dword [0x43365c]
call edi
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x468]
push eax
push 0x32
push 0xd
push dword [0x4339a0]
call edi
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x468]
push eax
push 0x32
push 0xd
push dword [0x433884]
call edi
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x468]
push eax
push 0x32
push 0xd
push dword [0x433654]
call edi
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x468]
push eax
push 0x400
push 0xd
push dword [0x433658]
call edi
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x468]
push eax
push 0x400
push 0xd
push dword [0x433650]
call edi
lea eax, [ebp - 0x468]
push eax
call ebx
push eax
lea eax, [ebp - 0x468]
push eax
push 1
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call esi
jmp 0x41422a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov edi, 0x104
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 0x56c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 0x56c]
push 0x15
push ebx
push ebx
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x32
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x433648]
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x32
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x43364c]
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x32
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x43365c]
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x32
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x4339a0]
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x32
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x433884]
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x32
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x433654]
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x100
call esi
test eax, eax
jne 0x414204
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x433658]
call edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x100
call esi
test eax, eax
je 0x41420e
push dword [ebp + 8]
call fcn.0041d1b0
jmp 0x41422a
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x468], bl
lea eax, [ebp - 0x468]
push eax
push ebx
push 0xc
push dword [0x433650]
call edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 8