Function at 0x44ba00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc30
mov eax, dword [esp + 0xc4c]
push edi
mov dword [esp + 0x20], eax
mov edi, ecx
mov eax, dword [esp + 0xc54]
push 0x3ff
push dword [esp + 0xc5c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x834], 0
mov byte [esp + 0x434], 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea ecx, [esp + 0x34]
mov byte [esp + 0x433], 0
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44ba60
sub ecx, edx
je 0x44ba76
cmp byte [esp + ecx + 0x27], 0x5c
jne 0x44ba76
mov byte [esp + ecx + 0x27], al
lea eax, [esp + 4]
push eax
mov eax, dword [0x4d70f4]
mov eax, dword [eax + 0xb0]
or eax, 9
push eax
push 0
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44bacf
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0
lea eax, [esp + 0x38]
push eax
push 0
push 0
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x44bade
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
add esp, 0xc30
ret 0x24
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc48]
push ebx
mov ebx, dword [0x4d70f4]
push ebp
mov ebp, dword [esp + 0xc40]
push esi
mov esi, dword [esp + 0xc50]
test eax, eax
je 0x44bc52
cmp ecx, 2
je 0x44bc52
mov dword [esp + 0x838], 0
lea ebp, [eax - 1]
mov dword [esp + 0x83c], 0
nop word [eax + eax]
push 0
push 0
lea eax, [esp + 0x83c]
mov dword [esp + 0x24], 0x400
push eax
push 0
lea eax, [esp + 0x2c]
mov byte [esp + 0x444], 0
push eax
lea eax, [esp + 0x448]
push eax
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x44bc2a
lea eax, [esp + 0x2c]
mov dword [ebx + 0x14], eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x77
jne 0x44bba9
nop dword [eax]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0xc48]
push 2
call fcn.00442d30
mov ecx, dword [edi + 0x14]
mov esi, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], esi
cmp edx, ecx
je 0x44bb80
jmp 0x44bbc6
lea eax, [esp + 0x14]
push eax
push dword [esp + 0xc48]
push 3
call fcn.00442d30
mov edx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x18], esi
test edx, edx
je 0x44bbf5
cmp esi, 6
jne 0x44bc34
cmp edx, edi
je 0x44bc03
mov eax, dword [esp + 0xc4c]
mov dword [eax], edx
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc30
ret 0x24
cmp esi, 1
je 0x44bc03
cmp esi, 6
jne 0x44be48
mov esi, dword [esp + 0xc50]
test esi, esi
je 0x44bc22
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0044aef0
test al, al
jne 0x44be44
add dword [ebx + 8], 1
adc dword [ebx + 0xc], 0
test ebp, ebp
je 0x44bc44
dec ebp
jmp 0x44bb30
cmp edx, edi
jne 0x44bbd3
mov eax, dword [esp + 0xc48]
mov byte [eax], 1
jmp 0x44bbdc
mov ebp, dword [esp + 0xc44]
mov ecx, dword [esp + 0xc54]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x44be61
cmp ecx, 1
jne 0x44bc71
cmp byte [esp + 0xc58], 0
je 0x44be61
mov dword [esp + 0x834], 0xfffffffe
lea ecx, [esp + 0x838]
mov dword [esp + 0x1c], 0x400
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
dec eax
push ecx
lea ecx, [esp + 0x448]
mov dword [esp + 0x34], eax
push ecx
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44be19
cmp dword [esp + 0xc54], 1
je 0x44bd76
lea eax, [esp + 0x2c]
mov dword [ebx + 0x14], eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x77
jne 0x44bcf7
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push ebp
push 2
call fcn.00442d30
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
cmp eax, ecx
je 0x44bcd4
jmp 0x44bd0e
lea eax, [esp + 0x14]
push eax
push ebp
push 3
call fcn.00442d30
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
test eax, eax
je 0x44bd41
cmp esi, 6
jne 0x44be2d
cmp eax, edi
je 0x44bd4f
mov ecx, dword [esp + 0xc4c]
mov dword [ecx], eax
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc30
ret 0x24
cmp esi, 1
je 0x44bd4f
cmp esi, 6
jne 0x44be48
mov esi, dword [esp + 0xc50]
test esi, esi
je 0x44bd6e
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0044aef0
test al, al
jne 0x44be44
add dword [ebx + 8], 1
adc dword [ebx + 0xc], 0
cmp byte [esp + 0xc58], 0
je 0x44be19
cmp byte [esp + 0x34], 0
lea eax, [esp + 0x434]
push eax
mov ecx, 0x4c3c29
mov eax, 0x4c9e0c
cmove eax, ecx
push eax
lea eax, [esp + 0x3c]
push eax
push str._s_s_s
lea eax, [esp + 0x850]
push 0x400
push eax
call fcn.004abdd0
mov ecx, dword [esp + 0xc64]
lea eax, [esp + 0x858]
add esp, 0x18
push eax
push dword [esp + 0xc64]
push dword [esp + 0xc64]
push dword [esp + 0xc64]
push dword [esp + 0xc64]
push esi
push ecx
push dword [esp + 0xc64]
mov ecx, edi
push ebp
call fcn.0044ba00
mov esi, eax
cmp esi, 1
jne 0x44be48
mov eax, dword [esp + 0xc48]
cmp byte [eax], 0
jne 0x44be61
mov eax, dword [esp + 0xc4c]
cmp dword [eax], 0
jne 0x44be61
mov eax, dword [esp + 0x20]
test eax, eax
je 0x44be61
mov esi, dword [esp + 0xc50]
jmp 0x44bc7c
cmp eax, edi
jne 0x44bd1f
mov eax, dword [esp + 0xc48]
mov byte [eax], 1
jmp 0x44bd28
mov esi, dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc30
ret 0x24
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0xc30
ret 0x24