Function at 0x140031d20
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.140039550
sub rsp, rax
mov ebx, edx
lea rcx, [rbp + 0x200]
xor edx, edx
mov r8d, 0x104
call fcn.14003aa80
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x104
call fcn.14003aa80
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 0x140031d80
mov eax, dword [0x140096f40]
movsd xmm1, qword [0x140096f38]
movups xmm0, xmmword [str.SysWOW64AMDBugReportTool.exe]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov dword [rcx + 0x18], eax
movzx eax, word [0x140096f44]
mov word [rcx + 0x1c], ax
movzx eax, byte [0x140096f46]
mov byte [rcx + 0x1e], al
sub ebx, 1
je 0x140031de4
sub ebx, 1
je 0x140031ddb
cmp ebx, 1
jne 0x140031ff6
lea rdx, str.__ACR3__h0x_p
jmp 0x140031deb
lea rdx, str.__ACR2__h0x_p
jmp 0x140031deb
lea rdx, str.__ACR1__h0x_p
mov r8, qword [0x1400b8048]
lea rcx, [rbp - 0x20]
call fcn.140003270
mov qword [rsp + 0x1440], 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 0x140031e30
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 0x140031e40
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.14003aa80
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 [0x140095530]
xor edx, edx
mov r8d, 0xfa
movsd qword [rbp + 0xf0], xmm0
mov word [rbp + 0xf8], ax
call fcn.14003aa80
lea r8, [rbp + 0x1348]
mov edx, 0x1000
lea rcx, [rbp + 0x310]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x140031f75
mov r14d, dword [rbp + 0x1348]
mov ebx, r15d
shr r14d, 2
cmp r14d, r12d
cmova r14d, r12d
test r14d, r14d
je 0x140031f75
lea rsi, [rbp + 0x310]
mov r8d, dword [rsi]
test r8d, r8d
je 0x140031f6a
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140031f6a
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessImageFileNameA
mov dword [rbp + 0x1348], eax
cmp eax, 0x14
jb 0x140031f61
lea edx, [rax - 0x14]
lea rcx, [rbp + 0xf0]
add rcx, rdx
lea rdx, str.AMDBugReportForm.exe
call fcn.1400619c4
test eax, eax
je 0x140032002
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rsi, 4
cmp ebx, r14d
jb 0x140031f03
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 + 0x1440]
test eax, eax
jne 0x140032062
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.14002bc40
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 0x140031f75
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140031e90
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140032054
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140031e90
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