Function at 0x409a20
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x471b50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push str.PopAIRestoreWnd
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
mov dword [esp + 0x30], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x409a9c
mov edx, dword [ebp + 4]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test byte [ebp + 0xe8], 2
mov eax, dword [ebp + 4]
lea esi, [ebp + 0xe4]
mov ebx, 0x4918c0
mov dword [0x48ffd8], eax
mov dword [esi + 0x34], ebx
je 0x409ade
call fcn.00457c80
mov ebx, dword [esi + 0x34]
mov edi, dword [0x4918d0]
call fcn.00457c80
mov ebx, dword [ebx + 0xc]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push edi
push ebx
push esi
call eax
mov ecx, dword [esi + 0x1c]
xor edi, edi
cmp ecx, edi
je 0x409af2
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push edi
push edi
push edi
push esi
call eax
add ebp, 0x2c
mov ebx, 3
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x8006
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push edi
push edi
mov ecx, esi
call eax
mov esi, dword [esp + 0x30]
add esi, 0x27c
mov dword [esi + 0x38], 0x491950
call fcn.00450400
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x8007
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
push 0x9c4f
mov dword [esp + 0x2c], edi
call fcn.00454520
mov ecx, eax
add esp, 4
cmp ecx, edi
je 0x409be1
lea edx, [esp + 0x14]
push edx
mov eax, 0x9c4f
call fcn.00454600
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], 1
lea eax, [esi + 0x2c]
cmp ebx, edi
jne 0x409bf4
xor ecx, ecx
jmp 0x409c11
mov ecx, ebx
lea edx, [ecx + 2]
mov dword [esp + 0x1c], edx
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409c00
sub ecx, dword [esp + 0x1c]
sar ecx, 1
push ebx
mov ebx, ecx
call fcn.00454860
call fcn.00450400
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x30]
lea esi, [ebx + 0x1e8]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], 3
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x9dac
mov dword [esp + 0x2c], 2
call fcn.00454520
mov ecx, eax
add esp, 4
cmp ecx, edi
je 0x409cd9
lea edx, [esp + 0x14]
push edx
mov eax, 0x9dac
call fcn.00454600
mov dword [esp + 0x28], 3
mov eax, dword [esp + 0x14]
push 0x803b
push eax
push esi
call fcn.0044f030
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebx + 0x150]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], 3
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x9dad
mov dword [esp + 0x2c], 4
call fcn.00454520
mov ecx, eax
add esp, 4
cmp ecx, edi
je 0x409dab
lea edx, [esp + 0x14]
push edx
mov eax, 0x9dad
call fcn.00454600
mov dword [esp + 0x28], 5
mov eax, dword [0x490660]
mov ecx, dword [0x49066c]
mov edx, dword [esp + 0x14]
add ecx, eax
push ecx
push edx
push esi
call fcn.0044f030
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebx + 0x19c]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], 3
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x9dae
mov dword [esp + 0x2c], 6
call fcn.00454520
mov ecx, eax
add esp, 4
cmp ecx, edi
je 0x409e86
lea edx, [esp + 0x14]
push edx
mov eax, 0x9dae
call fcn.00454600
mov dword [esp + 0x28], 7
mov eax, dword [0x49067c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
call fcn.0044f030
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409eca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebx + 0x234]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], 3
mov dword [esi + 8], 0x8010
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
push 0x9dab
mov dword [esp + 0x2c], 8
call fcn.00454520
mov ecx, eax
add esp, 4
cmp ecx, edi
je 0x409f61
lea edx, [esp + 0x14]
push edx
mov eax, 0x9dab
call fcn.00454600
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], 9
cmp ebx, edi
jne 0x409f71
xor ecx, ecx
jmp 0x409f85
mov ecx, ebx
lea eax, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409f76
sub ecx, eax
sar ecx, 1
push ebx
mov ebx, ecx
lea eax, [esi + 0x44]
call fcn.00454860
call fcn.004505b0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409fbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x30]
lea esi, [ebx + 0x120]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 4], 3
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov edx, dword [ebp]
mov eax, dword [edx]
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push edi
push edi
mov ecx, esi
call eax
mov eax, 0x491c08
cmp dword [esi + 0x2c], eax
je 0x40a021
mov dword [esi + 0x2c], eax
call fcn.0044e890
mov eax, ebx
call fcn.004098c0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4