Function at 0x40d1a5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0xfffffffffffffff0
push dword [0x42bc70]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, 0x1000000
xor edi, edi
test esi, eax
jne 0x40d1dc
test eax, 0x20000000
je 0x40d1d4
cmp dword [0x42bfa8], 2
je 0x40d1dc
mov dword [0x42bfa4], edi
jmp 0x40d1e2
mov dword [0x42bfa4], esi
cmp dword [0x42d830], edi
je 0x40d201
push 0x425fb8
push edi
push 0x229
push dword [0x42d82c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x425fb8]
dec eax
neg eax
sbb eax, eax
push edi
and eax, 0xff000000
add eax, esi
mov dword [0x421ac8], eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push 0x41e1d8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40d240
xor eax, eax
jmp 0x40d6b5
push ebx
mov esi, 0x42bc78
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push edi
push 0x41e1c8
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 4
pop ebx
push ebx
push 0x42c5d0
push ebx
push edi
push 0x41e1bc
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5d4
push ebx
push edi
push 0x41e1b4
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421038
push ebx
push edi
push 0x41e1a8
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5d8
push ebx
push edi
push 0x41e19c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5e4
push ebx
push edi
push 0x41e190
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421044
push ebx
push edi
push 0x41e184
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5ec
push ebx
push edi
push 0x41e174
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5f0
push ebx
push edi
push 0x41e16c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5dc
push ebx
push edi
push 0x41e160
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5e0
push ebx
push edi
push 0x41e150
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42103c
push ebx
push edi
push 0x41e13c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42d828
push ebx
push edi
push 0x41e138
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421d70
push ebx
push edi
push 0x41e128
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x429bf4
push ebx
push edi
push 0x41e114
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421014
push ebx
push edi
push 0x41e0f8
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421018
push ebx
push edi
push 0x41e0ec
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421024
push ebx
push edi
push 0x41e0dc
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421020
push ebx
push edi
push 0x41e0cc
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421040
push ebx
push edi
push 0x41e0c0
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c5e8
push ebx
push edi
push 0x41e0b0
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421048
push ebx
push edi
push 0x41e0a4
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x10
push 0x42c4a4
push 3
push edi
push 0x41e094
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x3c
push 0x426918
push 3
push edi
push str.FontA
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42c430
push ebx
push edi
push 0x41e080
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421028
push ebx
push edi
push 0x41e070
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42bfa4
push ebx
push edi
push 0x41e064
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x10
push 0x421004
push 3
push edi
push 0x41e054
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
cmp dword [0x42d824], edi
je 0x40d588
push ebx
push 0x421ac4
push ebx
push edi
push 0x41e048
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42d844
push ebx
push edi
push 0x41e03c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x421ac8
push ebx
push edi
push 0x41e02c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push str.__t_r_______._:_________
call fcn.0041c552
pop ecx
lea eax, [eax + eax + 2]
push eax
push str.__t_r_______._:_________
push 3
push edi
push 0x41e01c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x42c600
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x42c600
push 1
push edi
push 0x41e00c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x42c600
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x42d200
push 1
push edi
push 0x41dff8
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x421158
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x421158
push 1
push edi
push 0x41dfe8
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x421468
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x421468
push 1
push edi
push 0x41dfd8
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push 0x421778
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x421778
push 1
push edi
push 0x41dfc8
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
push ebx
push 0x42d820
push ebx
push edi
push 0x41dfb4
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
mov edx, dword [0x42bfb0]
push edx
call fcn.00407e16
pop ecx
shl eax, 2
push eax
push edx
push 3
push edi
push 0x41dfa4
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40d6a9
xor edi, edi
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret