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

Disassembly:
mov ecx, dword [0x8e25d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc4]
cmp eax, dword [ecx + 8]
jbe 0x5fcdd7
sub esp, 0x144
mov ebx, dword [esp + 0x15c]
mov ebp, dword [ebx + 0x10]
cmp ebp, 4
jl 0x5fca3c
mov esi, dword [ebx + 0xc]
cmp byte [esi], 3
jne 0x5fca00
movzx edi, byte [esi + 3]
lea ecx, [edi + 4]
cmp ebp, ecx
jl 0x5fc9df
mov edx, dword [ebx + 0x14]
cmp edx, ecx
jb 0x5fcdd1
cmp ecx, 4
jb 0x5fcdc7
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea eax, [edx - 4]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 4
sub edx, edi
mov dword [esp + 0x64], edx
sub ebp, edi
add edx, 0xfffffffc
mov dword [esp + 0x40], edx
neg edx
sar edx, 0x1f
and edx, ecx
mov dword [esp + 0x60], edx
lea ecx, [ebp - 4]
add eax, esi
add edx, esi
cmp ecx, 2
jl 0x5fc9be
mov dword [esp + 0x3c], ecx
movzx ecx, word [esi + 1]
rol cx, 8
nop
cmp cx, 0x18
ja 0x5fc546
cmp cx, 0x17
je 0x5fc556
cmp cx, 0x18
je 0x5fc556
jmp 0x5fc982
cmp cx, 0x19
je 0x5fc556
cmp cx, 0x1d
jne 0x5fc982
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x14c]
mov esi, dword [edx]
test esi, esi
je 0x5fc589
mov edx, dword [edx + 4]
jmp 0x5fc595
mov esi, dword [0x8bc3d0]
mov edx, dword [0x8bc3d4]
mov dword [esp], esi
mov dword [esp + 4], edx
mov word [esp + 8], cx
call sym.crypto_tls.generateECDHEKey
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5fc965
mov eax, dword [esp + 0x148]
test byte [eax], al
mov ecx, dword [0x8e2900]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x5fc5d6
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [esp + 0x110], edx
mov dword [eax + 4], edx
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edx + 4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5fc944
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x110]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.crypto_ecdh._PrivateKey_.ECDH
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x148]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, dword [0x8e2900]
test eax, eax
je 0x5fc65f
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov dword [ebp + 0xc], edx
test ebx, ebx
jne 0x5fc923
mov eax, dword [esp + 0x110]
lea ecx, [eax + 0x1c]
nop
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
lea edx, [sym.crypto_tls._ecdheKeyAgreement_.processServerKeyExchange._PrivateKey_.PublicKey.func1]
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], eax
mov dword [esp], ecx
lea ecx, [esp + 0x118]
mov dword [esp + 4], ecx
call sym.sync._Once_.Do
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xfc], eax
nop
mov dword [esp + 0x73], 0
lea edi, [esp + 0x74]
xor eax, eax
call fcn.00468aff
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
cmp edx, 0x85
ja 0x5fc6f4
mov ebx, edx
lea ebp, [esp + 0x73]
jmp 0x5fc73a
mov dword [esp + 0x50], edx
mov dword [esp + 0x114], ecx
lea eax, [esp + 0x73]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0x85
mov dword [esp + 0xc], edx
lea eax, [0x686a60]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x114]
mov ebx, dword [esp + 0x50]
mov ebp, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0xf8], ebp
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call sym.runtime.memmove
lea eax, [0x698860]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x8e2900]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5fc77a
mov eax, dword [esp + 0x148]
jmp 0x5fc78e
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x148]
mov edx, dword [eax + 8]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
lea ecx, [0x686a60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
lea edx, [ecx + 1]
mov dword [esp + 0x5c], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x5c]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov ebx, dword [0x8e2900]
test ebx, ebx
je 0x5fc7e1
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [ecx + 0xc]
mov dword [edi + 4], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 8]
mov ebx, dword [edx + 0x10]
test ebx, ebx
jbe 0x5fcdbe
mov edx, dword [edx + 0xc]
mov ebx, dword [esp + 0x34]
mov byte [edx], bl
mov edx, dword [eax + 8]
mov ebp, dword [edx + 0x10]
cmp ebp, 1
jb 0x5fcdb2
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
dec ebp
dec edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
cmp ebx, ebp
jl 0x5fc822
mov ebx, ebp
mov edx, dword [esp + 0xf8]
cmp edx, ecx
je 0x5fc844
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x148]
cmp word [eax], 0x303
jb 0x5fc8c8
mov ecx, dword [esp + 0x64]
add ecx, 0xfffffffa
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov ebx, dword [esp + 0x54]
add ebx, 0xfffffffa
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x108]
movzx ebp, word [esi + ebp]
mov edi, dword [esp + 0x104]
add ecx, edi
cmp ebx, 2
jl 0x5fc8a7
mov dword [esp + 0x104], ecx
rol bp, 8
mov edi, dword [esp + 0x150]
mov esi, dword [edi + 0x74]
mov edi, dword [edi + 0x78]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x64], eax
jmp 0x5fcd13
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.crypto_tls.legacyTypeAndHashFromPublicKey
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5fc906
movzx edx, byte [esp + 8]
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x104]
mov ebx, dword [esp + 0x40]
jmp 0x5fca5d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
lea eax, [0x6916c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6d0672]
mov dword [eax], ecx
lea ecx, [0x739240]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
add esp, 0x144
ret
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
lea eax, [0x6916c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6d0672]
mov dword [eax], ecx
lea ecx, [0x739240]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
add esp, 0x144
ret
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
cmp dl, 0xe1
jne 0x5fca69
mov esi, 1
jmp 0x5fca73
cmp dl, 0xe2
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, ebp
mov ebp, dword [esp + 0x148]
xchg esi, eax
cmp byte [ebp + 2], al
xchg esi, eax
jne 0x5fccd1
test eax, eax
jbe 0x5fccfe
cmp eax, 1
jbe 0x5fccf2
movzx esi, word [ecx]
rol si, 8
movzx esi, si
add esi, 2
cmp eax, esi
jne 0x5fccb0
mov byte [esp + 0x33], dl
mov dword [esp + 0x4c], edi
add ebx, 0xfffffffe
mov dword [esp + 0x40], ebx
neg ebx
sar ebx, 0x1f
and ebx, 2
add ecx, ebx
mov dword [esp + 0x104], ecx
lea ebx, [eax - 2]
mov dword [esp + 0x3c], ebx
xor eax, eax
lea edi, [esp + 0x120]
call fcn.00468b17
mov ecx, dword [esp + 0x150]
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], ecx
mov dword [esp + 0x120], eax
mov ecx, dword [esp + 0x154]
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x130], edi
mov dword [esp + 0x134], ecx
mov dword [esp + 0x12c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x140], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x138], ecx
movzx ecx, word [ebp]
mov byte [esp], dl
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov word [esp + 8], cx
lea ecx, [esp + 0x120]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call sym.crypto_tls.hashForServerKeyExchange
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x158]
mov esi, dword [ebp + 0x50]
mov ebp, dword [ebp + 0x54]
mov eax, ebx
movzx ebx, byte [esp + 0x33]
mov byte [esp], bl
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
call sym.crypto_tls.verifyHandshakeSignature
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x5fcc93
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6d476a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x32
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x100], ecx
lea edx, [0x6916c0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x8e2900]
test ecx, ecx
jne 0x5fcc68
mov ecx, dword [esp + 0x100]
jmp 0x5fcc76
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x100]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x739240]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
add esp, 0x144
ret
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
add esp, 0x144
ret
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
mov eax, dword [0x8b2da8]
mov ecx, dword [0x8b2dac]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
mov eax, 1
mov ecx, eax
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
inc eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
cmp eax, edi
jge 0x5fcd76
lea ecx, [esi + eax*2]
cmp word [ecx], bp
jne 0x5fcd07
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], edx
mov word [esp], bp
call sym.crypto_tls.typeAndHashFromSignatureScheme
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5fcd59
movzx edx, byte [esp + 4]
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x104]
mov ebx, dword [esp + 0x64]
jmp 0x5fca5d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x144
ret
lea eax, [0x6916c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6d5490]
mov dword [eax], ecx
lea ecx, [0x739240]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
add esp, 0x144
ret
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 4
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._ecdheKeyAgreement_.processServerKeyExchange