Function at 0x1401ad870
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.1401ad230
mov eax, dword [rbp + 0x67]
test eax, eax
jne 0x1401ad908
lea rcx, [0x1400040c8]
call fcn.140dcaae3
nop
mov rdi, rax
lea rcx, [0x1400040e0]
call fcn.140dcaae3
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.140dcab1c
nop
mov rcx, rbx
call fcn.140dcab1c
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 0x1401ad95f
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 0x1401ad94c
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x1401ad958
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.1401ad230
test eax, eax
js 0x1401ade11
mov rbx, qword [r12 + 0x48]
mov qword [rbp + 0x7f], rbx
cmp word [rbx + 0x38], 0
je 0x1401addf6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
cmp qword [rbx + 0x50], rax
je 0x1401addf6
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 0x1401ad9f8
mov qword [rbp - 0x19], rsi
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + r14 - 0x29], di
jmp 0x1401ada39
mov rdi, rsi
or rdi, 7
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.14002fa00
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 0x1401ada66
lea rsi, [rbx + rax*2]
jmp 0x1401ada6e
lea rsi, [rcx + rax*2]
lea rbx, [rbp - 0x29]
cmp rbx, rsi
je 0x1401ada9b
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 0x1401ada81
mov rax, qword [r12 + 0x38]
mov qword [rbp - 0x41], rax
mov r14, qword [r12 + 0x30]
cmp r14, rax
je 0x1401addaa
mov r15, qword [rbp + 0x7f]
mov r11, qword [r14 + 0x10]
mov rbx, r14
cmp qword [r14 + 0x18], 8
jb 0x1401adacb
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 0x1401add9c
sub rax, r11
test r11, r11
je 0x1401adb99
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 0x1401adb45
cmp word [rax], r10w
je 0x1401adb42
cmp rcx, 1
je 0x1401adb45
dec rcx
add rax, 2
cmp word [rax], r10w
jne 0x1401adb27
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1401add9c
mov r8, r11
mov rdx, rbx
test r11, r11
je 0x1401adb89
mov r9, rax
sub r9, rbx
nop dword [rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x1401adc75
add rdx, 2
sub r8, 1
jne 0x1401adb6d
sub rax, rdi
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1401add9c
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 0x1401adc7e
mov rax, qword [0x140216130]
movabs rcx, 0xc562983199256
cmp rax, rcx
je 0x1401adc7e
cmp byte [0x140217100], 0
jne 0x1401adc0d
xor rax, rcx
lea rdx, [0x1401ad5d0]
mov ecx, 1
call rax
mov ecx, 1
call fcn.1401fcc9c
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.140029e50
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 0x1401adca3
add rax, 2
jmp 0x1401adb09
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 0x1401add9c
cmp qword [0x140216120], rbx
je 0x1401add48
mov rax, qword [0x140216130]
movabs rcx, 0xc562983199256
cmp rax, rcx
je 0x1401add48
cmp byte [0x140217100], 0
jne 0x1401adcf6
xor rax, rcx
lea rdx, [0x1401ad5d0]
mov ecx, 1
call rax
mov ecx, 1
call fcn.1401fcc9c
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.140029e50
mov qword [rax], rbx
xor edx, edx
mov rcx, rsi
call rdi
jmp 0x1401add61
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 0x1401add8e
mov rdx, r14
mov rcx, rax
call fcn.140049a90
add qword [r13 + 8], 0x20
jmp 0x1401add9c
mov r8, r14
mov rdx, rax
mov rcx, r13
call fcn.14007f620
add r14, 0x20
cmp r14, qword [rbp - 0x41]
jne 0x1401adab6
mov rcx, qword [rbp - 0x11]
cmp rcx, 8
jb 0x1401addf2
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401added
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ade0a
call fcn.1401fccd8
mov rbx, qword [rbp + 0x7f]
mov eax, dword [rbx]
test eax, eax
je 0x1401ade11
add rbx, rax
xor edi, edi
jmp 0x1401ad990
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