Function at 0x18005eb40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r15, r9
mov dword [rsp + 0x30], ecx
lea r9d, [rcx + rcx*8]
mov rdi, r8
add r9d, r9d
mov r12, rdx
mov dword [rsp + 0x34], r9d
mov r8d, ecx
mov edx, ecx
cmp ecx, r9d
ja 0x18005f0fe
mov ebx, dword [rsp + 0xb0]
xor r13d, r13d
mov r14, qword [rsp + 0x40]
nop dword [rax + rax]
cmp edx, 0xd5
ja 0x18005ed1e
je 0x18005ecde
mov eax, edx
sub eax, 0x47
je 0x18005ec4f
sub eax, 0x2b
je 0x18005ec30
sub eax, 0x26
je 0x18005ec09
cmp eax, 0x32
jne 0x18005f0ed
mov rax, qword [r15]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x60]
mov rax, qword [r12]
lea rdx, [rsp + 0x48]
mov ecx, 0x2a
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x20], rdi
call fcn.180057280
jmp 0x18005f0dc
test rdi, rdi
je 0x18005f0ed
xor edx, edx
mov r8d, 0x528
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005f0dc
test r12, r12
je 0x18005f0fe
mov rcx, qword [rdi]
mov r8d, 0xb5
mov rdx, r12
call fcn.18004aed0
jmp 0x18005f0dc
movsxd rax, dword [r15 + 0x18]
mov esi, r13d
test eax, eax
jle 0x18005ec9d
mov r9, qword [r15 + 0x10]
mov r8, rax
mov rdx, r9
mov rcx, rdi
sub rdx, rdi
nop word [rax + rax]
movzx eax, byte [rcx]
cmp byte [rdx + rcx], al
jne 0x18005f154
inc rcx
inc esi
mov rax, rcx
sub rax, rdi
cmp rax, r8
jl 0x18005ec70
mov edx, dword [rsp + 0x30]
mov r8d, dword [rsp + 0xb0]
mov r9d, dword [rsp + 0x34]
movsxd rax, dword [r15 + 8]
mov esi, r13d
mov rcx, r13
test eax, eax
jle 0x18005f0ed
mov r8, qword [r15]
mov rdx, rax
nop word [rax + rax]
movzx eax, byte [rcx + r8]
cmp eax, dword [r12 + rcx*4]
jne 0x18005f190
inc esi
inc rcx
cmp rcx, rdx
jl 0x18005ecc0
jmp 0x18005f0e1
mov esi, dword [r12 + 0x68]
mov ebp, dword [r15 + 8]
add esi, 0x1b
cmp ebp, esi
je 0x18005f0ed
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
lea rdx, str.Print_CFG_of_function_to_dot_file
mov rcx, rax
mov r8d, ebp
call fcn.18005f710
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp edx, 0x121
je 0x18005f149
cmp edx, 0x363
je 0x18005f11d
cmp edx, 0x5a5
je 0x18005ed58
cmp edx, 0x7e7
jne 0x18005f0ed
sub ebx, dword [rdi + 0x28]
add ebx, dword [rsp + 0x3c]
mov eax, ebx
jmp 0x18005f105
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x50]
inc ecx
mov r8d, dword [rax + 4]
sar r8d, cl
mov ecx, dword [rdi + 0x28]
mov dword [rsp + 0x3c], r8d
test ecx, ecx
js 0x18005f226
mov r10, qword [rsp + 0x40]
movsxd r9, r8d
cmp dword [rdi + 0x40], r8d
jne 0x18005eea9
cmp dword [r10 + 4], 0
mov r12d, r13d
jle 0x18005ee93
mov r15, r13
nop dword [rax]
mov rax, qword [rdi + 0x10]
mov r8, r13
mov r14, qword [r15 + rax]
cmp r9, 4
jl 0x18005ee51
lea rax, [r9*4]
mov r10, 0xfffffffffffffffc
mov r11, r9
lea rdx, [r9 - 4]
mov esi, 4
shr rdx, 2
mov rbp, 0xfffffffffffffffe
lea rcx, [r9 + 2]
sub r10, rax
lea rcx, [r14 + rcx*4]
neg r11
sub rsi, rax
sub rbp, r9
inc rdx
lea r8, [rdx*4]
nop word [rax + rax]
movss xmm0, dword [rcx + rbp*4]
mov eax, dword [rcx - 8]
mov dword [rcx + rbp*4], eax
mov eax, dword [rcx - 4]
movss dword [rcx - 8], xmm0
movss xmm1, dword [r10 + rcx]
mov dword [r10 + rcx], eax
mov eax, dword [rcx]
movss dword [rcx - 4], xmm1
movss xmm0, dword [rcx + r11*4]
mov dword [rcx + r11*4], eax
mov eax, dword [rcx + 4]
movss dword [rcx], xmm0
movss xmm1, dword [rsi + rcx]
mov dword [rsi + rcx], eax
movss dword [rcx + 4], xmm1
lea rcx, [rcx + 0x10]
sub rdx, 1
jne 0x18005ee00
mov r10, qword [rsp + 0x40]
cmp r8, r9
jge 0x18005ee7a
mov rdx, r9
lea rcx, [r14 + r8*4]
sub rdx, r8
movss xmm0, dword [rcx]
mov eax, dword [rcx + r9*4]
mov dword [rcx], eax
movss dword [rcx + r9*4], xmm0
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x18005ee60
inc r12d
add r15, 8
cmp r12d, dword [r10 + 4]
jl 0x18005eda0
mov ecx, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x3c]
sub dword [rdi + 0x24], r8d
mov r12, qword [rsp + 0xb8]
sub ecx, r8d
mov dword [rdi + 0x28], ecx
mov dword [rdi + 0x40], r13d
mov eax, dword [rdi + 0x38]
mov edx, dword [rdi + 0x34]
xor eax, edx
cmp eax, 1
jne 0x18005efac
cmp dword [r10 + 4], 0
mov ebp, r13d
jle 0x18005ef91
mov ecx, dword [rsp + 0x38]
mov eax, r8d
sub eax, ecx
jns 0x18005eed5
inc eax
sar eax, 1
mov r14, r13
movsxd r15, eax
lea eax, [rcx + r8]
cdq
sub eax, edx
sar eax, 1
dec eax
movsxd rsi, eax
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov rdx, rsi
mov r10, qword [r14 + rax]
lea r11, [r10 + r15*4]
test rsi, rsi
js 0x18005ef74
cmp rsi, 3
jl 0x18005ef58
lea r9, [rsi + 1]
mov r8, r10
shr r9, 2
lea rcx, [rsi - 1]
sub r8, r11
lea rcx, [r11 + rcx*4]
lea rax, [r9*4]
sub rdx, rax
nop dword [rax + rax]
mov eax, dword [r8 + rcx + 4]
mov dword [rcx + 4], eax
mov eax, dword [r8 + rcx]
mov dword [rcx], eax
mov eax, dword [r8 + rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8 + rcx - 8]
mov dword [rcx - 8], eax
lea rcx, [rcx - 0x10]
sub r9, 1
jne 0x18005ef30
test rdx, rdx
js 0x18005ef74
lea rcx, [r11 + rdx*4]
sub r10, r11
sub rdx, 1
mov eax, dword [rcx + r10]
mov dword [rcx], eax
lea rcx, [rcx - 4]
jns 0x18005ef64
mov r10, qword [rsp + 0x40]
inc ebp
add r14, 8
cmp ebp, dword [r10 + 4]
jl 0x18005eef0
mov ecx, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x3c]
mov edx, r8d
sub edx, dword [rsp + 0x38]
jns 0x18005ef9c
inc edx
sar edx, 1
add dword [rdi + 0x24], edx
lea eax, [rcx + rdx]
mov dword [rdi + 0x28], eax
jmp 0x18005f088
test edx, edx
jne 0x18005f088
mov ebp, r13d
cmp dword [r10 + 4], edx
jle 0x18005f074
movsxd r13, dword [rsp + 0x38]
sub r9, r13
xor r14d, r14d
lea r15, [r13 - 1]
mov rax, qword [rdi + 0x10]
mov rdx, r15
mov r11, qword [r14 + rax]
lea rsi, [r11 + r9*4]
test r15, r15
js 0x18005f059
cmp r13, 4
jl 0x18005f03d
mov r10, r13
lea rcx, [r15 - 1]
shr r10, 2
lea rcx, [rsi + rcx*4]
mov r8, r11
sub r8, rsi
lea rax, [r10*4]
sub rdx, rax
nop word [rax + rax]
mov eax, dword [r8 + rcx + 4]
mov dword [rcx + 4], eax
mov eax, dword [r8 + rcx]
mov dword [rcx], eax
mov eax, dword [r8 + rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8 + rcx - 8]
mov dword [rcx - 8], eax
lea rcx, [rcx - 0x10]
sub r10, 1
jne 0x18005f010
mov r10, qword [rsp + 0x40]
test rdx, rdx
js 0x18005f059
lea rcx, [rsi + rdx*4]
sub r11, rsi
sub rdx, 1
mov eax, dword [r11 + rcx]
mov dword [rcx], eax
lea rcx, [rcx - 4]
jns 0x18005f049
inc ebp
add r14, 8
cmp ebp, dword [r10 + 4]
jl 0x18005efd0
mov ecx, dword [rdi + 0x28]
xor r13d, r13d
mov r8d, dword [rsp + 0x3c]
sub ecx, dword [rsp + 0x38]
mov eax, r8d
sub eax, dword [rsp + 0x38]
add ecx, r8d
add dword [rdi + 0x24], eax
mov dword [rdi + 0x28], ecx
test r12, r12
je 0x18005f0cf
cmp dword [r10 + 4], 0
mov r9d, r13d
jle 0x18005f0c7
mov r8, r13
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
lea r8, [r8 + 8]
movsxd rcx, dword [rdi + 0x28]
inc r9d
mov rax, qword [rax + r8 - 8]
lea rdx, [rax + rcx*4]
mov rax, qword [rdi + 0x18]
mov qword [r8 + rax - 8], rdx
cmp r9d, dword [r10 + 4]
jl 0x18005f0a0
mov rax, qword [rdi + 0x18]
mov qword [r12], rax
mov r15, qword [rsp + 0xc8]
mov r14, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
mov r8d, dword [rsp + 0xb0]
lea edx, [rdx + r8*2]
mov dword [rsp + 0x30], edx
cmp edx, r9d
jbe 0x18005eba0
mov eax, dword [rsp + 0xb0]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [r14 + 0x20]
mov qword [rsp + 0x68], r8
mov eax, dword [r8 + 0x1668]
mov dword [rsp + 0x50], eax
lea ecx, [rax + 1]
movsxd rax, dword [rdi + 0x38]
mov ebx, dword [r8 + rax*4]
mov eax, dword [r8]
sar ebx, cl
sar eax, cl
mov dword [rsp + 0x38], eax
jmp 0x18005f0e5
mov r14, qword [rdi + 8]
mov qword [rsp + 0x40], r14
jmp 0x18005f0ed
movsxd rax, esi
mov ecx, 2
movzx ebx, byte [r9 + rax]
movzx edi, byte [rax + rdi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, edi
mov dword [rsp + 0x20], ebx
mov rcx, rax
lea rdx, str.SDK:_UTPS_PBSrv_AddrRecordSet_Release_Invoke
mov r8d, esi
call fcn.18005f710
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, esi
lea rdx, str.DomDistiller.DistillabilityRejection
mov rcx, rax
call fcn.18005f710
mov eax, dword [r12 + 0x68]
add eax, 0x1b
test eax, eax
jle 0x18005f200
mov rdi, r13
nop dword [rax]
mov rax, qword [r15]
mov ecx, 2
movzx ebx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [r12 + rdi*4]
lea rdx, str.ScrollPageUpKey
mov rcx, rax
mov dword [rsp + 0x20], ebx
mov r8d, r13d
call fcn.18005f710
mov eax, dword [r12 + 0x68]
lea rdi, [rdi + 1]
add eax, 0x1b
inc r13d
cmp r13d, eax
jl 0x18005f1c0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x1800763ec]
call fcn.18005f710
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, r13d
jmp 0x18005f105