Function at 0x496e60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x497479
push rbp
mov rbp, rsp
sub rsp, 0xd0
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x130], rsi
cmp qword [rax + 0x118], r8
jne 0x497465
mov rdx, qword [rax + 0x120]
nop
cmp rdx, 0xc
jl 0x497450
mov r10, qword [rsp + 0xe8]
cmp r10, rdx
jl 0x497358
movabs r11, 0xfffffffe0
add r11, rdx
cmp r10, r11
ja 0x49733a
mov r11, r10
sub r10, rdx
nop word [rax + rax]
cmp r11, r10
jb 0x497445
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x118], rbx
movups xmmword [rsp + 0x80], xmm15
movups xmmword [rsp + 0x60], xmm15
mov rdx, qword [rsp + 0xf0]
mov r12, r10
sub r10, rdx
sar r10, 0x3f
and r10, r12
sub r11, r12
mov qword [rsp + 0xa0], r11
mov r13, qword [rsp + 0xe0]
add r10, r13
mov qword [rsp + 0xb8], r10
cmp r8, 0xc
jne 0x496f88
lea r8, [rsp + 0x80]
cmp rsi, r8
je 0x496f7b
mov r8, qword [rsi]
mov esi, dword [rsi + 8]
mov qword [rsp + 0x80], r8
mov dword [rsp + 0x88], esi
mov byte [rsp + 0x8f], 1
jmp 0x49706f
mov qword [rsp + 0x138], r8
lea rcx, [rax + 0x18]
mov qword [rsp + 0xc8], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
nop dword [rax]
call dbg.crypto/aes.gcmAesData
xorps xmm15, xmm15
mov r14, qword [0x007e3638]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0xc8]
mov qword [rsp], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 8], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call dbg.crypto/aes.gcmAesFinish
xorps xmm15, xmm15
mov r14, qword [0x007e3638]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x128]
mov r10, qword [rsp + 0xb8]
mov r11, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x90]
mov r13, qword [rsp + 0xe0]
mov rsi, qword [rax + 8]
test rsi, rsi
jbe 0x497438
mov rcx, qword [rax]
shr rsi, 2
lea rdx, [rsi - 1]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x10], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x18], rcx
call dbg.crypto/aes.encryptBlockAsm
xorps xmm15, xmm15
mov r14, qword [0x007e3638]
mov r14, qword gs:[r14]
mov r14, qword [r14]
movups xmmword [rsp + 0x70], xmm15
mov rax, qword [rsp + 0x110]
lea rcx, [rax + 0x18]
mov qword [rsp + 0xc8], rcx
mov qword [rsp], rcx
mov rdx, qword [rsp + 0xf8]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0x100]
mov qword [rsp + 0x10], rdx
mov rbx, qword [rsp + 0x108]
mov qword [rsp + 0x18], rbx
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
call dbg.crypto/aes.gcmAesData
xorps xmm15, xmm15
mov r14, qword [0x007e3638]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x120]
lea rbx, [rcx + rax]
mov qword [rsp + 0x98], rbx
nop
mov rdx, qword [rsp + 0x128]
cmp rdx, rbx
jl 0x49715e
jb 0x497430
mov rsi, qword [rsp + 0x118]
jmp 0x497190
lea rax, [0x00619580]
mov rdi, qword [rsp + 0x118]
call dbg.runtime.makeslicecopy
mov rcx, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x98]
mov rdx, rbx
mov rsi, rax
mov rax, qword [rsp + 0x90]
cmp rcx, rbx
ja 0x497425
mov rdi, rdx
sub rdx, rcx
mov r8, rdx
neg rdx
sar rdx, 0x3f
and rcx, rdx
add rcx, rsi
test rax, rax
jne 0x4971be
mov rdx, qword [rsp + 0xe0]
jmp 0x49720a
mov rdx, qword [rsp + 0xe0]
cmp rdx, rcx
jne 0x4971d0
test rax, rax
jmp 0x49720a
mov r9, rcx
lea r10, [rdx + rax]
lea r10, [r10 - 1]
nop
nop dword [rax]
cmp r10, rcx
jb 0x497204
mov rcx, rdx
lea r10, [r9 + rax]
lea r10, [r10 - 1]
cmp r10, rdx
jae 0x49740f
test rax, rax
mov rdx, rcx
mov rcx, r9
jmp 0x49720a
test rax, rax
mov rcx, r9
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb0], rcx
je 0x4972b2
mov rbx, qword [rsp + 0x110]
mov rsi, qword [rbx]
mov rdi, qword [rbx + 8]
mov r9, qword [rbx + 0x10]
mov r10, qword [rsp + 0xc8]
mov qword [rsp], r10
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0xf0]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r9
call dbg.crypto/aes.gcmAesDec
xorps xmm15, xmm15
mov r14, qword [0x007e3638]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 8], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x20], rcx
call dbg.crypto/aes.gcmAesFinish
xorps xmm15, xmm15
mov r14, qword [0x007e3638]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x120]
cmp rcx, 0x10
ja 0x497405
mov rdx, qword [rsp + 0xa0]
nop dword [rax]
cmp rcx, rdx
jne 0x497336
mov rdx, qword [rsp + 0xb8]
xor eax, eax
xor ebx, ebx
jmp 0x4973ed
xor eax, eax
jmp 0x497376
mov rdi, qword [0x005ffa70]
mov rsi, qword [0x005ffa78]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0xd0
pop rbp
ret
mov rdi, qword [0x005ffa70]
mov rsi, qword [0x005ffa78]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0xd0
pop rbp
ret
cmp rax, 1
je 0x4973b4
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x497396
mov rax, qword [rsp + 0xb0]
call dbg.runtime.memclrNoHeapPointers
mov rdi, qword [0x005ffa70]
mov rsi, qword [0x005ffa78]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0xd0
pop rbp
ret
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
xor edi, edi
xor esi, esi
add rsp, 0xd0
pop rbp
ret
movzx r8d, byte [rsp + rax + 0x70]
movzx r9d, byte [rdx + rax]
xor r8d, r9d
inc rax
or ebx, r8d
cmp rax, rcx
jl 0x4973d9
movzx eax, bl
dec eax
nop
shr eax, 0x1f
nop dword [rax + rax]
jmp 0x497376
mov edx, 0x10
call dbg.runtime.panicSliceAlen
lea rax, [0x00619500]
lea rbx, [0x00675240]
nop dword [rax]
call dbg.runtime.gopanic
mov rax, rcx
mov rcx, rbx
call dbg.runtime.panicSliceB
mov rcx, rbx
call dbg.runtime.panicSliceAcap
xor eax, eax
mov rcx, rax
nop dword [rax]
call dbg.runtime.panicIndex
mov rax, r10
mov rcx, r11
call dbg.runtime.panicSliceB
lea rax, [0x00619500]
lea rbx, [0x00675250]
nop
call dbg.runtime.gopanic
lea rax, [0x00619500]
lea rbx, [0x00675230]
call dbg.runtime.gopanic
nop
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
nop dword [rax]
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
jmp dbg.crypto/aes.(*gcmAsm).Open