Function at 0x440c20
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x318
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov edi, 0xfa0
mov ecx, dword [0x477340]
lea eax, [esp + 0x120]
push 0x104
push eax
push edi
push ecx
call esi
test eax, eax
je 0x440c92
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
lea ecx, [esp + 0x138]
push 0
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x440c89
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, 0x1002
jl 0x440c35
mov edi, 0x1068
mov ecx, dword [0x477340]
lea eax, [esp + 0x120]
push 0x104
push eax
push edi
push ecx
call esi
test eax, eax
je 0x440cf4
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
lea ecx, [esp + 0x138]
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x440ceb
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, 0x10ca
jl 0x440c97
mov ecx, dword [0x477340]
mov ebx, dword [0x4773e4]
lea eax, [esp + 0x224]
push 0x104
push eax
push 0xfa3
push ecx
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x440d7d
lea edx, [esp + 0x14]
lea eax, [esp + 0x224]
push edx
push 0xf003f
push 0
push eax
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440d7d
test ebx, ebx
je 0x440d62
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push 1
push eax
push 0x461154
push ecx
call ebp
jmp 0x440d72
mov edx, dword [esp + 0x14]
push 0x461154
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x477340]
mov ebx, dword [0x477400]
lea ecx, [esp + 0x224]
push 0x104
push ecx
push 0xfa3
push edx
call esi
test eax, eax
je 0x440e00
lea eax, [esp + 0x14]
lea ecx, [esp + 0x224]
push eax
push 0xf003f
push 0
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440e00
test ebx, ebx
je 0x440de5
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x14]
not ecx
push ecx
push ebx
push 1
push eax
push 0x45a878
push edx
call ebp
jmp 0x440df5
mov eax, dword [esp + 0x14]
push 0x45a878
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x477340]
mov ebx, dword [0x4773bc]
lea edx, [esp + 0x224]
push 0x104
push edx
push 0xfa3
push eax
call esi
test eax, eax
je 0x440e82
lea ecx, [esp + 0x14]
lea edx, [esp + 0x224]
push ecx
push 0xf003f
push 0
push edx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440e82
test ebx, ebx
je 0x440e67
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 1
push eax
mov eax, dword [esp + 0x24]
push 0x461148
push eax
call ebp
jmp 0x440e77
mov ecx, dword [esp + 0x14]
push 0x461148
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x477340]
lea eax, [esp + 0x120]
push 0x104
push eax
push 0x1011
push ecx
call esi
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
lea ecx, [esp + 0x138]
push 0
push ecx
push CreateStatusWindowA
call ebx
test eax, eax
jne 0x440f0a
mov eax, dword [0x4773fc]
lea edx, [esp + 0x1c]
push 0x104
push edx
push 0x78
push eax
call esi
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
push eax
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x477340]
lea ecx, [esp + 0x120]
push 0x104
push ecx
push 0x1012
push edx
call esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0x138]
push 0
push edx
push CreateStatusWindowA
call ebx
test eax, eax
jne 0x440f8d
mov ecx, dword [0x4773fc]
lea eax, [esp + 0x1c]
push 0x104
push eax
push 0x79
push ecx
call esi
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x477340]
lea edx, [esp + 0x120]
push 0x104
push edx
push 0x1013
push eax
call esi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
lea eax, [esp + 0x138]
push 0
push eax
push CreateStatusWindowA
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x441027
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push 0
call ebx
lea edx, [esp + 0x1c]
push 0x461140
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
push eax
push 1
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x477340]
lea eax, [esp + 0x120]
push 0x104
push eax
push 0x1014
push ecx
call esi
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
lea ecx, [esp + 0x138]
push 0
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4410bf
lea edx, [esp + 0x1c]
push 0x104
push edx
push eax
call ebx
lea eax, [esp + 0x1c]
push 0x46113c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_CharLowerA]
push eax
push 1
mov edx, dword [esp + 0x1c]
push 0
push 0
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x318
ret