Function at 0x440920
Capabilities:
Check if file exists
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0043f920
mov esi, dword [ebp - 0xc]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x10]
mov ecx, esi
sub ecx, edi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x440967
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [ecx], edi
pop edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareKingsoftOfficewpscloudsvr_refs
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0xc]
test eax, eax
jne 0x440acf
mov esi, dword [ebp - 0x10]
cmp esi, edx
je 0x440acf
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4409aa
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440ac1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4409c3
mov eax, dword [esi]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, dword [ebp - 0xc]
lea eax, [esi + 0x18]
cmp eax, ebx
je 0x440a68
lea edi, [esi + 0x2c]
mov edi, edi
lea eax, [edi + 0x18]
cmp edi, eax
je 0x440a57
mov ecx, dword [edi - 0x18]
cmp ecx, 8
jb 0x440a21
mov eax, dword [edi - 0x2c]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x440a17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440bbd
mov eax, edx
push ecx
push eax
call fcn.0055c524
add esp, 8
mov eax, dword [edi - 0x14]
mov dword [edi - 0x2c], eax
mov eax, dword [edi - 0x10]
mov dword [edi - 0x28], eax
mov eax, dword [edi - 0xc]
mov dword [edi - 0x24], eax
mov eax, dword [edi - 8]
mov dword [edi - 0x20], eax
mov eax, dword [edi - 4]
mov dword [edi - 0x1c], eax
mov eax, dword [edi]
mov dword [edi - 0x18], eax
xor eax, eax
mov dword [edi - 4], 0
mov dword [edi], 7
mov word [edi - 0x14], ax
add edi, 0x18
lea eax, [edi - 0x14]
cmp eax, ebx
jne 0x4409e0
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx - 4]
cmp ecx, 8
jb 0x440aa2
mov eax, dword [ebx - 0x18]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x440a98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440bbd
mov eax, edx
push ecx
push eax
call fcn.0055c524
add esp, 8
xor eax, eax
mov dword [ebx - 8], 0
mov dword [ebx - 4], 7
mov word [ebx - 0x18], ax
mov edx, dword [ebp - 0xc]
sub edx, 0x18
mov dword [ebp - 0xc], edx
jmp 0x440ac7
mov edx, dword [ebp - 0xc]
add esi, 0x18
cmp esi, edx
jne 0x4409a0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebx], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
test eax, eax
je 0x440bb4
cmp eax, 0xffffffff
je 0x440bb4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x440bb4
mov edi, dword [ebp - 0xc]
cmp esi, edi
je 0x440b74
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x440b57
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x440b4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440bbd
mov eax, edx
push ecx
push eax
call fcn.0055c524
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x440b22
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
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 0x440baa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440bbd
push ecx
push esi
call fcn.0055c524
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0056af64
int3