Function at 0x43f6d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596678
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x62819c]
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.0043fa70
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 0x43f781
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 0x43f76e
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebx + 0x18]
push eax
push esi
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.0043e390
add esp, 0x14
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x43f781
cmp eax, 0xffffffff
je 0x43f781
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043e620
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0043fa70
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 0x43f8a6
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043e620
push 0xb
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x5b10f4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0042daa0
sub esp, 0x18
mov dword [ebp - 4], 5
mov eax, esp
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0043f010
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.0043e6a0
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x43f828
mov eax, dword [eax]
push eax
sub esp, 0x18
lea esi, [ebx + 0x18]
mov ecx, esp
push esi
call fcn.0043e510
lea eax, [ebp - 0x58]
push eax
call fcn.0043e6a0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x43f84b
mov eax, dword [eax]
push eax
call fcn.00555852
add esp, 8
lea ecx, [ebp - 0x58]
test eax, eax
setne bl
call fcn.0042a1f0
lea ecx, [ebp - 0x40]
call fcn.0042a1f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43fa14
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43fa0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa57
jmp 0x43fa0a
test eax, eax
jne 0x43f8b7
lea ecx, [ebp - 0x1c]
call fcn.0043e620
lea edi, [ebx + 0x18]
jmp 0x43f92f
sub esp, 0x18
lea edi, [ebx + 0x18]
mov ecx, esp
push edi
call fcn.0043e510
lea eax, [ebp - 0x58]
push eax
call fcn.0043e6a0
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 3
jb 0x43f8dd
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0043e510
lea eax, [ebp - 0x40]
push eax
call fcn.0043e6a0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x43f8fd
mov eax, dword [eax]
push eax
call fcn.00555852
add esp, 8
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0042a1f0
lea ecx, [ebp - 0x58]
call fcn.0042a1f0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043e620
test esi, esi
jne 0x43f7d4
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.0043ecb0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
cmp edx, 8
jb 0x43f997
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f98d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa5c
push edx
push ecx
call fcn.00546044
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 0x43f9e8
cmp esi, 0xffffffff
je 0x43f9e8
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 0x43f9d3
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 0x43fa3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
shl edi, 0x10
or edi, 5
test esi, esi
je 0x43fa06
cmp esi, 0xffffffff
je 0x43fa06
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x43fa3b
push edx
push ecx
call fcn.00546044
add esp, 8
test bl, bl
je 0x43fa39
cmp dword [esi + 0x14], 8
jb 0x43fa20
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43fa39
call dword [sym.imp.KERNEL32.dll_GetLastError]
shl eax, 0x10
or eax, 5
jmp 0x43fa3b
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.00545ec7
mov esp, ebp
pop ebp
ret
call fcn.00555394
call fcn.00555394
int3