Function at 0x61f180
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x78]
cmp r12, qword [r14 + 0x10]
jbe 0x61f96b
push rbp
mov rbp, rsp
sub rsp, 0xf0
mov qword [rsp + 0x100], rax
mov rcx, qword [rdx + 8]
mov rdi, qword [rdx + 0x10]
mov rsi, qword [rdx + 0x18]
mov qword [rsp + 0x70], rsi
mov r8, qword [rax]
mov r9, qword [rdx + 0x38]
mov qword [rsp + 0x30], r9
mov r10, qword [rdx + 0x40]
mov qword [rsp + 0x50], r10
mov r11, qword [rdx + 0x28]
mov qword [rsp + 0x38], r11
mov r12, qword [rdx + 0x30]
mov qword [rsp + 0x68], r12
mov r13, qword [rdx + 0x20]
mov qword [rsp + 0x78], r13
movzx r15d, byte [rdx + 0x48]
mov byte [rsp + 0x27], r15b
test r15b, r15b
mov ebx, 0xa
mov rdx, rax
lea rax, [0x006bfb29]
nop
call r8
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsi + 8]
mov rcx, qword [rsi]
mov rdx, qword [rsp + 0x100]
mov r8, qword [rdx]
test rdi, rdi
mov r9d, 3
cmove rdi, r9
lea r9, [0x006be841]
cmove rcx, r9
lea rax, [0x006bf0b0]
mov ebx, 7
nop
call r8
mov rsi, qword [rsp + 0x70]
cmp qword [rsi + 8], 7
jne 0x61f26b
mov r8, qword [rsi]
cmp dword [r8], 0x4e4e4f43
jne 0x61f26b
cmp word [r8 + 4], 0x4345
jne 0x61f26b
cmp byte [r8 + 6], 0x54
je 0x61f2bc
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rdx]
lea rax, [0x006bec24]
mov ebx, 5
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x38]
call rsi
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rdx]
mov r8, qword [rsp + 0x70]
mov r9, qword [r8 + 0x10]
mov rcx, qword [r9]
mov rdi, qword [r9 + 8]
lea rax, [0x006bf0b7]
mov ebx, 7
call rsi
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x61f2e9
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rdx]
lea rax, [0x006bf0a2]
mov ebx, 7
mov rcx, qword [rsp + 0x68]
call rsi
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsi + 0x38]
lea rdi, [rsp + 0x88]
lea rdi, [rdi - 0x20]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0046c5cb
mov rbp, qword [rbp]
lea rax, [0x006aaa00]
lea rcx, [rsp + 0x88]
call sym.runtime.mapiterinit
xor eax, eax
jmp 0x61f343
mov byte [rsp + 0x26], al
lea rax, [rsp + 0x88]
call sym.runtime.mapiternext
movzx ecx, byte [rsp + 0x26]
mov eax, ecx
mov byte [rsp + 0x26], al
mov rsi, qword [rsp + 0x88]
test rsi, rsi
je 0x61f37f
mov rbx, qword [rsi + 8]
mov rsi, qword [rsi]
nop
nop dword [rax]
cmp rbx, 4
jne 0x61f36d
xor ecx, ecx
jmp 0x61f4c4
nop
cmp rbx, 0xe
jne 0x61f54f
xor ecx, ecx
jmp 0x61f50d
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jg 0x61f402
jge 0x61f398
movzx esi, byte [rsp + 0x27]
test sil, sil
jmp 0x61f463
mov r8, qword [rsp + 0x70]
mov r9, qword [r8 + 8]
mov r8, qword [r8]
cmp r9, 3
jne 0x61f3d3
cmp word [r8], 0x5550
jne 0x61f3c6
cmp byte [r8 + 2], 0x54
je 0x61f402
movzx esi, byte [rsp + 0x27]
test sil, sil
jmp 0x61f463
movzx esi, byte [rsp + 0x27]
test sil, sil
jmp 0x61f463
cmp r9, 4
jne 0x61f3ec
cmp dword [r8], 0x54534f50
je 0x61f402
movzx esi, byte [rsp + 0x27]
test sil, sil
jmp 0x61f463
cmp r9, 5
jne 0x61f457
cmp dword [r8], 0x43544150
jne 0x61f44d
cmp byte [r8 + 4], 0x48
jne 0x61f443
mov rax, rsi
mov ebx, 0xa
call sym.strconv.FormatInt
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rdx]
mov rdi, rbx
mov ebx, 0xe
mov rsi, rax
lea rax, [0x006c107f]
mov r8, rcx
mov rcx, rsi
call r8
movzx ecx, byte [rsp + 0x27]
test cl, cl
movzx eax, byte [rsp + 0x26]
jmp 0x61f463
movzx esi, byte [rsp + 0x27]
test sil, sil
jmp 0x61f463
movzx esi, byte [rsp + 0x27]
test sil, sil
jmp 0x61f463
movzx esi, byte [rsp + 0x27]
nop dword [rax]
test sil, sil
je 0x61f48f
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rdx]
lea rax, [0x006c155e]
mov ebx, 0xf
lea rcx, [0x006bea6b]
mov edi, 4
call rsi
movzx eax, byte [rsp + 0x26]
test al, al
jne 0x61f4b8
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rdx]
lea rax, [0x006bfb15]
mov ebx, 0xa
lea rcx, [0x006c275c]
mov edi, 0x12
call rsi
add rsp, 0xf0
pop rbp
ret
inc rcx
cmp rcx, 4
jge 0x61f32b
movzx r8d, byte [rcx + rsi]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x61f4e1
add r8d, 0x20
lea r9, [0x006bea57]
movzx r9d, byte [r9 + rcx]
lea r10d, [r9 - 0x41]
cmp r10b, 0x19
ja 0x61f500
add r9d, 0x20
nop dword [rax + rax]
cmp r8b, r9b
je 0x61f4c1
jmp 0x61f36d
inc rcx
cmp rcx, 0xe
jge 0x61f32b
movzx r8d, byte [rcx + rsi]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x61f52a
add r8d, 0x20
lea r9, [0x006c107f]
movzx r10d, byte [r9 + rcx]
lea r11d, [r10 - 0x41]
nop word [rax + rax]
cmp r11b, 0x19
ja 0x61f54a
add r10d, 0x20
cmp r8b, r10b
je 0x61f50a
nop
cmp rbx, 0xa
jne 0x61f59c
xor ecx, ecx
jmp 0x61f560
inc rcx
nop dword [rax]
cmp rcx, 0xa
jge 0x61f32b
movzx r8d, byte [rcx + rsi]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x61f57d
add r8d, 0x20
lea r9, [0x006bfb33]
movzx r9d, byte [r9 + rcx]
lea r10d, [r9 - 0x41]
cmp r10b, 0x19
ja 0x61f597
add r9d, 0x20
cmp r8b, r9b
je 0x61f55a
nop
nop dword [rax]
cmp rbx, 0x10
jne 0x61f5ef
xor ecx, ecx
jmp 0x61f5ad
inc rcx
cmp rcx, 0x10
jge 0x61f32b
movzx r8d, byte [rcx + rsi]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x61f5ca
add r8d, 0x20
lea r9, [0x006c1b53]
movzx r9d, byte [r9 + rcx]
lea r10d, [r9 - 0x41]
nop word [rax + rax]
cmp r10b, 0x19
ja 0x61f5ea
add r9d, 0x20
cmp r8b, r9b
je 0x61f5aa
nop
cmp rbx, 0x11
jne 0x61f63c
xor ecx, ecx
jmp 0x61f600
inc rcx
nop dword [rax]
cmp rcx, 0x11
jge 0x61f32b
movzx r8d, byte [rcx + rsi]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x61f61d
add r8d, 0x20
lea r9, [0x006c21e1]
movzx r9d, byte [r9 + rcx]
lea r10d, [r9 - 0x41]
cmp r10b, 0x19
ja 0x61f637
add r9d, 0x20
cmp r8b, r9b
je 0x61f5fa
nop dword [rax]
cmp rbx, 7
je 0x61f64c
cmp rbx, 0xa
jmp 0x61f693
xor ecx, ecx
jmp 0x61f653
inc rcx
cmp rcx, 7
jge 0x61f32b
movzx r8d, byte [rcx + rsi]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x61f670
add r8d, 0x20
lea r9, [0x006bf0be]
movzx r9d, byte [r9 + rcx]
lea r10d, [r9 - 0x41]
cmp r10b, 0x19
ja 0x61f68a
add r9d, 0x20
cmp r8b, r9b
je 0x61f650
cmp rbx, 0xa
nop
jne 0x61f6e0
xor ecx, ecx
jmp 0x61f6a0
inc rcx
nop dword [rax]
cmp rcx, 0xa
jge 0x61f32b
movzx r8d, byte [rcx + rsi]
lea r9d, [r8 - 0x41]
cmp r9b, 0x19
ja 0x61f6bd
add r8d, 0x20
lea r9, [0x006bfb1f]
movzx r9d, byte [r9 + rcx]
lea r10d, [r9 - 0x41]
cmp r10b, 0x19
ja 0x61f6d7
add r9d, 0x20
cmp r8b, r9b
je 0x61f69a
cmp rbx, 0xa
mov r8, qword [rsp + 0x90]
mov r9, qword [r8 + 8]
mov r8, qword [r8]
nop
jne 0x61f732
xor ecx, ecx
jmp 0x61f6f9
inc rcx
cmp rcx, 0xa
jge 0x61f745
movzx r10d, byte [rcx + rsi]
lea r11d, [r10 - 0x41]
cmp r11b, 0x19
ja 0x61f712
add r10d, 0x20
lea r11, [0x006bfb15]
movzx r12d, byte [r11 + rcx]
lea r13d, [r12 - 0x41]
cmp r13b, 0x19
ja 0x61f72d
add r12d, 0x20
cmp r10b, r12b
je 0x61f6f6
cmp rbx, 6
jne 0x61f7d9
xor ecx, ecx
nop
jmp 0x61f7e6
test r9, r9
jne 0x61f754
mov eax, 1
jmp 0x61f32b
cmp qword [r8 + 8], 0
jne 0x61f765
mov eax, 1
jmp 0x61f32b
mov eax, 1
mov ecx, 1
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x80], rsi
mov byte [rsp + 0x26], cl
jmp 0x61f7cd
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xe8], r8
mov rcx, qword [r8]
mov rdi, qword [r8 + 8]
mov rdx, qword [rsp + 0x100]
mov r9, qword [rdx]
mov rax, rsi
call r9
mov r8, qword [rsp + 0xe8]
add r8, 0x10
mov rax, qword [rsp + 0x58]
dec rax
movzx ecx, byte [rsp + 0x26]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
test rax, rax
jg 0x61f782
mov eax, ecx
jmp 0x61f32b
mov rax, r9
movzx ecx, byte [rsp + 0x26]
jmp 0x61f76f
inc rcx
cmp rcx, 6
jge 0x61f840
movzx r10d, byte [rcx + rsi]
lea r11d, [r10 - 0x41]
cmp r11b, 0x19
ja 0x61f7ff
add r10d, 0x20
lea r11, [0x006bee30]
movzx r12d, byte [r11 + rcx]
lea r13d, [r12 - 0x41]
cmp r13b, 0x19
ja 0x61f81a
add r12d, 0x20
cmp r10b, r12b
je 0x61f7e3
nop
jmp 0x61f7d9
mov r8, qword [rsp + 0xe8]
add r8, 0x10
mov r9, qword [rsp + 0x58]
dec r9
movzx eax, byte [rsp + 0x26]
nop dword [rax]
test r9, r9
jle 0x61f32b
mov qword [rsp + 0x58], r9
mov qword [rsp + 0xe8], r8
mov rcx, qword [r8]
mov rdx, qword [r8 + 8]
jmp 0x61f89c
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x61f824
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rdx]
lea rax, [0x006bee30]
mov ebx, 6
mov rcx, qword [rsp + 0x60]
call rsi
jmp 0x61f824
sub r8, rsi
mov rdx, r8
neg r8
sar r8, 0x3f
and rsi, r8
add rcx, rsi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3b
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x009686c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x61f85f
mov rdx, qword [rsp + 0x28]
nop word [rax + rax]
cmp rdx, rcx
jb 0x61f965
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rdx]
lea rax, [0x006bee30]
mov ebx, 6
mov rdi, rcx
mov rcx, qword [rsp + 0x60]
call rsi
mov rsi, qword [rsp + 0x40]
inc rsi
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x28]
jmp 0x61f931
cmp rsi, r8
jbe 0x61f889
jmp 0x61f94a
mov rsi, rdx
lea rdx, [rsi + 1]
cmp r8, rdx
jl 0x61f923
cmp rsi, r8
jae 0x61f955
movzx ebx, byte [rsi + rcx]
cmp bl, 0x20
je 0x61f92e
jmp 0x61f923
mov rax, rsi
mov rcx, r8
call sym.runtime.panicSliceB
mov rax, rsi
mov rcx, r8
nop dword [rax + rax]
call sym.runtime.panicIndex
call sym.runtime.panicSliceAlen
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack.abi0
mov rax, qword [rsp + 8]
jmp sym.net_http._http2ClientConn_.encodeHeaders.func1