Function at 0x43fa70
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.0043e8f0
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 0x43fab7
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 ecx, dword [ebp - 0xc]
test eax, eax
jne 0x43fc1f
mov esi, dword [ebp - 0x10]
cmp esi, ecx
je 0x43fc1f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43fafa
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43fc11
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43fb13
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 0x43fbb8
lea edi, [esi + 0x2c]
mov edi, edi
lea eax, [edi + 0x18]
cmp edi, eax
je 0x43fba7
mov ecx, dword [edi - 0x18]
cmp ecx, 8
jb 0x43fb71
mov eax, dword [edi - 0x2c]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x43fb67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fd0d
mov eax, edx
push ecx
push eax
call fcn.00546044
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 0x43fb30
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx - 4]
cmp ecx, 8
jb 0x43fbf2
mov eax, dword [ebx - 0x18]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x43fbe8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fd0d
mov eax, edx
push ecx
push eax
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebx - 8], 0
mov dword [ebx - 4], 7
mov word [ebx - 0x18], ax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x18
mov dword [ebp - 0xc], ecx
jmp 0x43fc17
mov ecx, dword [ebp - 0xc]
add esi, 0x18
cmp esi, ecx
jne 0x43faf0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebx], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 4], ecx
mov dword [ebp - 8], 0
test eax, eax
je 0x43fd04
cmp eax, 0xffffffff
je 0x43fd04
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x43fd04
mov edi, dword [ebp - 0xc]
cmp esi, edi
je 0x43fcc4
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x43fca7
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x43fc9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fd0d
mov eax, edx
push ecx
push eax
call fcn.00546044
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 0x43fc72
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 0x43fcfa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fd0d
push ecx
push esi
call fcn.00546044
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00555394
int3