Function at 0x43a920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596da8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x61ce74]
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, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0043acc0
add esp, 4
mov esi, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
mov ecx, esi
sub ecx, edi
mov dword [ebp - 4], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43a9d1
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
push 0x2001f
push 0
push str.SoftwareKingsoftOfficewpscloudsvr_refs
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a9be
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebx + 0x18]
push eax
push esi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.004394d0
add esp, 0x14
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x43a9d1
cmp eax, 0xffffffff
je 0x43a9d1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00439760
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0043acc0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
mov dword [ebp - 4], 2
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x43aaf6
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00439760
push 0xb
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x5b4a24
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00439df0
sub esp, 0x18
mov dword [ebp - 4], 5
mov eax, esp
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0043a260
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.004397e0
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x43aa78
mov eax, dword [eax]
push eax
sub esp, 0x18
lea esi, [ebx + 0x18]
mov ecx, esp
push esi
call fcn.00439650
lea eax, [ebp - 0x58]
push eax
call fcn.004397e0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x43aa9b
mov eax, dword [eax]
push eax
call fcn.0054b581
add esp, 8
lea ecx, [ebp - 0x58]
test eax, eax
setne bl
call fcn.00430d50
lea ecx, [ebp - 0x40]
call fcn.00430d50
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43ac64
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ac5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43aca7
jmp 0x43ac5a
test eax, eax
jne 0x43ab07
lea ecx, [ebp - 0x1c]
call fcn.00439760
lea edi, [ebx + 0x18]
jmp 0x43ab7f
sub esp, 0x18
lea edi, [ebx + 0x18]
mov ecx, esp
push edi
call fcn.00439650
lea eax, [ebp - 0x58]
push eax
call fcn.004397e0
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 3
jb 0x43ab2d
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00439650
lea eax, [ebp - 0x40]
push eax
call fcn.004397e0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x43ab4d
mov eax, dword [eax]
push eax
call fcn.0054b581
add esp, 8
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00430d50
lea ecx, [ebp - 0x58]
call fcn.00430d50
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00439760
test esi, esi
jne 0x43aa24
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea eax, [ebx + 0x48]
push eax
push edi
call fcn.00439f00
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
cmp edx, 8
jb 0x43abe7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43abdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43acac
push edx
push ecx
call fcn.0053d0af
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x43ac38
cmp esi, 0xffffffff
je 0x43ac38
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [edi + 0x14], 8
jb 0x43ac23
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x5c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x43ac8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
shl edi, 0x10
or edi, 5
test esi, esi
je 0x43ac56
cmp esi, 0xffffffff
je 0x43ac56
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x43ac8b
push edx
push ecx
call fcn.0053d0af
add esp, 8
test bl, bl
je 0x43ac89
cmp dword [esi + 0x14], 8
jb 0x43ac70
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43ac89
call dword [sym.imp.KERNEL32.dll_GetLastError]
shl eax, 0x10
or eax, 5
jmp 0x43ac8b
xor eax, eax
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.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
call fcn.0054b0c3
int3