Function at 0x442420
Capabilities:
Check if file exists
Create registry key via offline registry library
Get file attributes
Open registry key via offline registry library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf80e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4f6040]
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 dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], 0
call fcn.004421f0
mov dword [ebp - 4], 1
mov dword [ebx], 0
mov byte [ebp - 4], 2
push 0xc
call fcn.00486463
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
mov dword [ebp - 4], 3
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0x4d8f34
mov dword [edi + 4], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5c]
mov dword [edi + 8], 0
cmp dword [ebp - 0x48], 7
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 4]
je 0x4424f1
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov byte [ebp - 4], 2
mov eax, 2
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x60], eax
and eax, 0xfffffffd
mov dword [ebx], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 1
or eax, 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
add eax, 4
push eax
call fcn.00408100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
push dword [ebp - 0x6c]
call fcn.004121f0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.004242c0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.0040bf40
cmp esi, 0xffffffff
jne 0x442582
mov eax, dword [ebx]
add eax, 8
push eax
call dword [sym.imp.OFFREG.dll_ORCreateHive]
test eax, eax
jne 0x442632
jmp 0x4425fa
mov esi, dword [ebx]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.004242c0
mov ecx, eax
mov byte [ebp - 4], 0xc
cmp dword [ecx + 0x14], 7
jbe 0x44259e
mov ecx, dword [ecx]
lea eax, [esi + 8]
push eax
push ecx
call dword [sym.imp.OFFREG.dll_OROpenHive]
test eax, eax
je 0x4425ee
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5c0
push ecx
mov edx, eax
call fcn.00431970
mov byte [ebp - 4], 0xd
sub esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x64], esp
mov edx, esp
call fcn.004091b0
push eax
mov ecx, edx
call fcn.00407390
mov byte [ebp - 4], 0xe
push 0x3e
push str.C:ReleaseAIplatformos_registryOfflineRegHive.cpp
mov byte [ebp - 4], 0xd
jmp 0x44266e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.0040bf40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040bf40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0040bf40
mov eax, ebx
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.0048641a
mov esp, ebp
pop ebp
ret 8
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5c0
push ecx
mov edx, eax
call fcn.00431970
mov byte [ebp - 4], 9
sub esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x64], esp
mov edx, esp
call fcn.004091b0
push eax
mov ecx, edx
call fcn.00407390
mov byte [ebp - 4], 0xa
push 0x33
push str.C:ReleaseAIplatformos_registryOfflineRegHive.cpp
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xac]
call fcn.00413ba0
push 0x4f3e34
lea eax, [ebp - 0xac]
push eax
call fcn.004881d5
int3