Function at 0x140037720
Capabilities:
Create process on windows
Enumerate process modules
Get common file path
Get process image filename
Terminate process

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x1328]
mov eax, 0x1428
call fcn.14004ff90
sub rsp, rax
mov ebx, ecx
xor edx, edx
lea rcx, [rbp + 0x200]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x104
call fcn.1400514f0
mov edx, 0x104
lea rcx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rbp + 0x200]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140037780
mov eax, dword [0x1400b2f78]
movsd xmm1, qword [0x1400b2f70]
movups xmm0, xmmword [str.SysWOW64AMDBugReportTool.exe]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov dword [rcx + 0x18], eax
movzx eax, word [0x1400b2f7c]
mov word [rcx + 0x1c], ax
movzx eax, byte [0x1400b2f7e]
mov byte [rcx + 0x1e], al
sub ebx, 1
je 0x1400377e4
sub ebx, 1
je 0x1400377db
cmp ebx, 1
jne 0x1400379f6
lea rdx, str.__ACR3__h0x_p
jmp 0x1400377eb
lea rdx, str.__ACR2__h0x_p
jmp 0x1400377eb
lea rdx, str.__ACR1__h0x_p
mov r8, qword [0x1400da388]
lea rcx, [rbp - 0x20]
call fcn.140003f20
mov qword [rsp + 0x1448], rsi
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x1450], rdi
dec rcx
mov qword [rsp + 0x1420], r12
mov qword [rsp + 0x1418], r14
mov qword [rsp + 0x1410], r15
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140037830
lea r8, [rbp - 0x20]
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140037840
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1400514f0
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x58], rax
mov r12d, 0x400
mov qword [rsp + 0x60], rax
nop dword [rax]
nop word [rax + rax]
movsd xmm0, qword [str._unknown_]
lea rcx, [rbp + 0xfa]
movzx eax, word [0x1400b0fc0]
xor edx, edx
mov r8d, 0xfa
movsd qword [rbp + 0xf0], xmm0
mov word [rbp + 0xf8], ax
call fcn.1400514f0
lea r8, [rbp + 0x1340]
mov edx, 0x1000
lea rcx, [rbp + 0x310]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x140037975
mov r14d, dword [rbp + 0x1340]
mov ebx, r15d
shr r14d, 2
cmp r14d, r12d
cmova r14d, r12d
test r14d, r14d
je 0x140037975
lea rsi, [rbp + 0x310]
mov r8d, dword [rsi]
test r8d, r8d
je 0x14003796a
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14003796a
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessImageFileNameA
mov dword [rbp + 0x1340], eax
cmp eax, 0x14
jb 0x140037961
lea edx, [rax - 0x14]
lea rcx, [rbp + 0xf0]
add rcx, rdx
lea rdx, str.AMDBugReportForm.exe
call fcn.140078434
test eax, eax
je 0x140037a02
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rsi, 4
cmp ebx, r14d
jb 0x140037903
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x200]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r15, qword [rsp + 0x1410]
mov r14, qword [rsp + 0x1418]
mov r12, qword [rsp + 0x1420]
mov rdi, qword [rsp + 0x1450]
mov rsi, qword [rsp + 0x1448]
test eax, eax
jne 0x140037a62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140031ba0
xor al, al
add rsp, 0x1428
pop rbx
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov r8d, dword [rbp + rax*4 + 0x310]
test r8d, r8d
je 0x140037975
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140037890
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140037a54
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140037890
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x1428
pop rbx
pop rbp
ret