Function at 0x402380
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1948
call fcn.00410aa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1958]
lea eax, [esp + 0x1c]
push edi
push eax
push esi
mov dword [0x436880], 0x190
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 0x4023ed
push esi
call edi
test eax, eax
jne 0x4023ed
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [0x436884], eax
sub edx, eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [0x436888], ecx
mov dword [0x43688c], edx
mov dword [0x436890], eax
push esi
call edi
mov cl, byte [0x4247d0]
mov dl, byte [0x41d564]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov byte [0x4368a5], al
mov byte [0x4368e8], cl
mov byte [0x4368e9], dl
xor edi, edi
mov esi, 0x436894
mov eax, dword [0x4313b0]
push 0
push edi
push 0x101d
push eax
call ebx
mov dword [esi], eax
add esi, 4
inc edi
cmp esi, 0x4368a0
jl 0x40241a
mov ecx, dword [0x4247ec]
mov al, byte [0x41d563]
mov dl, byte [0x4247ce]
mov dword [0x4368a0], ecx
mov cl, byte [0x4247cf]
mov byte [0x4368a7], al
mov al, byte [0x41d560]
mov byte [0x4368a8], cl
mov cl, byte [0x41d55d]
mov byte [0x436a22], dl
mov dl, byte [0x41d55e]
mov byte [0x436a4c], cl
mov cl, byte [0x41d562]
mov byte [0x43691d], al
mov al, byte [0x41d561]
mov byte [0x4368a4], dl
mov dl, byte [0x41d55f]
mov byte [0x436914], cl
mov byte [0x4368a9], al
mov al, byte [0x42fd30]
mov ecx, 0xf
mov esi, 0x436820
mov edi, 0x4368ac
mov byte [0x4368a6], dl
mov dl, byte [0x430d48]
rep movsd dword es:[edi], dword [esi]
mov byte [0x4368eb], al
mov byte [0x4368ea], dl
xor eax, eax
mov ecx, dword [eax + 0x4331c0]
mov edx, dword [eax + 0x433220]
mov dword [eax + 0x4368ec], ecx
mov dword [eax + 0x436900], edx
add eax, 4
cmp eax, 0x14
jl 0x4024d3
xor eax, eax
mov ecx, dword [eax + 0x4331d4]
mov edx, dword [eax + 0x433234]
mov dword [eax + 0x436a24], ecx
mov dword [eax + 0x436a38], edx
add eax, 4
cmp eax, 0x14
jl 0x4024f5
xor eax, eax
mov ecx, dword [eax + 0x4331e8]
mov edx, dword [eax + 0x433248]
mov dword [eax + 0x436a50], ecx
mov dword [eax + 0x436a78], edx
add eax, 4
cmp eax, 0x28
jl 0x402517
mov al, byte [0x4247d1]
mov cl, byte [0x4247d2]
mov byte [0x43691c], al
mov byte [0x436a4d], cl
mov edi, 0x432b80
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4247d4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x436918], edx
mov eax, ecx
mov esi, edi
mov edi, 0x43691e
lea ebx, [esp + 0x538]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x538], 0
and ecx, 3
mov dword [esp + 0x14], ebx
rep movsb byte es:[edi], byte [esi]
mov edx, 0x433280
cmp byte [edx], 0
je 0x4025de
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x101
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, 0x433785
lea ecx, [ebx + ecx + 1]
mov dword [esp + 0x14], ecx
mov ebx, ecx
jl 0x402596
mov byte [ebx], 0
lea ebx, [esp + 0xf48]
mov byte [esp + 0xf48], 0
mov dword [esp + 0x18], ebx
mov edx, 0x432680
cmp byte [edx], 0
je 0x402641
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x100
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, 0x432b80
lea ecx, [ebx + ecx + 1]
mov dword [esp + 0x18], ecx
mov ebx, ecx
jl 0x4025f9
mov byte [ebx], 0
lea ebx, [esp + 0x30]
mov byte [esp + 0x30], 0
mov dword [esp + 0x1c], ebx
mov edx, 0x430da0
cmp byte [edx], 0
je 0x40269e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x100
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, 0x4312a0
lea ecx, [ebx + ecx + 1]
mov dword [esp + 0x1c], ecx
mov ebx, ecx
jl 0x402656
mov byte [ebx], 0
mov byte [esp + 0xa40], 0
lea ebx, [esp + 0xa40]
mov edx, 0x432ca0
cmp byte [edx], 0
je 0x4026f7
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x100
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, 0x4331a0
lea ebx, [ebx + ecx + 1]
jl 0x4026b5
mov byte [ebx], 0
mov byte [esp + 0x1450], 0
lea ebp, [esp + 0x1450]
mov edx, 0x42e920
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add edx, 0x100
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, 0x42fd20
lea ebp, [ecx + ebp + 1]
jl 0x40270e
mov byte [ebp], al
mov al, byte [esp + 0x1960]
test al, al
je 0x402852
lea ecx, [esp + 0x10]
push ecx
push str.SoftwareSysinternalsDbgView
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x220
push 0x436880
push 3
push 0
push str.Settings
push edx
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x538]
sub eax, ecx
lea edx, [esp + 0x538]
inc eax
push eax
mov eax, dword [esp + 0x14]
push edx
push 3
push 0
push str.Recent
push eax
call esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xf48]
sub eax, ecx
lea edx, [esp + 0xf48]
inc eax
push eax
mov eax, dword [esp + 0x14]
push edx
push 3
push 0
push str.InFilters
push eax
call esi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
sub eax, ecx
lea edx, [esp + 0x30]
inc eax
push eax
mov eax, dword [esp + 0x14]
push edx
push 3
push 0
push str.ExFilters
push eax
call esi
lea ecx, [esp + 0xa40]
mov eax, dword [esp + 0x10]
sub ebx, ecx
lea edx, [esp + 0xa40]
inc ebx
push ebx
push edx
push 3
push 0
push str.HiFilters
push eax
call esi
lea ecx, [esp + 0x1450]
mov eax, dword [esp + 0x10]
sub ebp, ecx
lea edx, [esp + 0x1450]
inc ebp
push ebp
push edx
push 3
push 0
push str.HiCurFilters
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, 0x1948
ret