Function at 0x541980
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x541f99
push rbp
mov rbp, rsp
sub rsp, 0xd0
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x130], rsi
cmp qword [rax + 0x118], r8
jne 0x541f85
mov rdx, qword [rax + 0x120]
nop
cmp rdx, 0xc
jl 0x541f70
mov r10, qword [rsp + 0xe8]
cmp r10, rdx
jl 0x541e78
movabs r11, 0xfffffffe0
add r11, rdx
cmp r10, r11
ja 0x541e5a
mov r11, r10
sub r10, rdx
nop word [rax + rax]
cmp r11, r10
jb 0x541f65
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 0x541aa8
lea r8, [rsp + 0x80]
cmp rsi, r8
je 0x541a9b
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 0x541b8f
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 sym.crypto_aes.gcmAesData.abi0
xorps xmm15, xmm15
mov r14, qword [0x00726a80]
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 sym.crypto_aes.gcmAesFinish.abi0
xorps xmm15, xmm15
mov r14, qword [0x00726a80]
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 0x541f58
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 sym.crypto_aes.encryptBlockAsm.abi0
xorps xmm15, xmm15
mov r14, qword [0x00726a80]
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 sym.crypto_aes.gcmAesData.abi0
xorps xmm15, xmm15
mov r14, qword [0x00726a80]
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 0x541c7e
jb 0x541f50
mov rsi, qword [rsp + 0x118]
jmp 0x541cb0
lea rax, [0x0055d040]
mov rdi, qword [rsp + 0x118]
call sym.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 0x541f45
mov rdi, rdx
sub rdx, rcx
mov r8, rdx
neg rdx
sar rdx, 0x3f
and rcx, rdx
add rcx, rsi
test rax, rax
jne 0x541cde
mov rdx, qword [rsp + 0xe0]
jmp 0x541d2a
mov rdx, qword [rsp + 0xe0]
cmp rdx, rcx
jne 0x541cf0
test rax, rax
jmp 0x541d2a
mov r9, rcx
lea r10, [rdx + rax]
lea r10, [r10 - 1]
nop
nop dword [rax]
cmp r10, rcx
jb 0x541d24
mov rcx, rdx
lea r10, [r9 + rax]
lea r10, [r10 - 1]
cmp r10, rdx
jae 0x541f2f
test rax, rax
mov rdx, rcx
mov rcx, r9
jmp 0x541d2a
test rax, rax
mov rcx, r9
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb0], rcx
je 0x541dd2
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 sym.crypto_aes.gcmAesDec.abi0
xorps xmm15, xmm15
mov r14, qword [0x00726a80]
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 sym.crypto_aes.gcmAesFinish.abi0
xorps xmm15, xmm15
mov r14, qword [0x00726a80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x120]
cmp rcx, 0x10
ja 0x541f25
mov rdx, qword [rsp + 0xa0]
nop dword [rax]
cmp rcx, rdx
jne 0x541e56
mov rdx, qword [rsp + 0xb8]
xor eax, eax
xor ebx, ebx
jmp 0x541f0d
xor eax, eax
jmp 0x541e96
mov rdi, qword [0x006d8690]
mov rsi, qword [0x006d8698]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0xd0
pop rbp
ret
mov rdi, qword [0x006d8690]
mov rsi, qword [0x006d8698]
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0xd0
pop rbp
ret
cmp rax, 1
je 0x541ed4
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x541eb6
mov rax, qword [rsp + 0xb0]
call sym.runtime.memclrNoHeapPointers
mov rdi, qword [0x006d8690]
mov rsi, qword [0x006d8698]
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 0x541ef9
movzx eax, bl
dec eax
nop
shr eax, 0x1f
nop dword [rax + rax]
jmp 0x541e96
mov edx, 0x10
call sym.runtime.panicSliceAlen
lea rax, [0x0055cfc0]
lea rbx, [0x005d0d70]
nop dword [rax]
call sym.runtime.gopanic
mov rax, rcx
mov rcx, rbx
call sym.runtime.panicSliceB
mov rcx, rbx
call sym.runtime.panicSliceAcap
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov rax, r10
mov rcx, r11
call sym.runtime.panicSliceB
lea rax, [0x0055cfc0]
lea rbx, [0x005d0d80]
nop
call sym.runtime.gopanic
lea rax, [0x0055cfc0]
lea rbx, [0x005d0d50]
call sym.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 sym.runtime.morestack_noctxt.abi0
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 sym.crypto_aes._gcmAsm_.Open