Function at 0x441b6a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5d0]
sub esp, 0x650
mov eax, dword [0x4705d0]
xor eax, ebp
mov dword [ebp + 0x5cc], eax
mov eax, dword [ebp + 0x5dc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x5d8]
xor ebx, ebx
mov esi, 0x103
push esi
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x4c9]
push ebx
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp + 0x4c8], bl
call fcn.004464f0
push esi
lea eax, [ebp - 0x4b]
push ebx
push eax
mov byte [ebp - 0x4c], bl
call fcn.004464f0
push esi
lea eax, [ebp + 0x2c1]
push ebx
push eax
mov byte [ebp + 0x2c0], bl
call fcn.004464f0
push esi
lea eax, [ebp + 0x3c5]
push ebx
push eax
mov byte [ebp + 0x3c4], bl
call fcn.004464f0
push esi
lea eax, [ebp + 0xb9]
push ebx
push eax
mov byte [ebp + 0xb8], bl
call fcn.004464f0
push esi
lea eax, [ebp + 0x1bd]
push ebx
push eax
mov byte [ebp + 0x1bc], bl
call fcn.004464f0
add esp, 0x48
cmp edi, ebx
je 0x441ddc
cmp byte [edi], bl
je 0x441ddc
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x441ddc
cmp byte [eax], bl
je 0x441ddc
mov esi, 0x45a954
push esi
push edi
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x441ddc
push esi
push dword [ebp - 0x50]
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x441ddc
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x1bc]
push eax
call esi
push edi
lea eax, [ebp + 0xb8]
push eax
call esi
push edi
call fcn.0043eca3
push dword [ebp - 0x50]
mov esi, eax
call fcn.0043eca3
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x54]
push eax
push 9
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x441ddc
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x60], ebx
mov edi, str._s_s
mov eax, 0x103
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x4c8]
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x441df8
push ebx
push ebx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, ebx
jne 0x441dcc
mov eax, 0x1000
cmp dword [ebp - 0x5c], eax
jbe 0x441d1f
mov eax, dword [ebp - 0x5c]
push 1
push eax
call fcn.004462a8
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp + 0x4c8]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jne 0x441db5
lea eax, [ebp - 0x58]
push eax
push 0xf003f
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x441d8f
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x2001f
push ebx
push 0x4597fe
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jne 0x441db5
push dword [ebp - 0x5c]
lea eax, [ebp + 0x4c8]
push dword [ebp - 0x70]
push dword [ebp - 0x7c]
push ebx
push eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x70], ebx
je 0x441dc3
push dword [ebp - 0x70]
call fcn.00445e06
pop ecx
cmp dword [ebp - 0x6c], ebx
je 0x441eae
push dword [ebp - 0x50]
push ebx
push ebx
push ebx
push 4
call fcn.0044129f
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp + 0x5cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004464bf
add ebp, 0x5d0
leave
ret 8
push 0xff
lea eax, [ebp + 0x4c8]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x441eb6
lea eax, [ebp + 0x4c8]
push eax
push dword [ebp - 0x50]
lea eax, [ebp + 0x3c4]
push edi
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x2001f
push ebx
push 0x4597fe
push ebx
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x4c8]
push eax
lea eax, [ebp + 0xb8]
push eax
lea eax, [ebp + 0x2c0]
push edi
push eax
call esi
lea eax, [ebp + 0x4c8]
push eax
lea eax, [ebp + 0x1bc]
push eax
lea eax, [ebp + 0x3c4]
push edi
push eax
call esi
add esp, 0x20
lea eax, [ebp + 0x3c4]
push eax
lea eax, [ebp + 0x2c0]
push eax
call fcn.00441b6a
test eax, eax
je 0x441dcc
inc dword [ebp - 0x74]
inc dword [ebp - 0x60]
jmp 0x441cbc
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x441dde