Function at 0x4ad24ac4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor r12d, r12d
mov dword [0x4ad2e138], r12d
cmp qword [0x4ad2e1e8], r12
je 0x4ad24b1e
xor ecx, ecx
call sub.KERNEL32.dll_CmdBatNotification
mov r11d, dword [0x4ad2e1b8]
mov rcx, qword [0x4ad2e1e8]
mov dword [0x4ad2e0e8], r11d
mov byte [0x4ad2e0c9], r12b
call fcn.4ad08380
mov qword [0x4ad2e1e8], r12
mov r13d, 1
cmp dword [0x4ad2e0f8], r12d
jne 0x4ad24b50
mov rax, qword [0x4ad2e1f0]
mov dword [0x4ad2e0f8], r13d
mov qword [0x4ad4b350], rax
mov rax, qword [0x4ad2e1f8]
mov qword [0x4ad4b358], rax
mov qword [0x4ad2e1f0], r12
mov qword [0x4ad2e1f8], r12
jmp 0x4ad24b65
call fcn.4ad06c8c
cmp qword [0x4ad2e208], r12
jne 0x4ad24b60
mov rbx, qword [0x4ad2e220]
cmp rbx, r12
je 0x4ad24cb0
mov rcx, qword [rbx + 0x10]
cmp rcx, r12
je 0x4ad24ba1
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, r12d
jne 0x4ad24ba1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4ad2e13c], eax
mov rcx, qword [rbx + 0x18]
cmp rcx, r12
je 0x4ad24bc4
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, r12d
jne 0x4ad24bc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4ad2e13c], eax
mov rbx, qword [rbx + 0x28]
cmp rbx, r12
jne 0x4ad24b7e
mov rbx, qword [0x4ad2e220]
jmp 0x4ad24ca7
mov rcx, qword [rbx + 0x10]
cmp rcx, r12
je 0x4ad24bf4
cmp dword [rbx + 0x20], r13d
jne 0x4ad24bf4
call fcn.4ad014f8
mov rbx, qword [0x4ad2e220]
mov rcx, qword [rbx + 0x18]
cmp rcx, r12
je 0x4ad24c0f
cmp dword [rbx + 0x24], r13d
jne 0x4ad24c0f
call fcn.4ad014f8
mov rbx, qword [0x4ad2e220]
mov ecx, dword [rbx]
cmp ecx, r12d
je 0x4ad24c22
call fcn.4ad0319c
mov rbx, qword [0x4ad2e220]
mov ecx, dword [rbx + 4]
cmp ecx, r12d
je 0x4ad24c36
call fcn.4ad0319c
mov rbx, qword [0x4ad2e220]
mov ecx, dword [rbx + 8]
cmp ecx, r12d
je 0x4ad24c75
call qword [sym.imp.msvcrt.dll__get_osfhandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rax, qword [0x4ad2e220]
xor edx, edx
mov ecx, dword [rax + 8]
call fcn.4ad06c00
mov r11, qword [0x4ad2e220]
mov ecx, dword [r11 + 8]
call fcn.4ad0319c
mov rbx, qword [0x4ad2e220]
mov ecx, dword [rbx + 0xc]
cmp ecx, r12d
je 0x4ad24c9c
mov edx, r13d
call fcn.4ad06c00
mov r11, qword [0x4ad2e220]
mov ecx, dword [r11 + 0xc]
call fcn.4ad0319c
mov rbx, qword [0x4ad2e220]
mov rbx, qword [rbx + 0x28]
mov qword [0x4ad2e220], rbx
cmp rbx, r12
jne 0x4ad24bd9
mov qword [0x4ad2e218], r12
mov dword [0x4ad2e184], r12d
mov qword [0x4ad2e260], r12
mov ebx, r12d
lea rsi, [0x4ad3bff8]
cmp dword [rsi], r12d
je 0x4ad24cfe
mov ebp, r13d
mov edi, r12d
test dword [rsi], ebp
je 0x4ad24cf4
cmp ebx, r12d
jne 0x4ad24ce8
cmp edi, 2
jle 0x4ad24cf4
mov ecx, ebx
shl ecx, 5
add ecx, edi
call fcn.4ad0319c
add edi, r13d
add ebp, ebp
cmp edi, 0x20
jl 0x4ad24cda
add ebx, r13d
add rsi, 4
cmp ebx, 3
jl 0x4ad24ccf
jmp 0x4ad24d1f
mov rcx, qword [0x4ad2e238]
cdqe
mov rcx, qword [rcx + rax*8 - 8]
call fcn.4ad0478c
mov eax, dword [0x4ad2e240]
cmp eax, r12d
jne 0x4ad24d0c
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.4ad011d8