Function at 0x140001980
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x670
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov ecx, 0xff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 0xff
mov rbp, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea rsi, str.kdmapper.exe
mov edx, 0x2e
mov rcx, rsi
mov r14, rax
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdx, rsi
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rbx, rax
sub rdi, rsi
sar rdi, 1
mov r8, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add rdi, rdi
cmp rdi, 0x1fe
jae 0x140001e5b
mov qword [rsp + 0x690], r15
lea rcx, [rsp + 0x260]
xor r15d, r15d
mov word [rsp + rdi + 0x60], r15w
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rcx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140001a30
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
imul ebx, eax, 0x12345678
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
lea r8, str._x_x
mov dword [rsp + 0x20], ebx
imul r9d, eax, 0x12345678
lea rcx, [rsp + 0x48]
mov edx, 9
call fcn.140001020
lea rax, [rsp + 0x260]
mov edx, 0xff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rsp + 0x460]
call fcn.140001020
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x460]
movups xmm0, xmmword [rcx]
lea rsi, str.driver.sys
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
mov rax, qword [rcx + 0x70]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [rcx]
movups xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm1
movups xmm1, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm1
movups xmm1, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm0
movups xmmword [rdx + 0x60], xmm1
mov qword [rdx + 0x70], rax
mov eax, dword [rcx + 0x78]
mov dword [rdx + 0x78], eax
movzx eax, word [rcx + 0x7c]
mov word [rdx + 0x7c], ax
movzx eax, byte [rcx + 0x7e]
mov rcx, rsi
mov byte [rdx + 0x7e], al
mov edx, 0x2e
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdx, rsi
lea rcx, [rsp + 0x460]
mov rbx, rax
mov rdi, rax
sub rbx, rsi
sar rbx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add rbx, rbx
cmp rbx, 0x1fe
jae 0x140001e61
lea rcx, [rsp + 0x260]
mov word [rsp + rbx + 0x460], r15w
sub rcx, rdi
nop
movzx eax, word [rdi]
mov word [rcx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x140001ba0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
imul ebx, eax, 0x12345678
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
lea r8, str._x_x
mov dword [rsp + 0x20], ebx
imul r9d, eax, 0x12345678
lea rcx, [rsp + 0x48]
mov edx, 9
call fcn.140001020
lea rax, [rsp + 0x260]
mov edx, 0xff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rsp + 0x60]
call fcn.140001020
lea rdx, [r14 + 0x80]
lea rcx, [rsp + 0x60]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
mov rax, qword [rcx + 0x70]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [r14 + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [r14 + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [r14 + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [r14 + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [r14 + 0x50], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [r14 + 0x60], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rdx - 0x10], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rax
mov eax, dword [rcx + 0x78]
mov dword [rdx + 0x78], eax
movzx eax, word [rcx + 0x7c]
mov word [rdx + 0x7c], ax
movzx eax, byte [rcx + 0x7e]
xor ecx, ecx
mov byte [rdx + 0x7e], al
mov edx, 0x65
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rdi
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x66
xor ecx, ecx
lea r8d, [rdx - 0x5c]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r14
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rdi
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, r14
mov dword [rsp + 0x28], 1
mov r8, rbp
mov qword [rsp + 0x20], r15
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, rbp
call fcn.1400018c0
test al, al
je 0x140001e07
nop word [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbp
call fcn.1400018c0
test al, al
jne 0x140001df0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x690]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140002390
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400024b8
int3
call fcn.1400024b8
int3