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

Disassembly:
mov eax, 0x1830
call fcn.004b8400
mov eax, dword [esp + 0x184c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1850]
push edi
mov dword [esp + 0x24], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x1028], 0
push 0x3ff
push dword [esp + 0x185c]
mov word [esp + 0x830], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
lea ecx, [esp + 0x28]
xor eax, eax
lea edx, [ecx + 2]
mov word [esp + 0x826], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446ad3
sub ecx, edx
sar ecx, 1
je 0x446af3
cmp word [esp + ecx*2 + 0x26], 0x5c
jne 0x446af3
xor eax, eax
mov word [esp + ecx*2 + 0x26], ax
lea eax, [esp + 4]
push eax
mov eax, dword [0x4e40f4]
mov eax, dword [eax + 0xd0]
or eax, 9
push eax
push 0
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446b4c
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_RegQueryInfoKeyW]
test eax, eax
je 0x446b5b
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
add esp, 0x1830
ret 0x24
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1848]
push ebx
mov ebx, dword [0x4e40f4]
push ebp
mov ebp, dword [esp + 0x1840]
push esi
mov esi, dword [esp + 0x1850]
test eax, eax
je 0x446cd2
cmp ecx, 2
je 0x446cd2
mov dword [esp + 0x1038], 0
lea ebp, [eax - 1]
mov dword [esp + 0x103c], 0
nop word [eax + eax]
xor eax, eax
mov dword [esp + 0x1c], 0x400
push eax
push eax
mov word [esp + 0x83c], ax
lea eax, [esp + 0x103c]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x848]
push eax
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x446caa
lea eax, [esp + 0x2c]
mov dword [ebx + 0x14], eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x77
jne 0x446c29
nop dword [eax]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1848]
push 2
call fcn.0043f280
mov ecx, dword [edi + 0x14]
mov esi, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], esi
cmp edx, ecx
je 0x446c00
jmp 0x446c46
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1848]
push 3
call fcn.0043f280
mov edx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x18], esi
test edx, edx
je 0x446c75
cmp esi, 6
jne 0x446cb4
cmp edx, edi
je 0x446c83
mov eax, dword [esp + 0x184c]
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, 0x1830
ret 0x24
cmp esi, 1
je 0x446c83
cmp esi, 6
jne 0x446ec9
mov esi, dword [esp + 0x1850]
test esi, esi
je 0x446ca2
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00445f60
test al, al
jne 0x446ec5
add dword [ebx + 8], 1
adc dword [ebx + 0xc], 0
test ebp, ebp
je 0x446cc4
dec ebp
jmp 0x446bb0
cmp edx, edi
jne 0x446c53
mov eax, dword [esp + 0x1848]
mov byte [eax], 1
jmp 0x446c5c
mov ebp, dword [esp + 0x1844]
mov ecx, dword [esp + 0x1854]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x446ee2
cmp ecx, 1
jne 0x446cf1
cmp byte [esp + 0x1858], 0
je 0x446ee2
mov dword [esp + 0x1034], 0xfffffffe
lea ecx, [esp + 0x1038]
mov dword [esp + 0x1c], 0x400
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
dec eax
push ecx
lea ecx, [esp + 0x848]
mov dword [esp + 0x34], eax
push ecx
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x446e9a
cmp dword [esp + 0x1854], 1
je 0x446df6
lea eax, [esp + 0x2c]
mov dword [ebx + 0x14], eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x77
jne 0x446d77
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push ebp
push 2
call fcn.0043f280
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
cmp eax, ecx
je 0x446d54
jmp 0x446d8e
lea eax, [esp + 0x14]
push eax
push ebp
push 3
call fcn.0043f280
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
test eax, eax
je 0x446dc1
cmp esi, 6
jne 0x446eae
cmp eax, edi
je 0x446dcf
mov ecx, dword [esp + 0x184c]
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, 0x1830
ret 0x24
cmp esi, 1
je 0x446dcf
cmp esi, 6
jne 0x446ec9
mov esi, dword [esp + 0x1850]
test esi, esi
je 0x446dee
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00445f60
test al, al
jne 0x446ec5
add dword [ebx + 8], 1
adc dword [ebx + 0xc], 0
cmp byte [esp + 0x1858], 0
je 0x446e9a
cmp word [esp + 0x34], 0
lea eax, [esp + 0x834]
push eax
mov ecx, 0x4bac30
mov eax, 0x4d2050
cmove eax, ecx
push eax
lea eax, [esp + 0x3c]
push eax
push 0x4d4390
lea eax, [esp + 0x1050]
push 0x400
push eax
call fcn.0049d580
mov ecx, dword [esp + 0x1864]
lea eax, [esp + 0x1058]
add esp, 0x18
push eax
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push esi
push ecx
push dword [esp + 0x1864]
mov ecx, edi
push ebp
call fcn.00446a70
mov esi, eax
cmp esi, 1
jne 0x446ec9
mov eax, dword [esp + 0x1848]
cmp byte [eax], 0
jne 0x446ee2
mov eax, dword [esp + 0x184c]
cmp dword [eax], 0
jne 0x446ee2
mov eax, dword [esp + 0x20]
test eax, eax
je 0x446ee2
mov esi, dword [esp + 0x1850]
jmp 0x446cfc
cmp eax, edi
jne 0x446d9f
mov eax, dword [esp + 0x1848]
mov byte [eax], 1
jmp 0x446da8
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, 0x1830
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, 0x1830
ret 0x24