Function at 0x441320
Capabilities:
Open registry key via offline registry library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf465
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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 ebx, ecx
mov dword [ebp - 0x48], ebx
cmp dword [ebx], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x4414ea
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push edx
call fcn.00408100
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00424ec0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x20], xmm0
call fcn.00441e30
mov byte [ebp - 4], 4
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x1c]
mov esi, 0
sub ecx, dword [ebp - 0x20]
mov edi, dword [ebx]
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x44], ecx
je 0x441441
xor ebx, ebx
mov eax, dword [ebp - 0x20]
add eax, ebx
mov dword [ebp - 0x3c], 0
cmp dword [eax + 0x14], 7
jbe 0x4413e7
mov eax, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
push eax
push edi
call dword [sym.imp.OFFREG.dll_OROpenKey]
test eax, eax
jne 0x44151e
mov eax, dword [ebp - 0x48]
cmp edi, dword [eax]
je 0x441409
push edi
call dword [sym.imp.OFFREG.dll_ORCloseKey]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx - 1]
cmp esi, eax
jne 0x441436
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x44142c
push eax
call dword [sym.imp.OFFREG.dll_ORCloseKey]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
jmp 0x441439
mov edi, dword [ebp - 0x3c]
inc esi
add ebx, 0x18
cmp esi, ecx
jb 0x4413d3
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4414bd
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x441464
mov ecx, esi
call fcn.0040bf40
add esi, 0x18
cmp esi, edi
jne 0x441453
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x44149e
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441519
push ecx
push esi
call fcn.00486428
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040bf40
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 0xfe09
push 0x94
lea eax, [ebp - 0x88]
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
push eax
call fcn.00413920
add esp, 0x10
lea eax, [ebp - 0x88]
push 0x4f3e34
push eax
call fcn.004881d5
call fcn.0048b78f
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043e5c0
push ecx
mov edx, eax
call fcn.00431970
mov byte [ebp - 4], 5
sub esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], esp
mov edx, esp
call fcn.004091b0
push eax
mov ecx, edx
call fcn.00407390
mov byte [ebp - 4], 6
push 0x8f
push str.C:ReleaseAIplatformos_registryOfflineRegKey.cpp
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00413ba0
push 0x4f3e34
lea eax, [ebp - 0x88]
push eax
call fcn.004881d5
int3