Function at 0x446f70
Capabilities:
Check if file exists
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66f272
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, 0x755e20
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x83c], 0
mov eax, dword [ebx + 0xc]
test dword [ecx], eax
jne 0x4473c7
xor eax, eax
mov dword [ebp - 0x830], eax
call fcn.004225c0
mov ecx, eax
test ecx, ecx
je 0x447464
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov dword [ebp - 0x82c], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x447030
push 0x104
lea ecx, [ebp - 0x814]
call fcn.00441ae0
mov esi, dword [ebp - 0x814]
cmp dword [esi - 8], 0x104
jl 0x44745a
xor eax, eax
mov dword [esi - 0xc], 0x104
push eax
push eax
push eax
push eax
mov word [esi + 0x208], ax
lea eax, [ebp - 0x82c]
push eax
push esi
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push dword [esi - 8]
mov ebx, eax
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x44745a
cmp eax, dword [esi - 8]
jg 0x44745a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
jne 0x447396
cmp ebx, 0xea
je 0x447396
lea eax, [ebp - 0x824]
mov dword [ebp - 0x824], 0
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44738e
push 0x800
push eax
lea eax, [ebp - 0x810]
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp - 0x81c]
lea eax, [ebp - 0x840]
add esp, 0xc
mov dword [ebp - 0x844], 1
mov dword [ebp - 0x840], 0x200000
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x844]
push eax
push 0
push dword [ebx + 4]
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
cmp dword [ebx + 8], 0
je 0x44713e
push dword [ebx]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
call fcn.004225c0
test eax, eax
je 0x447464
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x828], eax
mov byte [ebp - 4], 1
test edi, edi
je 0x4471b1
test edi, 0xffff0000
jne 0x447197
movzx eax, di
lea ecx, [ebp - 0x828]
push eax
call fcn.00441820
jmp 0x4471c0
mov eax, edi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4471a0
sub eax, edx
sar eax, 1
jmp 0x4471b3
xor eax, eax
push eax
push edi
lea ecx, [ebp - 0x828]
call fcn.00441d80
mov byte [ebp - 4], 2
call fcn.004225c0
test eax, eax
je 0x447464
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x820], eax
mov eax, str.70e489bf_a8ba_460f_9c42_567695d37140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x820]
test eax, 0xffff0000
jne 0x447202
movzx eax, ax
push eax
call fcn.00441820
jmp 0x44720e
push 0x24
push str.70e489bf_a8ba_460f_9c42_567695d37140
call fcn.00441d80
lea eax, [ebp - 0x820]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x834]
push ebx
push eax
call fcn.0050b4b0
add esp, 0xc
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x820]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44724b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0x828]
test eax, eax
je 0x447282
test edi, edi
je 0x447464
push edi
push dword [ebp - 0x834]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x447408
inc dword [ebp - 0x830]
lea edx, [esi - 0x10]
mov dword [ebp - 0x82c], 0x104
cmp dword [edx + 4], 0
mov ebx, dword [edx]
je 0x4472e2
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4472be
cmp dword [esi - 8], 0
jl 0x44745a
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4472e2
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4472d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44730c
push 0x104
lea ecx, [ebp - 0x814]
call fcn.00441ae0
mov esi, dword [ebp - 0x814]
cmp dword [esi - 8], 0x104
jl 0x44745a
xor eax, eax
mov dword [esi - 0xc], 0x104
push eax
push eax
push eax
push eax
mov word [esi + 0x208], ax
lea eax, [ebp - 0x82c]
push eax
mov eax, dword [ebp - 0x830]
push esi
push eax
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov byte [ebp - 4], 2
mov ebx, eax
mov edx, dword [ebp - 0x834]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44736c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x447388
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x818]
test ebx, ebx
je 0x447093
mov ebx, dword [ebp - 0x81c]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4473bb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x838]
mov edi, dword [ebp - 0x818]
mov eax, dword [ebp - 0x83c]
add ebx, 0x10
add eax, 0x10
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x83c], eax
cmp eax, 0xb0
jb 0x446fc5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x838]
mov eax, dword [ebx + 0xc]
or dword [ecx], eax
or eax, 0xffffffff
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x834]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x447435
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44739c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44739c
push 0x80070057
call fcn.00422220
push 0x80004005
call fcn.00422220
int3