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

Disassembly:
mov ecx, dword [0x9364f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f2ddf
sub esp, 0x40
lea eax, [0x6bd820]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x6c]
lea ebx, [ebp + ebx + 9]
mov dword [esp + 0x2c], ebx
mov dword [esp + 8], ebx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
nop
mov ecx, dword [esp + 0x2c]
cmp ecx, 2
jae 0x5f2b46
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
movzx edx, word [esp + 0x74]
mov ebx, edx
rol dx, 8
mov word [eax], dx
cmp ecx, 9
jb 0x5f2b60
mov edx, 9
jmp 0x5f2b9d
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ebx, word [esp + 0x74]
mov ebp, ecx
mov ecx, edx
mov edx, ebp
mov dword [eax + 2], 0x454b5048
mov dword [eax + 5], 0x31762d45
mov ebp, dword [esp + 0x4c]
lea esi, [ebp + edx]
cmp ecx, esi
jae 0x5f2bed
mov dword [esp + 0x28], edx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], eax
add edx, eax
mov dword [esp], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call sym.runtime.memmove
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x2c]
cmp ebx, edx
jb 0x5f2c28
mov ebp, dword [esp + 0x38]
jmp 0x5f2c62
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x2c]
cmp ebx, edx
jb 0x5f2c9d
mov ebp, dword [esp + 0x38]
jmp 0x5f2cd3
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x6bd820]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memmove
lea eax, [0x6bd820]
mov dword [esp], eax
movzx eax, word [esp + 0x74]
movzx eax, ax
mov dword [esp + 0x24], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0
lea ecx, [sym.crypto.Hash.New_fm]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
call sym.vendor_golang.org_x_crypto_hkdf.Expand
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
call eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f2dc6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x5f2dc6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
add esp, 0x40
ret
lea eax, [0x6bd7a0]
mov dword [esp], eax
lea eax, [0x771c10]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_internal_hpke._hkdfKDF_.LabeledExpand