Function at 0x634790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x634b8f
sub esp, 0x94
mov eax, 0
mov dword [esp + 0x90], eax
mov byte [esp + 0x33], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov ebx, dword [eax]
mov dword [esp + 0x5c], ebx
test byte [ebx], al
lea ebp, [ebx + 0xc0]
mov dword [esp + 0x6c], ebp
mov dword [esp], ebp
call sym.sync._Mutex_.Lock
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [sym.net_http._http2clientStream_.encodeAndWriteHeaders.func1]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x90], eax
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [edx + 0x14]
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 4]
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00468b1a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov byte [esp + 0x14], 0
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x63496f
je 0x63493e
cmp eax, 1
jne 0x63490c
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [0x8b2a38]
mov ecx, dword [0x8b2a3c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call sym.net_http.http2commaSeparatedTrailers
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
jne 0x634b56
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x9c]
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x6349e7
lea ebp, [0x739c30]
cmp ebx, ebp
je 0x6349b2
xor ebx, ebx
jmp 0x6349ec
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [0x8e2480]
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [esp + 0x9c]
jmp 0x6349ec
mov ebx, 1
test bl, bl
je 0x6349f6
xor ebp, ebp
xor ebx, ebx
jmp 0x634a20
mov ebx, dword [eax + 0x2c]
mov ebp, dword [eax + 0x30]
test ebp, ebp
xchg esi, ebx
setne bl
xchg esi, ebx
test ebx, ebx
xchg edi, ebx
setne bl
xchg edi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x634a20
mov ebp, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x98]
movzx edi, byte [esi + 0x64]
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], eax
xchg edi, eax
mov byte [esp + 8], al
xchg edi, eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
call sym.net_http._http2ClientConn_.encodeHeaders
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
test ecx, ecx
setne cl
mov edx, dword [esp + 0x34]
test edx, edx
setne dl
or ecx, edx
test eax, eax
jne 0x634b29
test cl, cl
je 0x634a81
xor eax, eax
jmp 0x634a8a
mov eax, dword [esp + 0x3c]
test eax, eax
sete al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov byte [ebp + 0xc9], 1
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x5c]
mov ebp, dword [edi + 0xa4]
mov dword [esp], edi
mov dword [esp + 4], esi
mov byte [esp + 8], al
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
call sym.net_http._http2ClientConn_.writeHeaders
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x634b04
mov eax, dword [eax + 0x34]
test eax, eax
je 0x634b04
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [eax]
mov edx, eax
call ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
add esp, 0x94
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http._http2clientStream_.encodeAndWriteHeaders