Function at 0x440430
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x234
mov ecx, 8
xor eax, eax
push esi
push edi
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test dword [esp + 0x254], 0x20000
je 0x44047c
mov eax, dword [0x461130]
mov ecx, dword [0x461134]
mov dx, word [0x461138]
mov dword [esp + 0x14], eax
mov al, byte [0x46113a]
mov dword [esp + 0x18], ecx
mov word [esp + 0x1c], dx
mov byte [esp + 0x1e], al
jmp 0x4404a5
mov ecx, dword [0x461124]
mov edx, dword [0x461128]
mov ax, word [0x46112c]
mov dword [esp + 0x14], ecx
mov cl, byte [0x46112e]
mov dword [esp + 0x18], edx
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], cl
mov eax, dword [0x4773f8]
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push eax
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44072e
mov edi, dword [esp + 0x250]
push ebx
mov ebx, dword [esp + 0x250]
push ebp
mov ebp, dword [esp + 0x248]
lea edx, [esp + 0x1c]
mov byte [ebx], al
mov ecx, dword [edi]
push edx
push ebp
lea eax, [esp + 0x44]
push 0x45a524
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x3c]
push ecx
push ebx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x4406fa
mov eax, dword [esp + 0x250]
mov byte [ebx], 0
mov ecx, dword [edi]
lea edx, [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24c]
push edx
push eax
push ecx
lea edx, [esp + 0x48]
push 0x461118
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x28]
add esp, 0x14
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
push ebx
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x4405ca
mov edi, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x144]
push 0x4610ec
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4406fa
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 + 0x28]
lea edx, [esp + 0x150]
push edx
push eax
jmp 0x4406f4
lea edx, [esp + 0x1c]
mov byte [ebx], 0
mov ecx, dword [edi]
push edx
push ebp
lea eax, [esp + 0x44]
push 0x45a524
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x3c]
push ecx
push ebx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x44065e
mov edi, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x144]
push 0x4610ec
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4406fa
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push 1
push eax
lea eax, [esp + 0x150]
push eax
jmp 0x4406f3
mov byte [ebx], 0
mov edx, dword [edi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x4406fa
mov edi, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x144]
push 0x4610ec
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4406fa
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push 1
push eax
lea eax, [esp + 0x150]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [0x477368]
test eax, eax
jne 0x44070f
test esi, esi
jne 0x44070f
mov edx, dword [esp + 0x10]
mov byte [edx + ebx], 0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
xor eax, eax
pop ebx
pop edi
test esi, esi
sete al
pop esi
add esp, 0x234
ret 0x18
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
add esp, 0x234
ret 0x18