Function at 0x140006d30
Capabilities:
Create directory
Encode data using xor
Execute command
Log keystrokes via polling
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x14003c240]
xor rax, rsp
mov qword [rbp + 7], rax
lea rcx, str.kdmapper.exe_quyengabon.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp - 9], 0x49555b
mov byte [rbp - 5], 1
xor esi, esi
mov ecx, esi
nop dword [rax + rax]
lea eax, [rcx + 0x38]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 3
jb 0x140006d90
mov byte [rbp - 5], sil
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
call fcn.140006280
test al, al
jne 0x140006e2a
lea rdx, str.EcpvaRtgrctcvkqpaEjgcv
lea rcx, [rbp - 0x49]
call fcn.140004950
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1400061e0
nop
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007810
lea rdx, [0x1400077d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp - 0x29]
call fcn.140004840
mov ecx, 0x1f40
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], rsi
mov r8d, 5
lea rdx, str.0Tgu
lea rcx, [rbp - 0x49]
call fcn.140004ab0
mov rdx, rsi
nop dword [rax + rax]
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
seta r9b
mov r8, qword [rbp - 0x49]
cmova rcx, r8
cmp byte [rdx + rcx], sil
je 0x140006ea5
lea rax, [rbp - 0x49]
test r9b, r9b
je 0x140006e8b
movzx eax, byte [r8 + rdx]
jmp 0x140006e93
movzx eax, byte [rdx + rax]
lea r8, [rbp - 0x49]
sub al, 2
mov byte [rdx + r8], al
inc rdx
cmp rdx, 0x400
jl 0x140006e60
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x19], xmm1
lea rcx, [rbp - 0x29]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rcx, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140006f16
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006f11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009ae0
lea rdx, [0x1400077d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Wait_Game_Open
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007600
lea rdx, [0x1400077d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._n_Made_by_quyengabon
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007600
lea rdx, [0x1400077d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400077d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140007b00
test eax, eax
jne 0x140006fa4
nop dword [rax]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140007b00
test eax, eax
je 0x140006f90
mov ecx, 0x258
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140007b00
mov ebx, eax
test eax, eax
jle 0x1400073b1
mov ecx, 0x18
call fcn.140009864
mov rcx, rax
mov qword [rbp - 1], rax
call fcn.140006270
mov r8d, 2
mov edx, ebx
call fcn.1400086f0
nop
mov qword [0x140045750], rax
lea rdx, str.RogueCompany.exe
lea rcx, [rbp - 0x49]
call fcn.140004950
mov rdx, rax
mov rcx, qword [0x140045750]
call fcn.140008770
lea rdx, [rax + 0x68e3640]
call fcn.140007520
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp eax, 0x41200000
jne 0x1400072d3
lea rdx, str.magic_building_is_running__cannot_be_turned_off
call fcn.140007600
lea rdx, [0x1400077d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs r14, 0x2f000000000
movss xmm8, dword [0x1400341cc]
movss xmm6, dword [0x1400341c0]
movss xmm7, dword [0x1400341c4]
movss xmm9, dword [0x1400341c8]
nop
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp - 9], 0xc802be00
mov dword [rbp - 5], 0x114140ab
lea rcx, [rbp - 0x49]
call fcn.140006270
lea rcx, [rbp - 0x49]
call fcn.1400074b0
nop
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
movabs r9, 0x10000000000
mov r8d, 8
lea rdx, [rbp - 9]
mov rcx, qword [0x140045750]
call fcn.140009260
lea rcx, [rbp - 0x49]
call fcn.140007440
test rax, rax
je 0x140007185
mov edi, esi
lea rcx, [rbp - 0x49]
call fcn.140007440
test rax, rax
je 0x140007185
mov rbx, rsi
nop dword [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140007430
mov rdx, qword [rax]
add rdx, 0x48
call fcn.140007520
cmp eax, 0x413c0000
jne 0x14000716e
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140007430
mov rdx, qword [rax]
add rdx, 0x48
movaps xmm2, xmm8
call fcn.140007830
lea rdx, [0x140006040]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, str.magic_running
call fcn.140007600
lea rdx, [0x1400077d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc edi
movsxd rbx, edi
lea rcx, [rbp - 0x49]
call fcn.140007440
cmp rbx, rax
jb 0x140007100
mov dword [rbp - 1], 0xc802be00
mov dword [rbp + 3], 0x114140ab
lea rcx, [rbp - 0x29]
call fcn.140006270
lea rcx, [rbp - 0x29]
call fcn.1400074b0
nop
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
movabs r9, 0x10000000000
mov r8d, 8
lea rdx, [rbp - 1]
mov rcx, qword [0x140045750]
call fcn.140009260
lea rcx, [rbp - 0x29]
call fcn.140007440
test rax, rax
je 0x1400072b0
mov edi, esi
lea rcx, [rbp - 0x29]
call fcn.140007440
test rax, rax
je 0x1400072b0
mov rbx, rsi
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140007430
mov rdx, qword [rax]
add rdx, 0x48
call fcn.140007590
comiss xmm0, xmm6
ja 0x14000724a
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140007430
mov rdx, qword [rax]
add rdx, 0x48
call fcn.140007590
comiss xmm7, xmm0
jb 0x140007299
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140007430
mov rdx, qword [rax]
add rdx, 0x48
movaps xmm2, xmm9
call fcn.140007830
lea rdx, [0x140006040]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, str.magic_running
call fcn.140007600
lea rdx, [0x1400077d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc edi
movsxd rbx, edi
lea rcx, [rbp - 0x29]
call fcn.140007440
cmp rbx, rax
jb 0x140007210
lea rcx, [rbp - 0x29]
call fcn.140007450
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp - 0x49]
call fcn.140007450
jmp 0x140007070
lea rdx, str._n_quyengabon
call fcn.140007600
lea rdx, [0x1400077d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140033dd0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.0TguEqphki
lea rcx, [rbp - 0x49]
call fcn.140004950
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1400061e0
mov rcx, rax
call fcn.140004c60
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp - 0x29]
call fcn.140004840
lea rdx, str.0TguEqphkiiwk0kpk
lea rcx, [rbp - 0x49]
call fcn.140004950
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1400061e0
mov rdx, rax
call fcn.1400048a0
lea rcx, [rbp - 0x29]
call fcn.140004840
lea rdx, str.0TguEqphki_0kpk
lea rcx, [rbp - 0x49]
call fcn.140004950
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.1400061e0
nop
mov rcx, rax
call fcn.140004c60
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140004950
mov rcx, rax
call fcn.140007f40
nop
lea rcx, [rbp - 0x69]
call fcn.140004840
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400073dc
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400073c1
lea rdx, str.0TguEqphkiiwk0kpk
lea rcx, [rbp - 0x69]
call fcn.140004950
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.1400061e0
nop
mov rcx, rax
call fcn.140004c60
mov rcx, rax
call fcn.140005850
nop
lea rcx, [rbp - 0x49]
call fcn.140004840
mov byte [0x14003c2d0], 0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]