Function at 0x1400100c0
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xac0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14008b5a0]
xor rax, rsp
mov qword [rsp + 0xab0], rax
movzx r13d, r8b
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
je 0x1400104cf
test rdx, rdx
je 0x1400104cf
lea rdx, str.mfendisk.sys
call fcn.14004d5a4
test eax, eax
je 0x14001013f
lea rdx, str.mfenlfk.sys
mov rcx, rsi
call fcn.14004d5a4
test eax, eax
je 0x14001013f
lea rcx, str.ERROR:_Required_INF_element_not_found__n
call fcn.1400154e0
xor al, al
jmp 0x1400104dd
mov rdx, rsi
lea rcx, str.InstallCustomDriver__S_n
call fcn.1400154e0
mov r8d, 0x64
lea rdx, [rsp + 0xb0]
mov rcx, rsi
call fcn.14000de80
mov edx, 0x104
lea rcx, [rsp + 0x8a0]
call fcn.14003a0f0
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x8a0]
lea r8, [0x1400625b8]
mov edx, 0x12c
lea rcx, [rsp + 0x3e0]
call fcn.140039220
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3e0]
repne scasw ax, word [rdi]
not rcx
lea r12, [rcx - 1]
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.140024b70
xor r14d, r14d
cmp qword [0x14008d4a8], r14
je 0x14001037f
xor edx, edx
xor ecx, ecx
call fcn.14003cb00
cmp eax, 0x1770
jge 0x14001037f
mov qword [rsp + 0x48], r14
lea ebx, [r12 + r12 + 0x3a]
mov ebp, ebx
mov ecx, ebx
call fcn.14004c8b0
mov rdi, rax
test rax, rax
je 0x140010363
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.14004c980
mov dword [rdi], 3
mov dword [rdi + 4], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov qword [rdi + 8], rdx
mov dword [rdi + 0x10], 2
mov dword [rdi + 0x14], 1
mov dword [rdi + 0x28], r12d
lea rbx, [rdi + 0x38]
mov r8d, r12d
lea rdx, [rsp + 0x3e0]
mov rcx, rbx
call fcn.14004c838
mov dx, 0x2e
mov rcx, rbx
call fcn.14004d9d0
test rax, rax
je 0x140010275
lea r8d, [r14 + 4]
lea rdx, str..cat
mov rcx, rax
call fcn.14004c838
mov rdx, rbx
lea rcx, str.InstallCustomDriver:_Verifying_signature_on_NDIS_cat__S_n
call fcn.1400154e0
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x44]
mov rcx, rdi
call fcn.140047930
test eax, eax
jne 0x140010357
lea rcx, str.InstallCustomDriver:_NDIS_Cat_failed_validation__deleting_catalog_database_to_force_re_build_n
call fcn.1400154e0
mov r9d, 0x12c
lea r8, [rsp + 0x640]
lea rdx, str.catroo2edb.log
xor ecx, ecx
call fcn.14000df60
mov r9d, 0x12c
lea r8, [rsp + 0x180]
lea rdx, str.catroo2edb.tst
xor ecx, ecx
call fcn.14000df60
call fcn.140006520
mov rbx, rax
mov rcx, rax
call fcn.140006680
mov r8d, 1
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x640]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140010341
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x640]
lea rcx, str.ERROR:_InstallCustomDriver:_MoveFile_from__S_to__S_failed__x_n
call fcn.1400154e0
test rbx, rbx
je 0x140010363
cmp rbx, 0xffffffffffffffff
je 0x140010363
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140010363
lea rcx, str.InstallCustomDriver:_cat_validated_succesfully_n
call fcn.1400154e0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140010372
call fcn.1400480c0
test rdi, rdi
je 0x14001037f
mov rcx, rdi
call fcn.14004ca6c
call fcn.140006520
mov rdi, rax
test rax, rax
je 0x1400103bf
cmp rax, 0xffffffffffffffff
je 0x1400103bf
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9edb6510
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor ecx, ecx
call fcn.14000f470
mov ebp, eax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov r8d, 0x258
lea rcx, [rsp + 0x180]
call fcn.14004c980
mov r8d, 0x12c
lea rdx, [rsp + 0x180]
mov rcx, rsi
call fcn.14000dee0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x180]
mov rcx, rsi
call fcn.1400079e0
mov r8, qword [0x14008cd30]
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x60]
call fcn.140024f10
nop
lea rax, [0x14008cd28]
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0xb20]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], r13b
mov r9d, 1
lea r8, [rsp + 0xb0]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140026150
test eax, eax
jns 0x140010474
cmp eax, 0x4a020
je 0x140010474
xor bl, bl
jmp 0x140010476
mov bl, 1
mov ecx, ebp
call fcn.14000f470
test rdi, rdi
je 0x140010491
cmp rdi, 0xffffffffffffffff
je 0x140010491
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, 1
lea rcx, [rsp + 0xb0]
call fcn.140024b70
lea rax, str.successful_n
lea rdx, str.failed_n
test bl, bl
cmovne rdx, rax
lea rcx, str.InstallCustomDriver__s
call fcn.1400154e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400258b0
mov al, bl
jmp 0x1400104dd
lea rcx, str.ERROR:_InstallCustomDriver:_NULL_ptr_n
call fcn.1400154e0
xor al, al
mov rcx, qword [rsp + 0xab0]
xor rcx, rsp
call fcn.14004c890
add rsp, 0xac0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret