Function at 0x41da00
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45139d
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xafc]
test eax, eax
je 0x41dd5b
mov ecx, dword [edi + 0xb00]
sub ecx, eax
sar ecx, 2
je 0x41dd5b
mov ecx, eax
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ecx]
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x41da5c
mov dword [esp + 0xc], eax
add eax, 0xfffffff4
push eax
call ebx
jmp 0x41da72
mov edx, dword [0x45c050]
mov dword [esp + 0xc], edx
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x10]
call fcn.00425f80
lea ecx, [esp + 0x24]
mov dword [esp + 0xc8], 0
call fcn.004066f0
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 1
call fcn.004385a0
mov eax, dword [0x45c050]
mov dword [esp + 0x24], 0x4545a0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.LNG01292
mov byte [esp + 0xd4], 2
call fcn.00425b80
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x460650
call fcn.00429000
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0xb0]
cmp ecx, eax
mov byte [esp + 0xc8], 3
je 0x41db4a
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41db15
mov edx, dword [0x45c054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41db1c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41db2f
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0xb8]
call fcn.00403580
jmp 0x41db4a
lea ecx, [esp + 0xb0]
call fcn.00425890
mov esi, dword [esi]
mov dword [esp + 0xb0], esi
add esi, 0xfffffff4
push esi
call ebx
mov eax, dword [esp + 0x10]
mov edx, dword [0x45c054]
mov byte [esp + 0xc8], 2
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41db81
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41db81
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x41dbdb
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x41dba4
mov edx, dword [0x45c054]
add eax, 0xfffffff4
cmp eax, edx
jne 0x41dbab
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x41dbbe
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.00403580
jmp 0x41dbdb
lea ecx, [esp + 0xb4]
call fcn.00425890
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
add eax, 0xfffffff4
push eax
call ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0x460688
mov esi, eax
call fcn.00403e10
mov eax, dword [0x460690]
push 0
push 0x442930
push esi
push 0xcb
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x41dd36
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x41dc33
push eax
mov dword [esp + 0x18], ecx
call ebx
jmp 0x41dc46
mov eax, dword [0x45c050]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00425f80
lea ecx, [esp + 0xbc]
mov bl, 4
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], bl
call fcn.00425750
mov edx, dword [0x45c050]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xd8], 6
call fcn.00425750
lea eax, [edi + 0xae8]
mov ecx, edi
push eax
call fcn.0041a600
test eax, eax
je 0x41dcfd
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
lea edx, [eax + 1]
inc eax
push edx
push eax
call fcn.00403630
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
call fcn.00419cf0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 5
call fcn.00429590
lea ecx, [esp + 0x10]
mov byte [esp + 0xc8], bl
call fcn.00429590
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 2
call fcn.00429590
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0
call fcn.00412b50
lea ecx, [esp + 0xc]
mov dword [esp + 0xc8], 0xffffffff
call fcn.00429590
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 0x10