Function at 0x440a30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x64], esi
call fcn.00440de0
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov ecx, edi
mov dword [ebp - 4], 0
sub ecx, dword [ebp - 0x1c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x440ae3
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
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 0x440ad0
lea ecx, [ebp - 0x60]
push ecx
lea eax, [esi + 0x18]
push eax
push edi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x6c]
push eax
call fcn.0043f800
add esp, 0x14
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x440ae3
cmp eax, 0xffffffff
je 0x440ae3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043faf0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00440de0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x1c]
imul ecx
mov dword [ebp - 4], 2
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x440c10
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043faf0
push 0xb
xor eax, eax
mov dword [ebp - 0x28], 0
push str.wpscloudsvr
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0042e2d0
sub esp, 0x18
mov dword [ebp - 4], 5
mov eax, esp
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00440480
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.0043fb70
add esp, 0x1c
mov edi, eax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 6
jb 0x440b91
mov edi, dword [edi]
sub esp, 0x18
add esi, 0x18
mov ecx, esp
push esi
call fcn.0043f9e0
lea eax, [ebp - 0x58]
push eax
call fcn.0043fb70
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x440bb3
mov eax, dword [eax]
push edi
push eax
call fcn.00566ed2
add esp, 8
lea ecx, [ebp - 0x58]
test eax, eax
setne byte [ebp - 0x59]
call fcn.0042aad0
lea ecx, [ebp - 0x40]
call fcn.0042aad0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x440d8c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440d82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440dd0
jmp 0x440d82
test eax, eax
jne 0x440c21
lea ecx, [ebp - 0x1c]
call fcn.0043faf0
lea edi, [esi + 0x18]
jmp 0x440ca0
sub esp, 0x18
lea edi, [esi + 0x18]
mov ecx, esp
push edi
call fcn.0043f9e0
lea eax, [ebp - 0x58]
push eax
call fcn.0043fb70
add esp, 0x1c
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x440c49
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x1c]
call fcn.0043f9e0
lea eax, [ebp - 0x40]
push eax
call fcn.0043fb70
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x440c6a
mov eax, dword [eax]
push esi
push eax
call fcn.00566ed2
add esp, 8
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0042aad0
lea ecx, [ebp - 0x58]
call fcn.0042aad0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043faf0
test esi, esi
mov esi, dword [ebp - 0x64]
jne 0x440b34
xor eax, eax
mov dword [ebp - 0x28], 0
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, [esi + 0x48]
push eax
push edi
call fcn.00440030
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
cmp edx, 8
jb 0x440d0f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440d05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x440dd5
push edx
push ecx
call fcn.00558004
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 0x440d60
cmp esi, 0xffffffff
je 0x440d60
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [edi + 0x14], 8
jb 0x440d4b
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x440db5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
shl edi, 0x10
or edi, 5
test esi, esi
je 0x440d7e
cmp esi, 0xffffffff
je 0x440d7e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x440db5
push edx
push ecx
call fcn.00558004
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x440db3
cmp dword [esi + 0x14], 8
jb 0x440d9a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x440db3
call dword [sym.imp.KERNEL32.dll_GetLastError]
shl eax, 0x10
or eax, 5
jmp 0x440db5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
call fcn.00566a14
call fcn.00566a14
int3