Function at 0x4437df
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 [0x4755d0]
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.00448090
push esi
lea eax, [ebp - 0x4b]
push ebx
push eax
mov byte [ebp - 0x4c], bl
call fcn.00448090
push esi
lea eax, [ebp + 0x2c1]
push ebx
push eax
mov byte [ebp + 0x2c0], bl
call fcn.00448090
push esi
lea eax, [ebp + 0x3c5]
push ebx
push eax
mov byte [ebp + 0x3c4], bl
call fcn.00448090
push esi
lea eax, [ebp + 0xb9]
push ebx
push eax
mov byte [ebp + 0xb8], bl
call fcn.00448090
push esi
lea eax, [ebp + 0x1bd]
push ebx
push eax
mov byte [ebp + 0x1bc], bl
call fcn.00448090
add esp, 0x48
cmp edi, ebx
je 0x443a51
cmp byte [edi], bl
je 0x443a51
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x443a51
cmp byte [eax], bl
je 0x443a51
mov esi, 0x45c800
push esi
push edi
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x443a51
push esi
push dword [ebp - 0x50]
call fcn.00447a30
pop ecx
pop ecx
test eax, eax
je 0x443a51
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.0044081d
push dword [ebp - 0x50]
mov esi, eax
call fcn.0044081d
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 0x443a51
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 0x443a6d
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 0x443a41
mov eax, 0x1000
cmp dword [ebp - 0x5c], eax
jbe 0x443994
mov eax, dword [ebp - 0x5c]
push 1
push eax
call fcn.00447e84
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 0x443a2a
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 0x443a04
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x2001f
push ebx
push 0x45c970
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 0x443a2a
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 0x443a38
push dword [ebp - 0x70]
call fcn.00447ab6
pop ecx
cmp dword [ebp - 0x6c], ebx
je 0x443b23
push dword [ebp - 0x50]
push ebx
push ebx
push ebx
push 4
call fcn.00442f38
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp + 0x5cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448080
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 0x443b2b
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 0x45c970
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.004437df
test eax, eax
je 0x443a41
inc dword [ebp - 0x74]
inc dword [ebp - 0x60]
jmp 0x443931
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x443a53