Function at 0x411c78
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 0x411ce4
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 0x411cdf
inc ecx
cmp ecx, edi
jne 0x411cca
jmp 0x411ce6
xor ebx, ebx
inc ebx
jmp 0x411d0a
xor esi, esi
cmp dword [0x42ab7c], ebx
jne 0x411d0a
cmp dword [0x42ab80], ebx
jne 0x411d0a
cmp dword [0x42ab78], ebx
jne 0x411d0a
cmp dword [0x42ab74], ebx
je 0x4120b2
lea eax, [ebp - 0x38]
push eax
push 0x401f18
push 0x80000001
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
test eax, eax
jne 0x4120b2
cmp dword [0x42ab78], eax
je 0x411eb2
mov eax, dword [0x429e38]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402308
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 0x402324
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 0x402340
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 0x402354
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 0x402368
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 0x402380
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 0x402398
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 0x4023ac
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 0x4023cc
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 0x4023ec
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 0x402400
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, 0x402424
push 0x20
push 0x429e4c
call fcn.00411b08
mov eax, dword [0x4292c4]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x40243c
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp dword [0x42ab80], 0
je 0x411ef5
mov eax, dword [0x42ab94]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402454
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 0x402460
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp dword [0x42ab7c], 0
je 0x411f9e
mov ecx, dword [ebp - 0x38]
mov edx, 0x402474
push 0x28
push 0x429ed0
call fcn.00411b08
mov ecx, dword [ebp - 0x38]
mov edx, 0x402488
push 0x28
push 0x429f20
call fcn.00411b08
mov eax, dword [0x429dc8]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x40249c
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 0x4024b4
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 0x4024d0
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 0x4024e8
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test ebx, ebx
je 0x412014
mov eax, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x402504
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 0x40251c
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 0x402534
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 0x402550
push dword [ebp - 0x38]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
cmp dword [0x42ab74], 0
je 0x4120a9
movzx eax, byte [0x42adb4]
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
push esi
push 0x40256c
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 0x402580
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 0x402598
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, 0x4025b0
call fcn.00411b08
mov ecx, dword [ebp - 0x38]
mov edx, 0x4025cc
push esi
push 0x42aba8
call fcn.00411b08
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.00426d60
leave
ret