Function at 0x408f30
Capabilities:
Set registry value

Disassembly:
sub esp, 0x7b0
lea eax, [esp + 8]
mov dword [0x419700], 0x1ae
push ebx
push ebp
push esi
mov esi, dword [esp + 0x7c0]
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x408f99
push esi
call edi
test eax, eax
jne 0x408f99
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [0x419704], eax
sub edx, eax
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [0x419708], ecx
mov dword [0x41970c], edx
mov dword [0x419710], eax
push esi
call edi
mov cl, byte [0x4196f4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov byte [0x419734], al
mov byte [0x419737], cl
xor edi, edi
mov esi, 0x419714
mov edx, dword [0x4197a0]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esi], eax
add esi, 4
inc edi
cmp esi, 0x419730
jl 0x408fba
mov cl, byte [0x4196f5]
mov eax, dword [0x416ce8]
mov dl, byte [0x4194e4]
mov byte [0x419735], cl
mov dword [0x419730], eax
mov al, byte [0x42c100]
mov ecx, 0xf
mov esi, 0x42b940
mov edi, 0x419748
mov byte [0x419736], dl
mov edx, dword [0x42c3a4]
lea ebx, [esp + 0x2b0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x42c3a0]
mov byte [0x419741], al
mov eax, dword [0x42c101]
mov dword [0x41973c], edx
mov byte [0x419740], al
mov byte [0x419742], ah
mov ax, word [0x42c103]
mov dword [0x419738], ecx
mov byte [0x419743], al
mov byte [0x419744], ah
mov byte [esp + 0x2b0], 0
mov dword [esp + 0x14], ebx
mov edx, 0x42bd80
cmp byte [edx], 0
je 0x4090af
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x80
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, 0x42c000
lea ecx, [ebx + ecx + 1]
mov dword [esp + 0x14], ecx
mov ebx, ecx
jl 0x409067
mov byte [ebx], 0
mov byte [esp + 0x28], 0
lea ebx, [esp + 0x28]
mov edx, 0x42ba00
cmp byte [edx], 0
je 0x409102
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x80
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, 0x42bc80
lea ebx, [ebx + ecx + 1]
jl 0x4090c0
mov byte [ebx], 0
mov byte [esp + 0x538], 0
lea ebp, [esp + 0x538]
mov edx, 0x42c120
cmp byte [edx], 0
je 0x40915b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x80
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, 0x42c3a0
lea ebp, [ecx + ebp + 1]
jl 0x409119
lea ecx, [esp + 0x10]
mov byte [ebp], 0
push ecx
push str.SoftwareSysinternalsRegmon
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x84
push 0x419700
push 3
push 0
push str.Settings
push edx
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2b0]
sub eax, ecx
lea edx, [esp + 0x2b0]
inc eax
push eax
mov eax, dword [esp + 0x14]
push edx
push 3
push 0
push str.InFilters
push eax
call esi
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x10]
sub ebx, ecx
lea edx, [esp + 0x28]
inc ebx
push ebx
push edx
push 3
push 0
push str.ExFilters
push eax
call esi
lea ecx, [esp + 0x538]
mov eax, dword [esp + 0x10]
sub ebp, ecx
lea edx, [esp + 0x538]
inc ebp
push ebp
push edx
push 3
push 0
push str.HiFilters
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7b0
ret