Function at 0x411dca
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4291b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x42a92c]
xor ebx, ebx
push edi
push 0xffffffffffffffff
mov dword [ebp - 0x30], 0x2c
call dword [sym.imp.USER32.dll_SetThreadDpiAwarenessContext]
mov edi, eax
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_SetThreadDpiAwarenessContext]
push 4
pop edi
test esi, esi
je 0x411e36
xor esi, esi
mov edx, 0x429ec0
mov ecx, esi
mov eax, dword [edx + ecx*4]
lea edi, [ebp - 0x14]
cmp eax, dword [edi + ecx*4]
push 4
pop edi
jne 0x411e31
inc ecx
cmp ecx, edi
jne 0x411e1c
jmp 0x411e38
xor ebx, ebx
inc ebx
jmp 0x411e5c
xor esi, esi
cmp dword [0x42ab7c], ebx
jne 0x411e5c
cmp dword [0x42ab80], ebx
jne 0x411e5c
cmp dword [0x42ab78], ebx
jne 0x411e5c
cmp dword [0x42ab74], ebx
je 0x412204
lea eax, [ebp - 0x38]
push eax
push 0x401f28
push 0x80000001
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
test eax, eax
jne 0x412204
cmp dword [0x42ab78], eax
je 0x412004
mov eax, dword [0x429e38]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402328
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [0x429e3c]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402344
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [0x429e40]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402360
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e44]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402374
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e45]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402388
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e46]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4023a0
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e47]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4023b8
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e48]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4023cc
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e49]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4023ec
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e4a]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x40240c
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x429e4b]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402420
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x38]
mov edx, 0x402444
push 0x20
push 0x429e4c
call fcn.00411c58
mov eax, dword [0x4292c4]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x40245c
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp dword [0x42ab80], 0
je 0x412047
mov eax, dword [0x42ab94]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402474
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [0x42aba0]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402480
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp dword [0x42ab7c], 0
je 0x4120f0
mov ecx, dword [ebp - 0x38]
mov edx, 0x402494
push 0x28
push 0x429ed0
call fcn.00411c58
mov ecx, dword [ebp - 0x38]
mov edx, 0x4024a8
push 0x28
push 0x429f20
call fcn.00411c58
mov eax, dword [0x429dc8]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4024bc
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [0x429dd0]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4024d4
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [0x429dc4]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4024f0
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [0x429dcc]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402508
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test ebx, ebx
je 0x412166
mov eax, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402524
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x40253c
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402554
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402570
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp dword [0x42ab74], 0
je 0x4121fb
movzx eax, byte [0x42adb4]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x40258c
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x42adb5]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4025a0
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
movzx eax, byte [0x42adb6]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x4025b8
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x38]
mov esi, 0x80
push esi
push 0x42aca8
mov edx, 0x4025d0
call fcn.00411c58
mov ecx, dword [ebp - 0x38]
mov edx, 0x4025ec
push esi
push 0x42aba8
call fcn.00411c58
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426f20
leave
ret