Function at 0x1401ad790
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r13, rdx
mov r12, rcx
xor edi, edi
mov dword [rbp + 0x67], edi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 5]
call fcn.1401ad130
mov eax, dword [rbp + 0x67]
test eax, eax
jne 0x1401ad828
lea rcx, [0x1400040c8]
call fcn.140dea1c4
nop
mov rdi, rax
lea rcx, [0x1400040e0]
call fcn.140dea1c4
nop
mov rbx, rax
mov r9d, 0x10
mov r8, rax
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call fcn.140dea1f9
nop
mov rcx, rbx
call fcn.140dea1f9
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, rax
cmp qword [r12 + 0x50], rax
jae 0x1401ad87f
add rbx, 0x1e0
mov qword [r12 + 0x50], rbx
mov rdi, qword [r12 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
test rdi, rdi
jne 0x1401ad86c
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x1401ad878
mov r9, rbx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
xor edi, edi
mov qword [r12 + 0x48], rax
mov r9d, dword [r12 + 0x50]
mov dword [rbp + 0x67], r9d
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r8, qword [r12 + 0x48]
mov edx, 5
mov rcx, r12
call fcn.1401ad130
test eax, eax
js 0x1401add31
mov rbx, qword [r12 + 0x48]
mov qword [rbp + 0x7f], rbx
cmp word [rbx + 0x38], 0
je 0x1401add16
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp qword [rbx + 0x50], rax
je 0x1401add16
movzx esi, word [rbx + 0x38]
mov r15, qword [rbx + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
lea r14, [rsi + rsi]
mov qword [rbp - 0x11], 7
lea rcx, [rbp - 0x29]
cmp rsi, 8
jae 0x1401ad918
mov qword [rbp - 0x19], rsi
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + r14 - 0x29], di
jmp 0x1401ad959
mov rdi, rsi
or rdi, 7
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.14002f880
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rdi
mov r8, r14
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [r14 + rbx], ax
lea rdi, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
setae al
mov rbx, qword [rbp - 0x29]
cmovae rdi, rbx
lea rcx, [rbp - 0x29]
test al, al
mov rax, qword [rbp - 0x19]
je 0x1401ad986
lea rsi, [rbx + rax*2]
jmp 0x1401ad98e
lea rsi, [rcx + rax*2]
lea rbx, [rbp - 0x29]
cmp rbx, rsi
je 0x1401ad9bb
sub rdi, rbx
nop dword [rax]
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rdi + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x1401ad9a1
mov rax, qword [r12 + 0x38]
mov qword [rbp - 0x41], rax
mov r14, qword [r12 + 0x30]
cmp r14, rax
je 0x1401adcca
mov r15, qword [rbp + 0x7f]
mov r11, qword [r14 + 0x10]
mov rbx, r14
cmp qword [r14 + 0x18], 8
jb 0x1401ad9eb
mov rbx, qword [r14]
lea rdi, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdi, qword [rbp - 0x29]
mov rax, qword [rbp - 0x19]
cmp r11, rax
ja 0x1401adcbc
sub rax, r11
test r11, r11
je 0x1401adab9
inc rax
lea rsi, [rdi + rax*2]
mov rax, rdi
movzx r10d, word [rbx]
nop word [rax + rax]
mov rcx, rsi
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x1401ada65
cmp word [rax], r10w
je 0x1401ada62
cmp rcx, 1
je 0x1401ada65
dec rcx
add rax, 2
cmp word [rax], r10w
jne 0x1401ada47
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1401adcbc
mov r8, r11
mov rdx, rbx
test r11, r11
je 0x1401adaa9
mov r9, rax
sub r9, rbx
nop dword [rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x1401adb95
add rdx, 2
sub r8, 1
jne 0x1401ada8d
sub rax, rdi
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1401adcbc
mov qword [rbp + 0x77], 0xffffffffffffffff
xor eax, eax
mov qword [rbp - 0x31], rax
mov rax, qword [r15 + 0x50]
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movabs rbx, 0x852396afe3269
cmp qword [0x140216120], rbx
je 0x1401adb9e
mov rax, qword [0x140216130]
movabs rcx, 0xc562983199256
cmp rax, rcx
je 0x1401adb9e
cmp byte [0x140217100], 0
jne 0x1401adb2d
xor rax, rcx
lea rdx, [0x1401ad4d0]
mov ecx, 1
call rax
mov ecx, 1
call fcn.1401fcb4c
mov rdi, rax
mov rbx, qword [r12 + 0x10]
movabs rax, 0x5823597f19bdee7
xor rbx, rax
mov rcx, rdi
movabs rax, 0x582359278457259
xor rcx, rax
mov qword [rbp - 0x49], rcx
lea rdx, [rbp - 0x49]
lea rcx, [0x1402170f0]
call fcn.140029e00
mov qword [rax], rbx
lea r9, [rbp - 0x39]
lea r8, [rbp - 9]
mov edx, 1
lea rcx, [rbp + 0x77]
call rdi
movabs rbx, 0x852396afe3269
jmp 0x1401adbc3
add rax, 2
jmp 0x1401ada29
mov rax, qword [r12 + 0x10]
movabs rcx, 0x589deacbe
xor rax, rcx
lea r9, [rbp - 0x39]
lea r8, [rbp - 9]
mov edx, 1
lea rcx, [rbp + 0x77]
call rax
mov rsi, qword [rbp + 0x77]
cmp rsi, 0xffffffffffffffff
je 0x1401adcbc
cmp qword [0x140216120], rbx
je 0x1401adc68
mov rax, qword [0x140216130]
movabs rcx, 0xc562983199256
cmp rax, rcx
je 0x1401adc68
cmp byte [0x140217100], 0
jne 0x1401adc16
xor rax, rcx
lea rdx, [0x1401ad4d0]
mov ecx, 1
call rax
mov ecx, 1
call fcn.1401fcb4c
mov rdi, rax
mov rbx, qword [r12 + 0x20]
movabs rax, 0x58235932f562fb5
xor rbx, rax
mov rdx, rdi
movabs rax, 0x582359278457259
xor rdx, rax
mov qword [rbp - 0x49], rdx
lea rdx, [rbp - 0x49]
lea rcx, [0x1402170f0]
call fcn.140029e00
mov qword [rax], rbx
xor edx, edx
mov rcx, rsi
call rdi
jmp 0x1401adc81
mov rax, qword [r12 + 0x20]
movabs rcx, 0x157135dec
xor rax, rcx
xor edx, edx
mov rcx, rsi
call rax
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [r13 + 8]
cmp rax, qword [r13 + 0x10]
je 0x1401adcae
mov rdx, r14
mov rcx, rax
call fcn.140049a50
add qword [r13 + 8], 0x20
jmp 0x1401adcbc
mov r8, r14
mov rdx, rax
mov rcx, r13
call fcn.14007f300
add r14, 0x20
cmp r14, qword [rbp - 0x41]
jne 0x1401ad9d6
mov rcx, qword [rbp - 0x11]
cmp rcx, 8
jb 0x1401add12
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401add0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401add2a
call fcn.1401fcb88
mov rbx, qword [rbp + 0x7f]
mov eax, dword [rbx]
test eax, eax
je 0x1401add31
add rbx, rax
xor edi, edi
jmp 0x1401ad8b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret